codereview-mcp
by lukaisluka
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | Bind address for the MCP endpoint. | 0.0.0.0 |
| MCP_PORT | No | Port for the MCP endpoint. | 8000 |
| GITHUB_URL | No | GitHub or GHE root URL. | github.com |
| GITLAB_URL | No | GitLab root URL. | |
| MODEL_NAME | No | Model name; a litellm-style provider/ prefix is stripped automatically. | openai/deepseek-chat |
| GITHUB_TOKEN | No | GitHub token; optional for public repos, required for writes/GHE. | |
| GIT_PROVIDER | No | Startup hint; actual routing follows the pr_url shape. | gitlab |
| MCP_ENDPOINT | No | MCP endpoint path. | /mcp |
| CHUNK_SIZE_KB | No | Size threshold for splitting oversized diffs. | 24 |
| LLM_TIMEOUT_S | No | Per-call LLM timeout; keep at or above 180. | 240 |
| MAX_LLM_CHUNKS | No | Maximum number of LLM chunks in map-reduce review. | 10 |
| MCP_AUTH_TOKEN | No | Optional server-side bearer check; /health is exempt. | |
| OPENAI_API_KEY | No | API key for the OpenAI-compatible endpoint; may be empty for intranet hosts. | |
| LLM_CONCURRENCY | No | Number of parallel chunk reviews in map-reduce mode. | 4 |
| OPENAI_API_BASE | No | Any OpenAI-compatible endpoint. | |
| REVIEW_LANGUAGE | No | Language for report prose (summary and descriptions). | 中文 |
| MAX_DIFF_SIZE_KB | No | Maximum diff size to review before filtering/splitting. | 100 |
| NGINX_AUTH_TOKEN | No | Static bearer token enforced by the Nginx gateway in Docker compose deployments. | |
| GITLAB_PERSONAL_ACCESS_TOKEN | No | GitLab personal access token with API scope. |
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 issues