Online Judge MCP Server
by wangicheng
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OJ_URL | Yes | The URL of the Orange Juice Online Judge API server (e.g., http://localhost:8000). | |
| OJ_PASSWORD | Yes | Your password for the Orange Juice Online Judge. | |
| OJ_USERNAME | Yes | Your username for the Orange Juice Online Judge. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_problems | Fetch the list of problems from the Online Judge. Returns a JSON string containing total count and results. |
| list_my_submissions | Fetch the list of latest submissions made by the authenticated user. Returns a JSON string containing the submission histories. |
| get_problem_details | |
| submit_code | |
| get_submission_status | |
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
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/wangicheng/oj-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server