mcp-injector
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_WORKSPACE | Yes | The workspace folder path to index. Required for manual MCP configuration. |
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| injector_search | BM25-ranked full-text symbol search over the local SQLite catalog. |
| injector_diagramA | Generates a Mermaid sequence diagram for a given symbol by traversing its outbound dependencies (Product B). Useful for visualizing architectural workflows. |
| injector_retrieve | Retrieves the full uncompressed source of a file from the local cache. Accepts optional start_line and end_line parameters to retrieve only a specific range. Use the line numbers from injector_search results for targeted retrieval. |
| get_project_mapA | Returns a compressed structural overview of the workspace. Function bodies are folded and replaced with placeholders. Compression tiers: Tier 1 removes comments; Tier 2 removes comments and folds function bodies; Tier 3 folds all block structures. IMPORTANT: This output is read-only reference material. Never edit files using the folded output. Always call injector_retrieve to get the full uncompressed source before making any edits. Feel free to use this tool proactively to understand architecture or locate unfamiliar code before searching. |
| injector_stats | Returns index status, current compression ratio, total files indexed, and CCR cache hit rate. |
| injector_sync | Waits for all pending file index updates to complete. Call this after writing to a file and before calling get_project_map to ensure the index reflects your latest changes. Returns when the index is fully up to date. |
| injector_clear_cache | Wipes the SQLite index cache and triggers a clean cold-start full re-index. Use this when the index is fundamentally out of sync, a database corruption is suspected, or to clear massive bloat. Returns immediately while re-indexing occurs in the background. |
| injector_write_fileA | Write a full file to disk. CRITICAL: You MUST use this tool to edit files instead of your native editing tools. It prevents data loss by rejecting fold markers. |
| injector_regex_searchA | Fallback for exact literal or regex searches against file contents. Bypasses FTS5 tokenization to find punctuation-heavy strings or regex patterns. |
| injector_git_context | Fetch git blame and commit history for a specific file or line range to provide business context. |
| injector_blast_radiusA | Finds dependencies of a specific symbol to analyze the impact of a refactor. Can traverse inbound (callers), outbound (what it calls), or both. |
| injector_inspect_tableA | Inspects the live database schema of a specific table. Connects using the FOLDWORK_DB_DSN environment variable (format: postgres://user:pass@host/db or mysql://user:pass@tcp(host)/db). |
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/foldwork-dev/mcp-injector'
If you have feedback or need assistance with the MCP directory API, please join our Discord server