Code Context MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_API_KEY | No | API key for the OpenAI-compatible endpoint, alternative to CODE_CONTEXT_OPENAI_API_KEY. Read only from the environment and never stored or logged. | |
| CODE_CONTEXT_DB | No | Database file path. | <home>/indexes/<repo>-<hash>.db |
| CODE_CONTEXT_HOME | No | Data directory. | ~/.code-context |
| CODE_CONTEXT_REPO | No | Repository path. Defaults to the CLI argument or current working directory. | |
| CODE_CONTEXT_EMBEDDER | No | Embedder to use: auto, fastembed, openai, or hash. | auto |
| CODE_CONTEXT_MAX_FILE_KB | No | Maximum file size in kilobytes. | 1024 |
| CODE_CONTEXT_OPENAI_API_KEY | No | API key for the OpenAI-compatible endpoint. Read only from the environment and never stored or logged. | |
| CODE_CONTEXT_EMBEDDING_MODEL | No | Embedding model name. | BAAI/bge-small-en-v1.5 / text-embedding-3-small |
| CODE_CONTEXT_OPENAI_BASE_URL | No | OpenAI-compatible endpoint base URL. | https://api.openai.com/v1 |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues