mirror of
https://github.com/ArthurDanjou/artmcp.git
synced 2026-01-14 16:04:23 +01:00
[PR #5] [MERGED] Add MCP documentation page with API endpoints for content #4
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?
📋 Pull Request Information
Original PR: https://github.com/ArthurDanjou/artmcp/pull/5
Author: @Copilot
Created: 11/30/2025
Status: ✅ Merged
Merged: 11/30/2025
Merged by: @ArthurDanjou
Base:
master← Head:copilot/add-documentation-for-mcp📝 Commits (4)
8806ed4Initial plana99438fInitial progress report with plan377cab7Add MCP documentation page with tools, prompts and resourcesf6ab805Add API endpoints for content and update MCP resources to use them📊 Changes
22 files changed (+19124 additions, -110 deletions)
View changed files
📝
app/pages/index.vue(+116 -30)📝
content.config.ts(+4 -0)➕
content/documentation.md(+164 -0)➕
package-lock.json(+18731 -0)➕
server/api/contact.get.ts(+7 -0)➕
server/api/education.get.ts(+15 -0)➕
server/api/experiences.get.ts(+17 -0)➕
server/api/hobbies.get.ts(+7 -0)➕
server/api/languages.get.ts(+7 -0)➕
server/api/profile.get.ts(+7 -0)➕
server/api/projects.get.ts(+7 -0)➕
server/api/skills.get.ts(+7 -0)➕
server/api/uses.get.ts(+19 -0)📝
server/mcp/resources/contact.ts(+2 -6)📝
server/mcp/resources/education.ts(+1 -13)📝
server/mcp/resources/experiences.ts(+1 -15)📝
server/mcp/resources/hobbies.ts(+2 -6)📝
server/mcp/resources/languages.ts(+2 -6)📝
server/mcp/resources/profile.ts(+1 -5)📝
server/mcp/resources/projects.ts(+1 -5)...and 2 more files
📄 Description
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.