LeetCode MCP Server
by neslihana91
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LEETCODE_SITE | No | LeetCode API endpoint: `global` (leetcode.com) or `cn` (leetcode.cn) | global |
| LEETCODE_SESSION | No | LeetCode session cookie for authenticated API access (required for accessing private data such as notes, problem lists, and submissions) | |
| LEETCODE_HTTP_HOST | No | HTTP server host when using Streamable HTTP | 127.0.0.1 |
| LEETCODE_HTTP_PORT | No | HTTP server port when using Streamable HTTP | 3000 |
| LEETCODE_TRANSPORT | No | Transport mode: `stdio` or `http` | stdio |
| LEETCODE_HTTP_ENDPOINT | No | HTTP endpoint path when using Streamable HTTP | /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