Judge0 Ce MCP Server
English |Simplified Chinese| Traditional Chinese
MCP server used to access the Judge 0 Ce API.
🚀 Quickly experience using the EMCP platform
EMCP It is a powerful MCP server management platform that allows you to quickly use various MCP servers without manual configuration!
Quick Start:
- 🌐 visit EMCP platform
- 📝 Register and log in to your account
- 🎯 enter MCP SquareBrowse all available MCP servers
- 🔍 Search or find this server(
bach-judge0_ce) - 🎉 click Install MCP button
- ✅ Done! Can be used in your application
Advantages of the EMCP platform:
- ✨ Zero configurationNo need to manually edit configuration files
- 🎨 Visual managementEasily manage all MCP servers through a graphical interface
- 🔐 safe and reliableUnified management of API keys and authentication information
- 🚀 One-click installationMCP Square offers a wide range of server options
- 📊 Use statisticsReal time viewing of service invocation status
Visit Now EMCP platform Start your MCP journey!
______________________________________________________________________
Introduction
This is an MCP server used to access the Judge 0 Ce API.
- PyPI package name:
bach-judge0_ce - version: 1.0.0
- transmission protocol: stdio
install
Install from PyPI:
pip install bach-judge0_ceInstall from source code:
pip install -e .run
Method 1: Use UVX (recommended, no installation required)
# 运行(uvx 会自动安装并运行)
uvx --from bach-judge0_ce bach_judge0_ce
# 或指定版本
uvx --from bach-judge0_ce@latest bach_judge0_ceMethod 2: Direct Run (Development Mode)
python server.pyMethod 3: Run as a command after installation
# 安装
pip install bach-judge0_ce
# 运行(命令名使用下划线)
bach_judge0_ceconfiguration
API certification
This API requires authentication. Please set environment variables:
export API_KEY="your_api_key_here"environment variable
| Variable Name | Description | Required |
|---|---|---|
API_KEY | API Key | Yes |
PORT | Not applicable | No |
HOST | Not applicable | No |
Use in cursor
Edit cursor MCP configuration file ~/.cursor/mcp.json:
{
"mcpServers": {
"bach-judge0_ce": {
"command": "uvx",
"args": ["--from", "bach-judge0_ce", "bach_judge0_ce"],
"env": {
"API_KEY": "your_api_key_here"
}
}
}
}Using Claude Desktop
Edit Claude Desktop configuration file claude_desktop_config.json:
{
"mcpServers": {
"bach-judge0_ce": {
"command": "uvx",
"args": ["--from", "bach-judge0_ce", "bach_judge0_ce"],
"env": {
"API_KEY": "your_api_key_here"
}
}
}
}Available tools
This server provides the following tools:
about
Get general information.
endpoint: GET /about
______________________________________________________________________
create_a_batched_submission
Create multiple submissions at once.
endpoint: POST /submissions/batch
parameter:
base64_encoded(string): Example value:
______________________________________________________________________
get_a_batched_submission
Get multiple submissions at once.
endpoint: GET /submissions/batch
parameter:
tokens(string) *necessary*: Example value: dce7bbc5-a8c9-4159-a28f-ac264e48c371,1ed737ca-ee34-454d-a06f-bbc73836473e,9670af73-519f-4136-869c-340086d406db
base64_encoded(string): Example value:
fields(string): Return only the desired submission attributes. The default value for the fields parameter is stdout,time,memory,stderr,token,compile_output,message,status. Use * to receive all available attributes.
______________________________________________________________________
get_a_language
Get a language.
endpoint: GET /languages/{id}
parameter:
id(string) *necessary*: Example value: 52
______________________________________________________________________
get_a_submission
Get submission.
endpoint: GET /submissions/{token}
parameter:
base64_encoded(string): Example value:
fields(string): Return only the desired submission attributes. The default value for the fields parameter is stdout,time,memory,stderr,token,compile_output,message,status. Use * to receive all available attributes.
token(string) *necessary*: Example value: 2e979232-92fd-4012-97cf-3e9177257d10
______________________________________________________________________
get_configuration
Configuration information gives you detailed information about the configuration of Judge0.
endpoint: GET /config_info
______________________________________________________________________
get_languages
Get active languages.
endpoint: GET /languages
______________________________________________________________________
get_statuses
Get statuses.
endpoint: GET /statuses
______________________________________________________________________
create_a_submission
Creates new submission. Created submission waits in queue to be processed. On successful creation, you are returned a submission token which can be used to check submission status.
endpoint: POST /submissions
parameter:
base64_encoded(string): Example value:
wait(string): Example value:
fields(string): Return only the desired submission attributes. The default value for the fields parameter is stdout,time,memory,stderr,token,compile_output,message,status. Use * to receive all available attributes.
______________________________________________________________________
tech stack
- transmission protocol: stdio
- HTTP client: httpx
license
MIT License - see details LICENSE Document.
development
This server is composed of API-to-MCP Tool generation.
Version: 1.0.0
