Ctx MCP server
online · 100% uptimeio.github.vanshulgoyal101/ctx·v1.0.0·1 starsTurn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
1 stars
Reviews
Write oneNobody has reviewed Ctx yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Ctx tools (6)
write = sends, deletes, buys or postsget_fileFreeReturn the full text of a single file in a repository, by path. Use after list_files or search_context to drill in.
list_filesFreeList the text files ctx would include for a repository (after stripping binaries, lockfiles and build dirs), with their byte sizes. Cheap way for an agent to see the layout before packing.
pack_docsFreeCrawl a documentation site from a start URL and return it as one agent-ready context blob: each page extracted to clean Markdown, concatenated with its URL. Stays within the same site section; bounded by depth and page count. Use max_tokens to fit a budget.
pack_repoFreeFetch a GitHub repository and return it as one agent-ready context blob: text files concatenated with clear "==== path ====" headers, binaries/lockfiles/build dirs stripped, with a token estimate. Use include/exclude globs to focus, and max_tokens to fit a budget.
search_contextFreeSearch a GitHub repository and return only the passages that match a query — each with its file path, line number and a relevance score. Far more token-efficient than pack_repo when you need a specific detail (e.g. "where is auth handled?").
search_docsFreeCrawl a documentation site and return only the passages that match a query — each with its page URL, line and a relevance score. Token-efficient way to answer a question from docs without packing the whole site.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- –Code scanremote-only server, no package to scann/a
- Live reliabilityremote reachable in 662ms20/20
- Tool poisoning6 tool descriptions checked15/15
- Auth qualityopen endpoint, read-only tools10/15
- Maintenancelast push 20 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Ctx compares
Against every graded Developer tools MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 85% of 1,119 Developer tools servers
- Tools
- 6
- the typical Developer tools server has 7
- Tools that change things
- 0%
- typical: 5%. Fewer write tools means less an agent can break
- Uptime
- 100%
- of our recent checks; the typical remote Developer tools server answers 100%
- Response time
- 63 ms
- faster than 83% of 443 Developer tools servers
- GitHub stars
- 1
- more than 50% of 855 Developer tools servers
What its tools let an agent do: 6 read
Install Ctx in Claude Code, Cursor or VS Code
claude mcp add --transport http ctx https://ctx.vanshul.com/mcp
What the publisher says
From the Ctx repository's README, as published. We do not edit it. Read it on GitHub
ctx.vanshul.com
A public Model Context Protocol (MCP) server, running as a Cloudflare Worker, that turns a GitHub repository or a documentation site into agent-ready context. Point an AI agent at it and it can pack a whole repo (or crawl a docs site) into one token-counted blob — or search it and get back only the relevant passages, each with its file/URL and line.
It's the agent-first companion to mcp/: where mcp reads a single web page, ctx reads whole repos and doc sites. The repo pipeline fetches, gunzips and parses the tarball in-process; docs extraction reuses Mozilla Readability + Turndown.
Endpoint
POST https://ctx.vanshul.com/mcp # JSON-RPC 2.0 (MCP)
GET https://ctx.vanshul.com/health # { ok: true, tools: [...] }Tools
repo is owner/repo, owner/repo/ref, or a github.com URL. url (for the docs tools) is an absolute http(s) docs page to start crawling from.
Connect from an MCP client
{ "mcpServers": { "ctx": { "url": "https://ctx.vanshul.com/mcp" } } }Stdio-only clients bridge with npx mcp-remote https://ctx.vanshul.com/mcp.
Add it to your client
- Cursor — Settings → MCP → Add new server, or drop this into ~/.cursor/mcp.json:
{ "mcpServers": { "ctx": { "url": "https://ctx.vanshul.com/mcp" } } }- Claude Desktop — add the same block to claudedesktopconfig.json (Settings → Developer → Edit Config). If your version is stdio-only, use:
{ "mcpServers": { "ctx": { "command": "npx", "args": ["mcp-remote", "https://ctx.vanshul.com/mcp"] } } }- Continue / VS Code — add ctx with URL https://ctx.vanshul.com/mcp to your MCP servers config.
Try it with curl
# Pack a repo, capped to 8000 tokens
curl -s https://ctx.vanshul.com/mcp -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"pack_repo","arguments":{"repo":"sindresorhus/slugify","max_tokens":8000}}}'
# Search a repo for just the relevant passages
curl -s https://ctx.vanshul.com/mcp -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
"params":{"name":"search_context","arguments":{"repo":"sindresorhus/slugify","query":"replace separator"}}}'Layout
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Ctx: common questions
- Is Ctx MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the Ctx safety report
- How do I install Ctx?
- It runs remotely at ctx.vanshul.com. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does Ctx need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Ctx maintained?
- The last commit was 61 days ago (2026-09-04). The latest release is v1.0.0.
- Is Ctx up?
- 100% of our last 28 checks got an answer. We check remote servers about four times a day.
- What can I use instead of Ctx?
- Servers from other publishers that do the same job: GitHub MCP server, Gk CLI MCP server and OctoCounts MCP Server. Compare all Ctx alternatives.
- How does Ctx compare with other Developer tools MCP servers?
- safety score 91/100 (higher than 85% of 1,119 Developer tools servers); tools 6 (the typical Developer tools server has 7); tools that change things 0% (typical: 5%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Ctx
Same job from other publishers: the closest match first, then the best rated.
- GitHubConnect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.not reviewedEstablishedA
Gk CLIThe GitKraken MCP Server for managing repos, PRs, issues across GitHub, GitLab, Bitbucket and more.not reviewedEstablishedB- OctoCounts MCP ServerAnalyze and compare public GitHub repo line counts (SLOC) via OctoCounts, from any MCP client.not reviewedGrowingA
- GitDiagramArchitecture diagrams, explanations and Mermaid source for public GitHub repositories.not reviewedEstablishedA
- Agent HarnessesAgent-harness picks, decision guides, setup templates, and skills; live GitHub/HN discovery.not reviewedEstablishedA