token-context-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TOKEN_CONTEXT_CONFIG | No | Optional path to an explicit shared/portable TOML configuration file for the repository registry. By default, the registry is stored globally for the current user at %APPDATA%\token-context-mcp\repos.toml. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_repositoriesA | List registered repository IDs only. Call this first; roots are never exposed. |
| get_repo_mapA | Return ranked definitions for a repo_id from list_repositories within a bounded context budget. Compact entries are [short_id, path:line, kind/name, optional rank marker]; request format='full' for signatures, per-symbol evidence, and detailed rank_basis. Use for orientation, not proof of full coverage. |
| find_symbolsC | Find source-backed symbols by name or qualified-name fragment. Returns IDs and spans, never arbitrary files. |
| get_module_dependentsB | Return Tree-sitter-extracted lexical import relationships for one indexed path or module. This is not semantic import resolution or lexical call-graph inference; dynamic imports are flagged rather than resolved. |
| search_sourceA | Search indexed symbol bodies with FTS5 and return bounded source snippets, symbol IDs and line evidence. |
| get_file_skeletonA | Return imports and source-backed headers from one indexed repository-relative file. Function bodies are elided by default. |
| get_symbol_contextB | Return a bounded source packet around one indexed symbol and observed graph edges. Use original source when body, freshness or ambiguity requires it. |
| get_impact_sliceB | Traverse observed caller/callee edges from a symbol. It is a candidate impact slice, never a proof of complete blast radius. |
| get_index_statusA | Return active snapshot metadata and paths changed since indexing. Run before relying on graph results. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MCK564/token-context-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server