mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-14 14:14:22 +01:00
[PR #5] Add MCP documentation page with API endpoints for content #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/ArthurDanjou/artapi/pull/5
State: closed
Merged: Yes
Adds a documentation page for the ArtMCP server, displayed when accessing the MCP endpoint in a browser. Documents all available tools, prompts, and resources. Also adds REST API endpoints to fetch content and updates MCP resources to use these endpoints.
Changes
content/documentation.md- Comprehensive markdown documentation covering:content.config.ts- Addeddocumentationcollectionapp/pages/index.vue- Replaced hello page with documentation rendererNew API endpoints in
/server/api/:profile.get.ts- Profile informationcontact.get.ts- Contact informationskills.get.ts- Technical skillsexperiences.get.ts- Work experiences (sorted by startDate descending)education.get.ts- Education background (sorted by startDate descending)projects.get.ts- Projects portfoliolanguages.get.ts- Spoken languageshobbies.get.ts- Hobbies and interestsuses.get.ts- Tech stack and tools organized by categoryUpdated MCP resources - All 9 MCP resources (profile, contact, skills, experiences, education, projects, languages, hobbies, uses) now use
$fetch('/api/{endpoint}')instead of duplicating the query logic, ensuring consistency between REST API and MCP resources.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.