LearnNewsExamplesServices
Frontmatter
id7502
titleDesign Knowledge Base MCP Server API
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 16, 2025, 11:47 AM
updatedAtOct 16, 2025, 11:55 AM
githubUrlhttps://github.com/neomjs/neo/issues/7502
authortobiu
commentsCount0
parentIssue7501
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 16, 2025, 11:55 AM

Design Knowledge Base MCP Server API

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 16, 2025, 11:47 AM

This ticket covers the detailed API design for the new Knowledge Base MCP server. The server will replace the current npm run ai:query and npm run ai:build-kb scripts, providing a formal, structured interface for agents to query and manage the project's knowledge base.

This design must define a comprehensive, resource-oriented API for managing the documents and the database itself.

Acceptance Criteria

  1. A clear, resource-oriented API endpoint structure is designed.
  2. The following endpoints are defined with their request and response contracts:
    • GET /healthcheck: Confirms server health and DB connection.
    • POST /db/sync: Triggers the delta update and synchronization process (build & embed).
    • DELETE /db: Deletes the entire knowledge base collection.
    • POST /documents/query: The primary search endpoint.
    • GET /documents: (Optional) Lists all documents in the knowledge base.
    • GET /documents/:id: (Optional) Retrieves a specific document by its ID.
  3. The API design is formally documented in an OpenAPI 3.0 specification file at ai/mcp/server/knowledge-base/openapi.yaml.
tobiu assigned to @tobiu on Oct 16, 2025, 11:47 AM
tobiu added parent issue #7501 on Oct 16, 2025, 11:47 AM
tobiu added the enhancement label on Oct 16, 2025, 11:47 AM
tobiu added the ai label on Oct 16, 2025, 11:47 AM
tobiu referenced in commit 3579ae3 - "Design Knowledge Base MCP Server API #7502" on Oct 16, 2025, 11:54 AM
tobiu closed this issue on Oct 16, 2025, 11:55 AM