mle_kit_mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mle_kit_mcpgrep for 'learning_rate' in the project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MLE kit MCP
MCP server providing practical tools for ML engineering workflows, including local/remote bash, a text editor, file search, remote GPU helpers (via vast.ai), and an OpenRouter LLM proxy.
Features
bash: Run commands in an isolated Docker container mounted to your
WORKSPACE_DIR.text_editor: View and edit files and directories in your workspace with undo support.
glob / grep: Fast filename globbing and ripgrep-based content search.
remote_bash / remote_text_editor / remote_download: Execute and edit on a remote GPU machine and sync files to/from it.
llm_proxy_local / llm_proxy_remote: Launch an OpenAI-compatible proxy backed by OpenRouter locally (in the bash container) or on the remote GPU.
Requirements
Python 3.12+
Docker daemon available (for
bashtool)ripgrep (
rg) installed on the host (forgreptool)WORKSPACE_DIRshould be set with a path to working directoryOptional (for remote GPU tools): a
VAST_AI_KEYwith billing set up on vast.aiOptional (for LLM proxy tools): an
OPENROUTER_API_KEY
Related MCP server: AiDD MCP Server
Install
Using uv (recommended):
uv syncOr standard pip install:
python -m venv .venv && . .venv/bin/activate
pip install -e .Run the MCP server
Set a workspace directory and start the server. The MCP endpoint is served at /mcp.
WORKSPACE_DIR=/absolute/path/to/workdir uv run python -m mle_kit_mcp --port 5057Defaults:
PORTdefaults to5057if--portis not providedmount_path=/andstreamable_http_path=/mcp
Claude Desktop config
{
"mcpServers": {
"mle_kit": {
"command": "python3",
"args": [
"-m",
"mle_kit_mcp",
"--transport",
"stdio"
]
}
}
}Tools overview
bash(command, cwd=None, timeout=60): Runs inside a
python:3.12-slimcontainer with your workspace bind-mounted at/workdir. State persists between calls. Timeouts return a helpful message.text_editor(command, path, ...): Supports
view,write,append,insert,str_replace(with optionaldry_run), andundo_edit. Only relative paths under the workspace are allowed.glob(pattern, path=None): Returns matching files under the workspace (optionally under
path), sorted by modification time.grep(pattern, path=None, glob=None, output_mode=..., ...): ripgrep wrapper. Install
rgon the host to enable. Output modes:files_with_matches,content,count.remote_bash(command, timeout=60): Runs commands on a remote vast.ai instance. Manages lifecycle unless you supply an existing instance (see env vars below).
remote_download(file_path): Copies a file from the remote (
/root/<file_path>) to your workspace.remote_text_editor(...): Same API as
text_editor, but syncs the file(s) before and after edits to the remote.llm_proxy_local() / llm_proxy_remote(): Starts a small FastAPI OpenAI-compatible server backed by OpenRouter, returning a JSON string with
urlandscope.
Configuration (env vars)
All variables can be placed in a local .env file or exported in your shell.
WORKSPACE_DIR(required): Absolute path to your workspace directory.PORT(optional): Default server port (defaults to5057).
Remote GPU (vast.ai):
GPU_TYPE(default:RTX_3090)DISK_SPACE(GB, default:300)EXISTING_INSTANCE_ID(optional): Use an existing vast.ai instance instead of creating a new one.EXISTING_SSH_KEY(optional): Path to an SSH private key to use with the existing instance.VAST_AI_KEY(optional but required to launch new instances)
OpenRouter proxy:
OPENROUTER_API_KEY(optional but required for proxy tools)OPENROUTER_BASE_URL(default:https://openrouter.ai/api/v1)
Notes:
The remote GPU helper will generate an SSH key at
~/.ssh/id_rsaif one is missing, and attach it to the instance.Creating/destroying instances may incur cost; be mindful of environment defaults.
Development
Run tests:
make testLint / type-check / format:
make validateDocker
You can also build and run via the provided Dockerfile:
docker build -t mle_kit_mcp .
docker run --rm -p 5057:5057 \
-e PORT=5057 \
-e WORKSPACE_DIR=/workspace \
-v "$PWD/workdir:/workspace" \
mle_kit_mcpThis server cannot be deployed
Maintenance
Related MCP Connectors
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Develop, manage, and debug Railway projects, services, and deployments from within agents.
The OpenRouter MCP server plugs OpenRouter into the AI tools you already use. Once connected, your assistant can pull live OpenRouter data (models, prices, your credits, rankings, and docs) and send quick test messages, all without leaving your editor.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables comprehensive management of Vast.ai GPU cloud instances, including searching for GPU offers, creating and managing instances, executing remote commands via SSH, and monitoring background tasks for ML training workflows.12MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI-driven development tools including file system operations, multi-language code analysis with tree-sitter, Git operations, code execution, and system information retrieval.MIT
- AlicenseNot gradedqualityDmaintenanceProvides tools for AI-driven development workflows including file system operations, code analysis, code execution, web fetching, and search.Apache 2.0
- AlicenseAqualityDmaintenanceExposes local file I/O, a restricted shell whitelist, and SQLite helpers for safe integration with AI clients like Cursor and Claude Desktop.7MIT