context-router-daemon
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@teootoledo/context-router-daemon
A local MCP server that runs on a developer's machine and owns all filesystem access for the context-router system. It exposes a bulk_read_files tool to a coding agent: the agent asks for a batch of files by path and a query, the daemon reads their content off disk and forwards it to a remote context-router-backend instance, which condenses it into a short summary via a worker LLM. Raw file content never enters the calling agent's own context window — only the summary does.
This repo also owns the benchmark that measures the actual token savings of that round-trip against a real backend.
Install & run
npm install
npm start # runs the MCP server over stdio
npm test # tsx --test test/*.test.ts
npm run bench # measures token savings against a running backendDepends on @teootoledo/context-router-contract — see that repo for what it defines and why.
Node 22+. TypeScript runs through tsx, never node --experimental-strip-types — no Jest, no Vitest, no build step.
Known limitation: the package's bin entry points at raw TypeScript with no shebang, so npx @teootoledo/context-router-daemon does not yet work as a direct executable — use npm start for now. Supporting bare npx execution needs either a build step or a compiled shim, both a deliberate non-goal while this project stays tsx-only.
Related MCP server: HTTP Client MCP Server
Contributing
See CONTRIBUTING.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
Securely search and manage workspace context files for AI agents and teams.
Generate and read PDFs for AI agents: a generate_pdf and a read_pdf tool, priced per document.
Files to text for AI agents: audio/podcast transcription, OCR, video frames, screenshots, web to MD.
Convert PDFs, Office files, spreadsheets and images to clean Markdown, sized for agent context.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to read documents in Excel, DOCX, PDF, and TXT formats via MCP protocol.1123 PyPI23MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to explore, search, and read codebase repositories and API specifications efficiently, with support for file searching, content search via ripgrep, and reading API specs.19 npmISC
- FlicenseAqualityCmaintenanceEnables LLM hosts like Claude Code or Codex CLI to inspect folder structures and read unstructured documents (PDF, PPTX, DOCX, SVG, and images) by returning raw text and images for the host to summarize or analyze.2-
- AlicenseAqualityCmaintenanceEnables coding agents to offload reading and summarizing multiple large files to a cheaper worker LLM, keeping full file contents out of the main agent's context.19 npm1MIT