MCP Context Provider
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ENVIRONMENT | No | Environment-specific context loading (e.g., prod, dev) | |
| AUTO_LOAD_CONTEXTS | No | Whether to automatically load context files at startup | true |
| CONTEXT_CONFIG_DIR | No | Directory path containing the context configuration files | ./contexts |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_tool_contextA | Get complete context (rules, syntax, preferences) for a specific tool |
| get_syntax_rulesC | Get syntax-specific rules for a tool category |
| list_available_contextsA | List all loaded context categories and their descriptions |
| apply_auto_correctionsC | Apply auto-correction patterns from matching contexts to text |
| build_injectionB | Build a complete injection payload (contexts + instincts) for a tool/input combination |
| list_instinctsA | List loaded instincts with filtering and pagination. Returns {total, matched, returned, offset, store, items} where store reports the resolved instincts directory and how it was resolved. Use include_rules=false for compact listings when many instincts are loaded (MCP client UIs may truncate large responses around 40-50KB). |
| store_instinctA | Store a new instinct candidate. Created as inactive with auto approval — use approve_instinct for human approval. |
| approve_instinctA | Approve an instinct for active use (sets approved_by to human) |
| reject_instinctA | Reject/deactivate an instinct and lower its confidence |
| record_outcomeB | Record a positive, negative, or neutral outcome for an instinct |
| sync_instinctsA | Push all local YAML instincts to mcp-memory-service. Requires memory bridge to be configured and connected. |
| sync_contextsA | Push all loaded contexts to mcp-memory-service. A context with metadata.sync false is skipped. Requires the memory bridge to be configured and connected. |
| restore_contextsB | Pull contexts from mcp-memory-service and write them into CONTEXTS_PATH. Existing files are left untouched unless force is true, which keeps a .bak of the previous file. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 13 tools
Most tools target clearly distinct resources and actions, especially the instinct lifecycle versus context synchronization. Some overlap exists between get_tool_context, get_syntax_rules, and build_injection, since all retrieve or assemble context-related information, but the descriptions make their intended scopes reasonably separable.
All tool names use consistent snake_case with clear verb_noun or verb_adjective_noun patterns. The verbs and resource nouns are predictable and easy to parse across instincts, contexts, and rule operations.
With 13 tools, the server is well-scoped for context and instinct management without feeling bloated. Each tool maps to a distinct part of the workflow: listing, syncing, approving, rejecting, storing, recording outcomes, and building payloads.
The surface covers the main instinct lifecycle and context synchronization workflows, including approval, rejection, outcome recording, and injection building. Minor gaps exist, such as no obvious get_instinct or explicit instinct update/delete operation beyond approval/rejection, but core workflows are covered.