luogu-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LUOGU_MCP_TOKEN | No | Optional token for authentication on private deployments. | |
| LUOGU_MCP_ALLOWED_ORIGINS | No | Comma-separated list of allowed origins for browser access. Default is none. |
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
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| luogu_search_problemsA | Search Luogu problems by keyword. Use this before fetching a problem when you only know a topic or partial title. |
| luogu_fetch_problemA | Fetch a Luogu problem statement, formats, samples, tags, difficulty, and source URL by pid. |
| luogu_resolve_problemA | Resolve a Luogu problem from a URL, problem id, or title fragment, then fetch the problem details. |
| luogu_find_related_problemsA | Find related Luogu practice problems by mixing topic/pain-point recommendations with live keyword search. |
| luogu_list_algorithm_topicsA | List canonical algorithm topics, aliases, and known Luogu tag ids used by the high-level topic search route. |
| luogu_find_topic_problemsA | Find Luogu practice problems for an algorithm topic using aliases, known Luogu tag ids, deduplication, and match reasons. |
| luogu_search_problem_setsB | Search Luogu training/problem sets by keyword. |
| luogu_fetch_problem_setA | Fetch a Luogu training/problem set and its problem summaries by id. |
| luogu_recommend_problemsA | Recommend seed Luogu problems from a topic or student pain point, with search hints for further exploration. |
| luogu_get_user_profileA | Fetch public Luogu user profile data by uid. |
| luogu_get_capabilitiesA | Report which LeetCode-style route capabilities are available, auth-required, or planned for Luogu. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Kaiserunix/luogu-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server