mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 16:14:22 +01:00
Suppression des références aux certifications dans la documentation, la configuration et les endpoints API.
This commit is contained in:
@@ -15,7 +15,6 @@ The server exposes the following resources through the Model Context Protocol:
|
||||
- **🚀 Projects** (`resource://artmcp/projects`) - Portfolio of personal and professional projects
|
||||
- **🎓 Education** (`resource://artmcp/education`) - Academic background and degrees
|
||||
- **🌐 Languages** (`resource://artmcp/languages`) - Spoken languages with proficiency levels
|
||||
- **🏆 Certifications** (`resource://artmcp/certifications`) - Professional certifications and achievements
|
||||
- **👤 Profile** (`resource://artmcp/profile`) - Comprehensive profile with bio, location, availability, career goals, and work preferences
|
||||
- **🎨 Hobbies** (`resource://artmcp/hobbies`) - Personal interests and activities
|
||||
- **📞 Contact** (`resource://artmcp/contact`) - Professional contact information and social links
|
||||
@@ -116,7 +115,6 @@ All resources are also available as REST API endpoints:
|
||||
- `GET /api/projects`
|
||||
- `GET /api/educations`
|
||||
- `GET /api/languages`
|
||||
- `GET /api/certifications`
|
||||
- `GET /api/profile`
|
||||
- `GET /api/hobbies`
|
||||
- `GET /api/contact`
|
||||
@@ -149,7 +147,6 @@ Content is managed in the `content/` directory:
|
||||
content/
|
||||
├── skills.json # Technical skills
|
||||
├── languages.json # Spoken languages
|
||||
├── certifications.json # Professional certifications
|
||||
├── profile.json # Comprehensive profile info
|
||||
├── contact.json # Contact information
|
||||
├── hobbies.md # Personal interests
|
||||
|
||||
@@ -100,18 +100,6 @@ export default defineContentConfig({
|
||||
}))
|
||||
})
|
||||
}),
|
||||
certifications: defineCollection({
|
||||
type: 'page',
|
||||
source: 'certifications.json',
|
||||
schema: z.object({
|
||||
body: z.array(z.object({
|
||||
name: z.string(),
|
||||
issuer: z.string(),
|
||||
date: z.string(),
|
||||
url: z.string().url().optional()
|
||||
}))
|
||||
})
|
||||
}),
|
||||
profile: defineCollection({
|
||||
type: 'page',
|
||||
source: 'profile.md'
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
TODO: complete
|
||||
|
||||
{
|
||||
"body": [
|
||||
{
|
||||
"name": "Git & GitHub",
|
||||
"issuer": "GitHub Learning Lab",
|
||||
"date": "2021-06",
|
||||
"url": "https://github.com"
|
||||
},
|
||||
{
|
||||
"name": "Docker Essentials",
|
||||
"issuer": "Self-taught through practical experience",
|
||||
"date": "2021-09"
|
||||
},
|
||||
{
|
||||
"name": "Machine Learning Specialization",
|
||||
"issuer": "Various academic courses",
|
||||
"date": "2024-09"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
import { queryCollection } from '@nuxt/content/server'
|
||||
|
||||
export default defineCachedEventHandler(async (event) => {
|
||||
return await queryCollection(event, 'certifications')
|
||||
.where('extension', '=', 'json')
|
||||
.first()
|
||||
}, {
|
||||
name: 'certifications-list',
|
||||
maxAge: 3600 // 1 hour
|
||||
})
|
||||
@@ -218,25 +218,6 @@ function createServer() {
|
||||
}
|
||||
)
|
||||
|
||||
server.registerResource(
|
||||
'artmcp-certifications',
|
||||
'resource://artmcp/certifications',
|
||||
{
|
||||
title: 'Arthur Danjou - Certifications',
|
||||
description: 'Get Certifications and achievements of Arthur Danjou'
|
||||
},
|
||||
async (uri) => {
|
||||
const result = await $fetch('/api/certifications')
|
||||
return {
|
||||
contents: [{
|
||||
uri: uri.href,
|
||||
mimeType: 'application/json',
|
||||
text: JSON.stringify(result, null, 2)
|
||||
}]
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
server.registerResource(
|
||||
'artmcp-profile',
|
||||
'resource://artmcp/profile',
|
||||
@@ -496,25 +477,6 @@ function createServer() {
|
||||
}
|
||||
)
|
||||
|
||||
server.registerPrompt(
|
||||
'artmcp-certifications',
|
||||
{
|
||||
title: 'Get Certifications of Arthur Danjou',
|
||||
description: 'Get Certifications and achievements of Arthur Danjou'
|
||||
},
|
||||
async () => {
|
||||
return {
|
||||
messages: [{
|
||||
role: 'user',
|
||||
content: {
|
||||
type: 'text',
|
||||
text: `What certifications and professional achievements does Arthur Danjou have?`
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
server.registerPrompt(
|
||||
'artmcp-profile',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user