LeetCode MCP Server
by matthewxu63
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LEETCODE_SITE | No | LeetCode API endpoint. Use 'global' for leetcode.com or 'cn' for leetcode.cn. | global |
| LEETCODE_SESSION | No | LeetCode session cookie for authenticated API access (required for private/user-specific data). | |
| 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' (Streamable HTTP). | 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
ResponsivenessResponsive