vela-mcp
Click on "Install 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., "@vela-mcpwhat's the current CPU usage on the remote host?"
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.
Vela MCP Server
MCP (Model Context Protocol) server that exposes Vela RemotePC endpoints as tools, so AI clients (Claude Desktop, Cline, Cursor, Gemini, etc.) can control remote systems.
Architecture
The server supports two transport modes that share the same 150+ tool definitions (tools.py):
1. STDIO (single-tenant, per-process)
Each process is bound to one agent via environment variables. Run multiple agents by defining multiple entries in mcp_settings.json, each with its own env block.
MCP client config (cline_mcp_settings.json or claude_desktop_config.json):
{
"mcpServers": {
"vela-home": {
"command": "/path/to/.venv/bin/mcp",
"args": ["run", "vela_mcp/tools.py:mcp"],
"cwd": "/path/to/vela-mcp",
"env": {
"VELA_API_URL": "https://vela.mikesplore.tech",
"VELA_TOKEN": "<relay_secret>",
"AGENT_ID": "agt_123"
}
},
"vela-work": {
"command": "/path/to/.venv/bin/mcp",
"args": ["run", "vela_mcp/tools.py:mcp"],
"cwd": "/path/to/vela-mcp",
"env": {
"VELA_API_URL": "https://vela.mikesplore.tech",
"VELA_TOKEN": "<relay_secret>",
"AGENT_ID": "agt_456"
}
}
}
}2. HTTP (multi-tenant, shared server)
A single server instance handles any number of agents. Create a scoped MCP connection with vela --mcp; it returns an opaque URL and a dedicated bearer credential:
MCP URL: https://mcp.mikesplore.tech/mcp/c_8f4a...
Authentication: Bearer <mcp-credential>The MCP credential is stored as a hash and can expire or be revoked independently of the Vela relay secret. The gateway resolves the connection to its agent and uses the relay secret internally. Neither agent_id nor relay_secret is accepted in the MCP URL.
Claude connectors select OAuth during setup. The gateway provides OAuth discovery, dynamic client registration, PKCE authorization, short-lived bearer access tokens, and rotating refresh tokens. During authorization, enter the MCP credential printed once by vela --mcp; supported clients can then renew access without asking for that credential again.
MCP tool safety
The gateway applies the same risk categories used by Vela’s assistant. Read-only tools execute immediately. Medium- and high-risk tools return a short-lived, single-use approval link and request_id instead of executing. Open the returned approval_url, approve once, then let the MCP client continue the exact pending request. The server claims and completes that request atomically, so duplicate continuations cannot execute the action twice. High-risk approvals also require the Vela ASSISTANT_ACTION_PIN when one was configured during connection creation.
Each MCP connection has a user-selected tool policy: strict (default) requires approval for medium/high-risk tools, read_only exposes only read-only tools, and open executes all exposed tools without MCP approval. Set MCP_TOOL_POLICY in the agent .env, or override one connection with vela --mcp --mcp-policy read_only.
Stdio mode also supports strict approvals. The first gated call starts a
loopback-only approval page on 127.0.0.1, returns a one-time local link, and
waits for the client to continue the request. The server never opens the
browser automatically and the page is not reachable from the network. Set
ASSISTANT_ACTION_PIN in the MCP environment if high-risk local approvals
should require a PIN.
How multi-tenancy works
vela-mcp stores scoped MCP connection records. It extracts only an opaque connection ID and a dedicated MCP credential from each request, then resolves the agent server-side.
velavps (the relay server) enforces isolation:
_verify_agent_access(agent_id, secret)rejects requests where the secret doesn't match the agent's registered secret, or where the agent belongs to another user.150+ tools are untouched — they call
vela_client.get/post/…which resolves to either the per-request or per-process client automatically.
Related MCP server: allcanuse-mcp
Quick Start
python -m vela_mcp.serverServer starts on http://0.0.0.0:8002 with the MCP endpoint at /mcp/{connection_id}.
Setup
Copy
.env.exampleto.envSet
VELA_API_URL— your Vela relay VPS host (e.g.https://vela.mikesplore.tech)For stdio mode: also set
VELA_TOKEN(relay secret) andAGENT_IDFor HTTP mode: you only need
VELA_API_URLandPORT; credentials come from the client
Run Script
./run.sh # start the MCP server (HTTP/streamable transport)
./run.sh dev # start the MCP Inspector (dev/testing UI)Project Layout
vela_mcp/
__init__.py
config.py # Settings (VELA_API_URL, VELA_TOKEN, AGENT_ID, PORT)
client.py # RelayConnection, VelaClient, per-request contextvar proxy
server.py # FastAPI app with scoped middleware at /mcp/{connection_id}
tools.py # 150+ MCP tool definitions (unchanged)Development
.venv/bin/mcp dev vela_mcp/tools.py:mcpRequirements
Python >= 3.10
mcp >= 1.0.0fastapi >= 0.110.0httpx >= 0.27.0pydantic-settings >= 2.0.0uvicorn >= 0.30.0
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that allows AI agents to remotely control Windows, Linux, and macOS systems via VNC. It provides tools for mouse and keyboard interaction, text input, and screen capturing.653056MIT
- AlicenseNot gradedqualityCmaintenanceA MCP server for Windows/Linux that provides 90+ tools enabling AI assistants to systematically manage local systems, including system probing, command execution, file editing, network diagnostics, and more.13MIT
- AlicenseNot gradedqualityDmaintenanceA production-grade MCP server designed for multi-tenant, authenticated, and observable AI agent systems, enabling secure tool execution across heterogeneous data sources.62MIT
- FlicenseNot gradedqualityCmaintenanceEnterprise MCP server providing a suite of tools including file, database, GitHub, Slack, calendar, email, vector search, and Python execution, with safe defaults and OpenAI integration for automatic tool selection.
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/mikesplore/vela-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server