io.github.vanshulgoyal101/ctx is an MCP server published by io.github.vanshulgoyal101, hosted at ctx.vanshul.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 6 tools, including pack_repo, search_context, list_files, get_file, pack_docs.
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
3 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Fetch 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.
| Parameter | Type | Description |
|---|---|---|
| ref | string | Optional branch, tag or commit SHA (defaults to the default branch). |
| repo * | string | A GitHub repo as "owner/repo" or a github.com URL. |
| exclude | array | Optional glob patterns (support **, *, ?). |
| include | array | Optional glob patterns (support **, *, ?). |
| max_tokens | number | Stop adding files once the estimate exceeds this many tokens. |
{
"name": "pack_repo",
"description": "Fetch 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.",
"inputSchema": {
"type": "object",
"required": [
"repo"
],
"properties": {
"ref": {
"type": "string",
"description": "Optional branch, tag or commit SHA (defaults to the default branch)."
},
"repo": {
"type": "string",
"description": "A GitHub repo as \"owner/repo\" or a github.com URL."
},
"exclude": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional glob patterns (support **, *, ?)."
},
"include": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional glob patterns (support **, *, ?)."
},
"max_tokens": {
"type": "number",
"description": "Stop adding files once the estimate exceeds this many tokens."
}
}
}
}Search 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?").
| Parameter | Type | Description |
|---|---|---|
| ref | string | Optional branch, tag or commit SHA (defaults to the default branch). |
| repo * | string | A GitHub repo as "owner/repo" or a github.com URL. |
| query * | string | Space-separated search terms; matching is case-insensitive. |
| exclude | array | Optional glob patterns (support **, *, ?). |
| include | array | Optional glob patterns (support **, *, ?). |
| max_matches | number | Max passages to return (1–50, default 5). |
| context_chars | number | Per-passage character budget (80–4000, default 500). |
{
"name": "search_context",
"description": "Search 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?\").",
"inputSchema": {
"type": "object",
"required": [
"repo",
"query"
],
"properties": {
"ref": {
"type": "string",
"description": "Optional branch, tag or commit SHA (defaults to the default branch)."
},
"repo": {
"type": "string",
"description": "A GitHub repo as \"owner/repo\" or a github.com URL."
},
"query": {
"type": "string",
"description": "Space-separated search terms; matching is case-insensitive."
},
"exclude": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional glob patterns (support **, *, ?)."
},
"include": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional glob patterns (support **, *, ?)."
},
"max_matches": {
"type": "number",
"description": "Max passages to return (1–50, default 5)."
},
"context_chars": {
"type": "number",
"description": "Per-passage character budget (80–4000, default 500)."
}
}
}
}List 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.
| Parameter | Type | Description |
|---|---|---|
| ref | string | Optional branch, tag or commit SHA (defaults to the default branch). |
| repo * | string | A GitHub repo as "owner/repo" or a github.com URL. |
| exclude | array | Optional glob patterns (support **, *, ?). |
| include | array | Optional glob patterns (support **, *, ?). |
{
"name": "list_files",
"description": "List 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.",
"inputSchema": {
"type": "object",
"required": [
"repo"
],
"properties": {
"ref": {
"type": "string",
"description": "Optional branch, tag or commit SHA (defaults to the default branch)."
},
"repo": {
"type": "string",
"description": "A GitHub repo as \"owner/repo\" or a github.com URL."
},
"exclude": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional glob patterns (support **, *, ?)."
},
"include": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional glob patterns (support **, *, ?)."
}
}
}
}Return the full text of a single file in a repository, by path. Use after list_files or search_context to drill in.
| Parameter | Type | Description |
|---|---|---|
| ref | string | Optional branch, tag or commit SHA (defaults to the default branch). |
| path * | string | File path within the repo. |
| repo * | string | A GitHub repo as "owner/repo" or a github.com URL. |
{
"name": "get_file",
"description": "Return the full text of a single file in a repository, by path. Use after list_files or search_context to drill in.",
"inputSchema": {
"type": "object",
"required": [
"repo",
"path"
],
"properties": {
"ref": {
"type": "string",
"description": "Optional branch, tag or commit SHA (defaults to the default branch)."
},
"path": {
"type": "string",
"description": "File path within the repo."
},
"repo": {
"type": "string",
"description": "A GitHub repo as \"owner/repo\" or a github.com URL."
}
}
}
}Crawl 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.
| Parameter | Type | Description |
|---|---|---|
| url * | string | The absolute http(s) URL to start crawling from (e.g. a docs index). |
| depth | number | How many link hops to follow (0–3, default 1). |
| max_pages | number | Max pages to fetch (1–30, default 10). |
| max_tokens | number | Stop adding pages once the estimate exceeds this many tokens. |
{
"name": "pack_docs",
"description": "Crawl 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.",
"inputSchema": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The absolute http(s) URL to start crawling from (e.g. a docs index)."
},
"depth": {
"type": "number",
"description": "How many link hops to follow (0–3, default 1)."
},
"max_pages": {
"type": "number",
"description": "Max pages to fetch (1–30, default 10)."
},
"max_tokens": {
"type": "number",
"description": "Stop adding pages once the estimate exceeds this many tokens."
}
}
}
}Crawl 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.
| Parameter | Type | Description |
|---|---|---|
| url * | string | The absolute http(s) URL to start crawling from. |
| depth | number | How many link hops to follow (0–3, default 1). |
| query * | string | Space-separated search terms; matching is case-insensitive. |
| max_pages | number | Max pages to fetch (1–30, default 10). |
| max_matches | number | Max passages to return (1–50, default 5). |
| context_chars | number | Per-passage character budget (80–4000, default 500). |
{
"name": "search_docs",
"description": "Crawl 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.",
"inputSchema": {
"type": "object",
"required": [
"url",
"query"
],
"properties": {
"url": {
"type": "string",
"description": "The absolute http(s) URL to start crawling from."
},
"depth": {
"type": "number",
"description": "How many link hops to follow (0–3, default 1)."
},
"query": {
"type": "string",
"description": "Space-separated search terms; matching is case-insensitive."
},
"max_pages": {
"type": "number",
"description": "Max pages to fetch (1–30, default 10)."
},
"max_matches": {
"type": "number",
"description": "Max passages to return (1–50, default 5)."
},
"context_chars": {
"type": "number",
"description": "Per-passage character budget (80–4000, default 500)."
}
}
}
}Tools to turn a GitHub repo into agent-ready context. Pass a repo as "owner/repo" or a github.com URL.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.