DeepSeek MCP Patch Worker
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEEPSEEK_API_KEY | Yes | Required API key for DeepSeek | |
| DEEPSEEK_BASE_URL | No | OpenAI-compatible API base URL | https://api.deepseek.com |
| DEEPSEEK_STATE_DIR | No | Directory for background task database | OS user state directory |
| DEEPSEEK_JOB_WORKERS | No | Number of background workers | 2 |
Capabilities
Features and capabilities supported by this server
| 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 |
|---|---|
| generate_patchA | Generate a validated candidate unified diff; this tool never edits the repository. Use deepseek-v4-pro for complex work and deepseek-v4-flash for routine changes. file_context should label each supplied file with its repository-relative path. allowed_paths is the exact list of files the returned patch may add, edit, or delete. On a repair round, send current file contents plus exact test/build failures. |
| review_patchC | Review an untrusted candidate patch and return a corrected replacement diff, or an empty patch when no correction is justified. |
| submit_patch_jobC | Submit a long-running streamed patch job and return a local job ID immediately. |
| get_patch_jobB | Return persisted status and aggregate stream progress for a background job. |
| get_patch_resultC | Return a persisted validated result, or the current non-terminal status. |
| cancel_patch_jobC | Request cooperative cancellation of a background streamed job. |
| get_capabilitiesB | Return local worker capabilities without calling DeepSeek. |
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
- 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/prelearn-code/deepseek-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server