mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 14:44:21 +01:00
feat: ajouter l'API de statistiques WakaTime et mettre à jour le point de terminaison dans l'outil MCP
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
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')
|
||||
const result = await $fetch('/api/stats')
|
||||
return {
|
||||
content: [{
|
||||
type: 'text',
|
||||
|
||||
Reference in New Issue
Block a user