Amélioration de la configuration du contenu et ajout de nouvelles ressources : mise à jour des collections de profil et de mathématiques, correction des types de fichiers, et ajustement des titres des ressources.

This commit is contained in:
2025-11-14 23:51:46 +01:00
parent f100b8fe04
commit 75a136fdba
10 changed files with 189 additions and 30 deletions

View File

@@ -203,7 +203,7 @@ function createServer() {
'artmcp-languages',
'resource://artmcp/languages',
{
title: 'ArtMCP Languages',
title: 'Arthur Danjou - Languages',
description: 'Get Languages spoken by Arthur Danjou with proficiency levels'
},
async (uri) => {
@@ -222,7 +222,7 @@ function createServer() {
'artmcp-certifications',
'resource://artmcp/certifications',
{
title: 'ArtMCP Certifications',
title: 'Arthur Danjou - Certifications',
description: 'Get Certifications and achievements of Arthur Danjou'
},
async (uri) => {
@@ -237,11 +237,30 @@ function createServer() {
}
)
server.registerResource(
'artmcp-mathematics',
'resource://artmcp/mathematics',
{
title: 'Arthur Danjou - Mathematics',
description: 'Get information about Arthur Danjou\'s background and knowledge in mathematics, including areas of expertise and academic achievements'
},
async (uri) => {
const result = await $fetch('/api/mathematics')
return {
contents: [{
uri: uri.href,
mimeType: 'application/json',
text: JSON.stringify(result, null, 2)
}]
}
}
)
server.registerResource(
'artmcp-profile',
'resource://artmcp/profile',
{
title: 'ArtMCP Profile',
title: 'Arthur Danjou - Profile',
description: 'Get comprehensive profile information of Arthur Danjou including bio, location, availability, career goals, and work preferences'
},
async (uri) => {
@@ -515,6 +534,25 @@ function createServer() {
}
)
server.registerPrompt(
'artmcp-mathematics',
{
title: 'Get Mathematical Background Knowledge of Arthur Danjou',
description: 'Get information about Arthur Danjou\'s background and knowledge in mathematics, including areas of expertise and academic achievements'
},
async () => {
return {
messages: [{
role: 'user',
content: {
type: 'text',
text: `Provide me information about Arthur Danjou's background and knowledge in mathematics, including areas of expertise and academic achievements.`
}
}]
}
}
)
server.registerPrompt(
'artmcp-profile',
{