
Citadel Mcp
Gives your AI coding agent a single `docs` tool that runs async code in a sandbox, letting it fetch documentation from multiple stacks in one round trip instead of making separate tool calls. Ships with Next.js, React, Turborepo, and Supabase docs out of the box, but it's built to be forked. Each stack you add contributes `<stack>_index()` and `<stack>_docs({ path })` to the sandbox SDK, plus there's a BM25 ranked search across all stacks. Reach for this when you want agents to efficiently grab framework docs, internal library references, or any markdown source without the usual MCP request overhead. The real win is packaging exactly the docs your team needs rather than using the starter set.
- GitHub stars
- 1
- tool
- 1
- transport
- STDIO
- last updated
- May 10, 2026
Tools
1 toolsPublic tool metadata for what this MCP can expose to an agent.
docsCode Mode tool that lets the agent write one async function per turn calling codemode.<stack>_docs(...) and codemode.<stack>_index() in a local Node sandbox.
Code Mode tool that lets the agent write one async function per turn calling codemode.<stack>_docs(...) and codemode.<stack>_index() in a local Node sandbox.
No parameter schema in public metadata yet.
Sponsors
Readme
Citadel MCP
A Code Mode MCP server that gives AI coding agents curated, per-stack documentation as typed tools.
Citadel is built to be forked and tailored. The hosted package ships with a small starter set of stacks, but the real value comes from packaging the docs your agents actually need. Each stack is a tiny module — adding one is mostly mechanical.
Getting Started
Requirements
- Node.js v20.19 or a newer latest maintenance LTS version
- npm or pnpm
Install with add-mcp
Install the MCP server for all your coding agents:
npx add-mcp citadel-mcp@latest
Add -y to skip the confirmation prompt and install to all detected agents already in use in the project directory. Add -g to install globally across all projects.
Manual installation
Add the following config to your MCP client:
Details
- Repository
- github.com/sustinbebustin/citadel-mcp
- Package
citadel-mcp- Transport
- STDIO
- Registry
- MCP registry, active