mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-14 17:44:22 +01:00
- 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.
15 lines
424 B
TypeScript
15 lines
424 B
TypeScript
export default defineMcpPrompt({
|
|
description: 'Generates a prompt to retrieve information about Arthur Danjou\'s personal hobbies, interests, and passions outside of professional work.',
|
|
handler: async () => {
|
|
return {
|
|
messages: [{
|
|
role: 'user',
|
|
content: {
|
|
type: 'text',
|
|
text: `What are the hobbies, interests and passions of Arthur Danjou?`
|
|
}
|
|
}]
|
|
}
|
|
}
|
|
})
|