Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEEPSEEK_API_KEYYesRequired API key for DeepSeek
DEEPSEEK_BASE_URLNoOpenAI-compatible API base URLhttps://api.deepseek.com
DEEPSEEK_STATE_DIRNoDirectory for background task databaseOS user state directory
DEEPSEEK_JOB_WORKERSNoNumber of background workers2

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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