mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-14 19:39:26 +01:00
Refactor MCP API: Remove deprecated endpoints and add new resource handlers
- Deleted old API endpoints for contact, education, experiences, hobbies, languages, profile, projects, skills, and uses. - Introduced new resource handlers for contact, education, experiences, hobbies, languages, profile, projects, skills, and uses with structured responses. - Added new MCP prompts for real-time activity, contact information, hobbies, languages, profile, projects, skills, stats, and status page. - Implemented tools for fetching real-time activity, resume links, coding stats, and weather information. - Removed legacy MCP server route and replaced it with a modular approach for better maintainability.
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
export default defineNuxtConfig({
|
||||
modules: ['@nuxthub/core', '@nuxt/eslint', '@nuxt/content'],
|
||||
|
||||
modules: [
|
||||
'@nuxthub/core',
|
||||
'@nuxt/eslint',
|
||||
'@nuxt/content',
|
||||
'@nuxtjs/mcp-toolkit'
|
||||
],
|
||||
|
||||
devtools: {
|
||||
enabled: true,
|
||||
@@ -29,6 +35,9 @@ export default defineNuxtConfig({
|
||||
},
|
||||
|
||||
future: { compatibilityVersion: 4 },
|
||||
experimental: {
|
||||
asyncContext: true
|
||||
},
|
||||
compatibilityDate: '2025-11-12',
|
||||
|
||||
nitro: {
|
||||
@@ -51,5 +60,10 @@ export default defineNuxtConfig({
|
||||
commaDangle: 'never'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
mcp: {
|
||||
name: 'ArtMCP',
|
||||
version: '1.0.0'
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user