LeetCode MCP Server
by hhayashi2889
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LEETCODE_SITE | No | LeetCode API endpoint site: `global` (leetcode.com) or `cn` (leetcode.cn). Command-line arguments take precedence over environment variables when both are specified. | global |
| LEETCODE_SESSION | No | LeetCode session cookie for authenticated API access. Required for user-specific data access (private data). Command-line arguments take precedence over environment variables when both are specified. | |
| LEETCODE_HTTP_HOST | No | HTTP server host when using Streamable HTTP transport. | 127.0.0.1 |
| LEETCODE_HTTP_PORT | No | HTTP server port when using Streamable HTTP transport. | 3000 |
| LEETCODE_TRANSPORT | No | Transport mode: `stdio` or `http`. Defaults to `stdio`. | stdio |
| LEETCODE_HTTP_ENDPOINT | No | HTTP endpoint path when using Streamable HTTP transport. | /mcp |
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
ActivityActive
ResponsivenessNo issues