Merge pull request #1 from ArthurDanjou/copilot/improve-mcp-server-naming

Improve MCP server metadata: fix naming, standardize titles, enhance descriptions
This commit is contained in:
2025-11-14 22:47:44 +01:00
committed by GitHub
2 changed files with 11368 additions and 49 deletions

11319
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -4,17 +4,17 @@ import { z } from 'zod'
function createServer() { function createServer() {
const server = new McpServer({ const server = new McpServer({
name: 'nuxt-ui', name: 'artmcp',
version: '1.0.0' version: '1.0.0'
}) })
// Ressources // Resources
server.registerResource( server.registerResource(
'artmcp-skills', 'artmcp-skills',
'resource://artmcp/skills', 'resource://artmcp/skills',
{ {
title: 'ArtMCP Skills', title: 'Arthur Danjou - Skills',
description: 'Complete list of skills of Arthur Danjou' description: 'A comprehensive list of technical skills, programming languages, frameworks, and tools mastered by Arthur Danjou'
}, },
async (uri) => { async (uri) => {
const result = await $fetch('/api/skills') const result = await $fetch('/api/skills')
@@ -32,8 +32,8 @@ function createServer() {
'artmcp-experiences', 'artmcp-experiences',
'resource://artmcp/experiences', 'resource://artmcp/experiences',
{ {
title: 'ArtMCP Experiences', title: 'Arthur Danjou - Professional Experiences',
description: 'Complete list of experiences of Arthur Danjou' description: 'A detailed list of Arthur Danjou\'s professional work experiences, including roles, companies, and responsibilities'
}, },
async (uri) => { async (uri) => {
const result = await $fetch('/api/experiences') const result = await $fetch('/api/experiences')
@@ -51,8 +51,8 @@ function createServer() {
'artmcp-projects', 'artmcp-projects',
'resource://artmcp/projects', 'resource://artmcp/projects',
{ {
title: 'ArtMCP Projects', title: 'Arthur Danjou - Projects Portfolio',
description: 'Complete list of projects of Arthur Danjou' description: 'A comprehensive collection of projects developed by Arthur Danjou, showcasing technical skills and achievements'
}, },
async (uri) => { async (uri) => {
const result = await $fetch('/api/projects') const result = await $fetch('/api/projects')
@@ -70,8 +70,8 @@ function createServer() {
'artmcp-uses', 'artmcp-uses',
'resource://artmcp/uses', 'resource://artmcp/uses',
{ {
title: 'ArtMCP Uses', title: 'Arthur Danjou - Tech Stack & Tools',
description: 'Complete list of uses of Arthur Danjou filtered by categories' description: 'A curated list of tools, software, and hardware used by Arthur Danjou, organized by categories (homelab, IDE, hardware, software)'
}, },
async (uri) => { async (uri) => {
const result = await $fetch('/api/uses') const result = await $fetch('/api/uses')
@@ -89,8 +89,8 @@ function createServer() {
'artmcp-education', 'artmcp-education',
'resource://artmcp/education', 'resource://artmcp/education',
{ {
title: 'ArtMCP Education', title: 'Arthur Danjou - Education & Academic Background',
description: 'Complete list of education of Arthur Danjou' description: 'Arthur Danjou\'s educational background, including degrees, institutions, and academic achievements'
}, },
async (uri) => { async (uri) => {
const result = await $fetch('/api/educations') const result = await $fetch('/api/educations')
@@ -108,8 +108,8 @@ function createServer() {
'artmcp-activity', 'artmcp-activity',
'resource://artmcp/activity', 'resource://artmcp/activity',
{ {
title: 'ArtMCP Activity', title: 'Arthur Danjou - Real-time Activity',
description: 'Get realtime activity of Arthur Danjou' description: 'Real-time current activity and status of Arthur Danjou, including what he\'s currently working on'
}, },
async (uri) => { async (uri) => {
const result = await $fetch('/api/activity') const result = await $fetch('/api/activity')
@@ -127,8 +127,8 @@ function createServer() {
'artmcp-wakatime', 'artmcp-wakatime',
'resource://artmcp/wakatime', 'resource://artmcp/wakatime',
{ {
title: 'ArtMCP Wakatime', title: 'Arthur Danjou - Coding Statistics',
description: 'Get Wakatime statistics of Arthur Danjou' description: 'Detailed coding statistics and analytics from WakaTime, including programming languages, time spent coding, and productivity metrics'
}, },
async (uri) => { async (uri) => {
const result = await $fetch('/api/wakatime') const result = await $fetch('/api/wakatime')
@@ -146,8 +146,8 @@ function createServer() {
'artmcp-contact', 'artmcp-contact',
'resource://artmcp/contact', 'resource://artmcp/contact',
{ {
title: 'ArtMCP Contact', title: 'Arthur Danjou - Contact Information',
description: 'Get Contact Information of Arthur Danjou' description: 'Contact details for Arthur Danjou, including email, social media profiles, and other communication channels'
}, },
async (uri) => { async (uri) => {
const result = await $fetch('/api/contact') const result = await $fetch('/api/contact')
@@ -162,11 +162,11 @@ function createServer() {
) )
server.registerResource( server.registerResource(
'artmcp-contact', 'artmcp-hobbies',
'resource://artmcp/hobbies', 'resource://artmcp/hobbies',
{ {
title: 'ArtMCP Hobbies', title: 'Arthur Danjou - Hobbies & Interests',
description: 'Get Hobbies Information of Arthur Danjou' description: 'Arthur Danjou\'s personal hobbies, interests, and passions outside of professional work'
}, },
async (uri) => { async (uri) => {
const result = await $fetch('/api/hobbies') const result = await $fetch('/api/hobbies')
@@ -184,8 +184,8 @@ function createServer() {
'artmcp-status_page', 'artmcp-status_page',
'resource://artmcp/status_page', 'resource://artmcp/status_page',
{ {
title: 'ArtMCP Status Page', title: 'Arthur Danjou - Homelab Status Page',
description: 'Get Status Page Activity of Arthur Danjou\'s Homelab including uptime and incidents, powered by UptimeKuma' description: 'Real-time status, uptime monitoring, and incident reports for Arthur Danjou\'s homelab infrastructure, powered by UptimeKuma'
}, },
async (uri) => { async (uri) => {
const result = await $fetch('/api/status_page') const result = await $fetch('/api/status_page')
@@ -203,11 +203,11 @@ function createServer() {
server.registerTool( server.registerTool(
'get_resume_link', 'get_resume_link',
{ {
title: 'Get Resume Link', title: 'Get Resume Download Link',
description: 'Provide a link to download Arthur Danjou\'s resume in the requested language.', description: 'Retrieves a direct download link to Arthur Danjou\'s professional resume in the specified language (English or French).',
inputSchema: { inputSchema: {
// @ts-expect-error - need to wait for support for zod 4 // @ts-expect-error - need to wait for support for zod 4
lang: z.enum(['en', 'fr']).describe('The language for the resume, \'en\' or \'fr\'.') lang: z.enum(['en', 'fr']).describe('The language for the resume: \'en\' for English or \'fr\' for French.')
} }
}, },
async ({ lang }: { lang: 'en' | 'fr' }) => { async ({ lang }: { lang: 'en' | 'fr' }) => {
@@ -222,11 +222,11 @@ function createServer() {
server.registerTool( server.registerTool(
'get_uses_by_category', 'get_uses_by_category',
{ {
title: 'Get Uses by Category', title: 'Get Tools by Category',
description: 'Retrieves uses Arthur Danjou uses filtered by a specific category.', description: 'Retrieves a filtered list of tools, software, and hardware used by Arthur Danjou for a specific category (homelab, IDE, hardware, or software).',
inputSchema: { inputSchema: {
// @ts-expect-error - need to wait for support for zod 4 // @ts-expect-error - need to wait for support for zod 4
categoryName: z.enum(['homelab', 'ide', 'hardware', 'software']).describe('The name of the category to filter uses by.') categoryName: z.enum(['homelab', 'ide', 'hardware', 'software']).describe('The category to filter by: \'homelab\', \'ide\', \'hardware\', or \'software\'.')
} }
}, },
async (params: { categoryName: 'homelab' | 'ide' | 'hardware' | 'software' }) => { async (params: { categoryName: 'homelab' | 'ide' | 'hardware' | 'software' }) => {
@@ -242,11 +242,11 @@ function createServer() {
server.registerPrompt( server.registerPrompt(
'artmcp-resume', 'artmcp-resume',
{ {
title: 'Get Resume of Arthur Danjou', title: 'Request Arthur Danjou\'s Resume',
description: 'Get Resume in French or English format of Arthur Danjou', description: 'Generate a prompt to retrieve Arthur Danjou\'s professional resume in English or French format.',
argsSchema: { argsSchema: {
// @ts-expect-error - need to wait for support for zod 4 // @ts-expect-error - need to wait for support for zod 4
lang: z.enum(['en', 'fr']).describe('The language for the resume, \'en\' or \'fr\'.') lang: z.enum(['en', 'fr']).describe('The language for the resume: \'en\' for English or \'fr\' for French.')
} }
}, },
async ({ lang }: { lang: 'en' | 'fr' }) => { async ({ lang }: { lang: 'en' | 'fr' }) => {
@@ -265,8 +265,8 @@ function createServer() {
server.registerPrompt( server.registerPrompt(
'artmcp-activity', 'artmcp-activity',
{ {
title: 'Get Realtime Activity of Arthur Danjou', title: 'Request Real-time Activity',
description: 'Get Realtime Activity of Arthur Danjou' description: 'Generate a prompt to retrieve Arthur Danjou\'s current real-time activity and status.'
}, },
async () => { async () => {
return { return {
@@ -284,8 +284,8 @@ function createServer() {
server.registerPrompt( server.registerPrompt(
'artmcp-wakatime', 'artmcp-wakatime',
{ {
title: 'Get Stats of Arthur Danjou', title: 'Request Coding Statistics',
description: 'Get Stats of Arthur Danjou powered by Wakatime' description: 'Generate a prompt to retrieve Arthur Danjou\'s coding statistics and analytics from WakaTime.'
}, },
async () => { async () => {
return { return {
@@ -303,8 +303,8 @@ function createServer() {
server.registerPrompt( server.registerPrompt(
'artmcp-contact', 'artmcp-contact',
{ {
title: 'Get Contact Information of Arthur Danjou', title: 'Request Contact Information',
description: 'Get Contact Information of Arthur Danjou' description: 'Generate a prompt to retrieve Arthur Danjou\'s contact details and communication channels.'
}, },
async () => { async () => {
return { return {
@@ -322,8 +322,8 @@ function createServer() {
server.registerPrompt( server.registerPrompt(
'artmcp-hobbies', 'artmcp-hobbies',
{ {
title: 'Get Hobbies Information of Arthur Danjou', title: 'Request Hobbies & Interests',
description: 'Get Hobbies Information of Arthur Danjou' description: 'Generate a prompt to learn about Arthur Danjou\'s personal hobbies, interests, and passions.'
}, },
async () => { async () => {
return { return {
@@ -341,8 +341,8 @@ function createServer() {
server.registerPrompt( server.registerPrompt(
'artmcp-projects', 'artmcp-projects',
{ {
title: 'Get Projects Done by Arthur Danjou', title: 'Request Projects Portfolio',
description: 'Get a list of projects done by Arthur Danjou' description: 'Generate a prompt to retrieve a comprehensive list of projects developed by Arthur Danjou.'
}, },
async () => { async () => {
return { return {
@@ -360,8 +360,8 @@ function createServer() {
server.registerPrompt( server.registerPrompt(
'artmcp-skills', 'artmcp-skills',
{ {
title: 'Get Skills of Arthur Danjou', title: 'Request Skills List',
description: 'Get a list of skills that Arthur Danjou masters' description: 'Generate a prompt to retrieve a comprehensive list of technical skills mastered by Arthur Danjou.'
}, },
async () => { async () => {
return { return {
@@ -379,11 +379,11 @@ function createServer() {
server.registerPrompt( server.registerPrompt(
'artmcp-get_uses_by_category', 'artmcp-get_uses_by_category',
{ {
title: 'Get Uses by Category', title: 'Request Tools by Category',
description: 'Retrieves uses Arthur Danjou uses filtered by a specific category.', description: 'Generate a prompt to retrieve tools and software used by Arthur Danjou, filtered by a specific category.',
argsSchema: { argsSchema: {
// @ts-expect-error - need to wait for support for zod 4 // @ts-expect-error - need to wait for support for zod 4
categoryName: z.enum(['homelab', 'ide', 'hardware', 'software']).describe('Type of project (dashboard, landing page, admin panel, etc.)') categoryName: z.enum(['homelab', 'ide', 'hardware', 'software']).describe('The category to filter by: \'homelab\', \'ide\', \'hardware\', or \'software\'.')
} }
}, },
async ({ categoryName }) => { async ({ categoryName }) => {
@@ -404,8 +404,8 @@ function createServer() {
server.registerPrompt( server.registerPrompt(
'artmcp-status_page', 'artmcp-status_page',
{ {
title: 'Get Status Page Activity of Arthur Danjou\'s Homelab', title: 'Request Homelab Status',
description: 'Get Status Page Activity of Arthur Danjou\'s Homelab including uptime and incidents, powered by UptimeKuma' description: 'Generate a prompt to retrieve the status page of Arthur Danjou\'s homelab, including uptime and incident reports.'
}, },
async () => { async () => {
return { return {