nomad-mcp
Allows interaction with a HashiCorp Nomad cluster, providing tools for reading cluster state (jobs, allocations, nodes, deployments) and optionally managing jobs by stopping, scaling, restarting allocations, and submitting job specs.
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., "@nomad-mcpwhat jobs are currently running?"
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.
nomad-mcp
An MCP server that exposes a HashiCorp Nomad cluster as tools for MCP-compatible AI agents — Claude Code, Claude Desktop, OpenCode, Cursor, etc. It speaks standard MCP over stdio, so any client that supports stdio MCP servers works out of the box.
Tools
Read-only, always available:
list_jobs,get_job,get_job_allocations,get_job_deployments,get_job_evaluationsget_allocation,get_allocation_logslist_nodes,get_nodelist_deployments,get_deploymentlist_namespaces
Write tools, disabled by default (see Write access):
stop_job— stop a job, optionally purge itscale_task_group— set a task group's countreschedule_allocation— stop a single allocation so Nomad reschedules it as a new allocation (POST /v1/allocation/:id/stop)restart_allocation— restart task(s) in an allocation in place, same allocation ID (POST /v1/client/allocation/:id/restart)register_job— submit a job from HCL or JSON (create or update)
Related MCP server: homelab-ai
Setup
Requires Node.js 18+.
npm install
cp .env.example .env # then edit .env with your Nomad address/tokenOr, if you use pixi and don't want a system Node install:
pixi run installConfiguration
Standard nomad CLI environment variables:
Variable | Default | Description |
|
| Nomad HTTP API address |
| (none) | ACL token, sent as |
| (none) | Default namespace applied when a tool call doesn't specify one |
|
| Skip TLS certificate verification |
| (none) | Path to a CA bundle for a private/internal CA |
Write access
Write tools are off by default. An agent connected to this server can only read cluster state until you explicitly opt in:
NOMAD_MCP_WRITE_MODE=onTo allow only specific write tools instead of all four:
NOMAD_MCP_WRITE_MODE=on
NOMAD_MCP_WRITE_TOOLS=stop_job,scale_task_groupSee AUTOMATION.md for recipes on using this to automate recurring Nomad tasks (health checks, auto-restart, scheduled scaling), including running an agent headlessly on a schedule instead of interactively.
Using it with an MCP client
The server is started as node /path/to/nomad-mcp/src/index.js, with config passed via environment variables. Point any MCP client's stdio server config at that command.
Claude Code:
claude mcp add nomad node /path/to/nomad-mcp/src/index.js \
--env NOMAD_ADDR=https://nomad.example.com \
--env NOMAD_TOKEN=your-tokenClaude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"nomad": {
"command": "node",
"args": ["/path/to/nomad-mcp/src/index.js"],
"env": {
"NOMAD_ADDR": "https://nomad.example.com",
"NOMAD_TOKEN": "your-token"
}
}
}
}OpenCode (opencode.json / ~/.config/opencode/opencode.json):
{
"mcp": {
"nomad": {
"type": "local",
"command": ["node", "/path/to/nomad-mcp/src/index.js"],
"environment": {
"NOMAD_ADDR": "https://nomad.example.com",
"NOMAD_TOKEN": "your-token"
}
}
}
}(Check OpenCode's current docs for the exact config key names if this has changed — the important part is that it runs the same stdio command with the same environment variables.)
Security notes
NOMAD_TOKENgrants whatever an ACL policy allows — scope it to a policy with only the access this server actually needs (read-only policy if you're not enabling write mode).Write mode lets a connected agent stop jobs, scale them, restart allocations, and submit new job specs. Only enable it for a token/environment you're comfortable an LLM acting autonomously could affect.
register_jobsubmits directly to/v1/jobswith no dry-run step — review what an agent intends to submit before asking it to call this tool against a production namespace.
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 Servers
- FlicenseAqualityFmaintenanceMCP server that exposes 300+ AI agents as tools via a single API key. Supports listing agents, invoking any agent with chat-completion style messages, checking agent health, and retrieving platform statistics.Last updated53
- Alicense-qualityAmaintenanceSelf-hosted AI orchestrator that monitors and manages homelab services, exposing them as MCP tools for LLMs to drive.Last updatedMIT
- AlicenseAqualityBmaintenanceProvides ops-focused n8n tools for MCP-compatible agents, enabling listing, inspecting, triggering, validating, managing tags, running security audits, and safely editing n8n workflows with auto-backup and confirm gates.Last updated20251MIT

Scout MCP Serverofficial
Alicense-qualityDmaintenanceEnables AI agents to interact with Scout Live platform capabilities through standardized MCP primitives, including tools for app management, deployment, and logging.Last updated14MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.
Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.
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/udaisingh93/nomad-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server