mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 20:29:26 +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.
13 lines
377 B
TypeScript
13 lines
377 B
TypeScript
export default defineMcpTool({
|
|
description: 'Detailed coding statistics and analytics from WakaTime, including programming languages, time spent coding, and productivity metrics',
|
|
handler: async () => {
|
|
const result = await $fetch('/api/wakatime')
|
|
return {
|
|
content: [{
|
|
type: 'text',
|
|
text: JSON.stringify(result, null, 2)
|
|
}]
|
|
}
|
|
}
|
|
})
|