Frontmatter
| id | 7401 |
| title | Design Knowledge Base MCP Server API |
| state | Closed |
| labels | enhancementhelp wantedgood first issuehacktoberfestai |
| assignees | Chesblaw |
| createdAt | Oct 7, 2025, 12:05 PM |
| updatedAt | Oct 24, 2025, 11:26 AM |
| githubUrl | https://github.com/neomjs/neo/issues/7401 |
| author | tobiu |
| commentsCount | 3 |
| parentIssue | 7399 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 24, 2025, 11:26 AM |
Design Knowledge Base MCP Server API
tobiu added parent issue #7399 on Oct 7, 2025, 12:05 PM

Chesblaw
Oct 8, 2025, 5:45 AM
@tobiu sup can you assign me

tobiu
Oct 8, 2025, 11:32 AM
Hi, and thanks for your interest. Sure, I can assign the ticket to you. Please look into the parent epic first, since it requires the new "AI Native" workflows: https://github.com/neomjs/neo/issues/7399
tobiu assigned to @Chesblaw on Oct 8, 2025, 11:32 AM

tobiu
Oct 24, 2025, 11:26 AM
Hi @Chesblaw,
Thank you for your interest in this ticket during Hacktoberfest.
As there has been no activity for a couple of weeks and the project's architecture has been evolving rapidly, the API for the Knowledge Base MCP server has now been designed and implemented.
We're closing this ticket now. Thanks again for your willingness to contribute, and we hope to see you in other issues!
tobiu closed this issue on Oct 24, 2025, 11:26 AM
This ticket covers the detailed API design for the new Knowledge Base MCP server. The server will replace the current
npm run ai:queryscript, providing a formal, structured interface for agents to query the project's knowledge base.This design must define a comprehensive, resource-oriented API for managing the documents and the database itself, ensuring consistency with the Memory Core MCP server.
Acceptance Criteria
GET /docs: Serves interactive API documentation (Swagger UI).GET /healthcheck: Confirms server health and DB connection.GET /documents: Lists all documents in the knowledge base.GET /documents/:id: Retrieves a specific document by its ID.POST /documents/query: The primary search endpoint.POST /db/sync: Triggers the delta update and synchronization process.DELETE /db: Deletes the entire knowledge base collection.buildScripts/mcp/knowledge/openapi.yaml.learn/guides/ai/directory, ready for implementation.Agent Instructions
To work on this ticket, please start your session with the following prompt: