Frontmatter
| id | 7403 |
| title | MCP Server: Implement Knowledge Server Scaffold |
| state | Closed |
| labels | enhancementhelp wantedgood first issuehacktoberfestai |
| assignees | thisis-gp |
| createdAt | Oct 7, 2025, 12:10 PM |
| updatedAt | Oct 24, 2025, 11:20 AM |
| githubUrl | https://github.com/neomjs/neo/issues/7403 |
| author | tobiu |
| commentsCount | 10 |
| parentIssue | 7399 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 24, 2025, 11:20 AM |
MCP Server: Implement Knowledge Server Scaffold

Hi, and thanks for your interest. Sure, I can assign the ticket to you. Make sure to read https://github.com/neomjs/neo/issues/7399 first. The work on this ticket is blocked, until the server is set up (phase 1 is completed).
You can explore the current implementation though already, e.g. after instructing the agent to follow the instructions inside the agents.md file, ask it: "use the ai knowledge db and explain what makes neo special."
You can also mention hacktoberfest and start a conversation => the agent can create new tickets.
Or you could also pick one of the phase 1 items.

heads up: i changed the file path from buildScripts/mcp/ to ai/mcp/server/, which feels better suited as the new location inside the repo.

FYI: the other MCP server scaffolding is completed. You might want to take a look at it, for feeding the agent with the files (saving time and getting consistency): https://github.com/neomjs/neo/tree/dev/ai/mcp/server/memory

Hey, is this ticket in progress? I'm afraid it's blocking the endpoint implementation tasks.

I don't know. I updated https://github.com/neomjs/neo/blob/dev/CONTRIBUTING.md with section 3.2, so that tickets can get reassigned in case there is no PR or ticket comment after one week.
@MannXo I started working on: https://github.com/neomjs/neo/issues/7477, especially this sub is important: https://github.com/neomjs/neo/issues/7487.
The idea is to keep Open API specs as the "single source of truth", but deriving tool specs from it. Tools might just be a subset of the full spec. This will be highly relevant for the 2 other MCP servers (memory core & knowledge base) too. We could create new subs for this epic already.
Unrelated brainstorming: Inside the agents file, we consume docs/output/class-hierarchy.yaml (over 500 lines), which feels wasteful from a token consumption perspective. Instead, we could add a new database (e.g. SQL) into the knowledge base server, and support queries to list all parent namespaces and file paths for a given class. This should also work for hacktoberfest tickets.

I don't know. I updated https://github.com/neomjs/neo/blob/dev/CONTRIBUTING.md with section 3.2, so that tickets can get reassigned in case there is no PR or ticket comment after one week.
@MannXo I started working on: #7477, especially this sub is important: #7487.
The idea is to keep Open API specs as the "single source of truth", but deriving tool specs from it. Tools might just be a subset of the full spec. This will be highly relevant for the 2 other MCP servers (memory core & knowledge base) too. We could create new subs for this epic already.
Unrelated brainstorming: Inside the agents file, we consume
docs/output/class-hierarchy.yaml(over 500 lines), which feels wasteful from a token consumption perspective. Instead, we could add a new database (e.g. SQL) into the knowledge base server, and support queries to list all parent namespaces and file paths for a given class. This should also work for hacktoberfest tickets.
Thanks @tobiu, that sounds very exciting. I'm happy to help with 7477 epic tickets. However, in terms of Hacktoberfest, I have secured more than enough PRs. I'm just genuinely interested in this project and wanted to contribute besides Hacktoberfest. So, if you are aiming to preserve these tickets to allow more people to contribute to Hacktoberfest, I'm happy to revisit this project after October. Let me know which works best.
Cheers.

Appreciated! The project could definitely use more contributors beyond the hacktoberfest scope. I would not recommend 7477 though, since I will most likely change the specs a lot on the fly => want to resolve it this week, since it is my biggest own bottleneck to better support others. My recommendation would be to work on the other 2 MCP servers, and feel free to create new tickets as needed.
We should be good for the hacktoberfest scope: we still have the unit testing, component based testing and component test ticket creation epics, and could literally add 100s of additional subs in there.

Hey @tobiu I'm happy to take care of this one since there doesn't seem to be any activity after 2 weeks. lmk if I can start working on this.

Hi @thisis-gp and @MannXo,
Thank you both for your interest in this ticket.
As there has been no PR for this foundational task and the project's architecture has been evolving rapidly, the scaffold for the Knowledge Base MCP server has now been implemented.
We're closing this ticket now. Thanks again for your willingness to contribute, and we hope to see you in other issues!
This is the foundational ticket for the new Knowledge Base MCP server. The task is to create the basic Node.js server application, set up the project structure, and implement the initial
/healthcheckendpoint.This ticket must be completed before any other endpoint implementation tickets for the knowledge server can be started.
Acceptance Criteria
ai/mcp/server/knowledge/directory.GET /healthcheckendpoint that returns a 200 OK status if it can successfully connect to the ChromaDB instance on port 8000.npm run ai:server-knowledge, is added topackage.jsonto start the server.swagger-ui-express) to serve interactive API documentation from the OpenAPI specification file at a/docsendpoint.Agent Instructions
To work on this ticket, please start your session with the following prompt: