LeetCode MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LEETCODE_SITE | No | LeetCode API site: `global` (leetcode.com) or `cn` (leetcode.cn). Default: `global`. Can also be set with the `--site` / `-s` command-line option. | global |
| LEETCODE_SESSION | No | LeetCode session cookie for authenticated API access. Default: empty. Can also be set with the `--session` / `-c` command-line option. | |
| LEETCODE_HTTP_HOST | No | HTTP server host when using Streamable HTTP. Default: `127.0.0.1`. Can also be set with the `--host` command-line option. | 127.0.0.1 |
| LEETCODE_HTTP_PORT | No | HTTP server port when using Streamable HTTP. Default: `3000`. Can also be set with the `--port` command-line option. | 3000 |
| LEETCODE_TRANSPORT | No | Transport mode: `stdio` or `http`. Default: `stdio`. Can also be set with the `--transport` / `-t` command-line option. | stdio |
| LEETCODE_HTTP_ENDPOINT | No | HTTP endpoint path when using Streamable HTTP. Default: `/mcp`. Can also be set with the `--endpoint` command-line option. | /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