by kocierik
Connects to HashiCorp Nomad and exposes Model Context Protocol endpoints for job, deployment, node, allocation, variable, volume, ACL, Sentinel, and cluster management via a Go‑based server.
Mcp Nomad Go provides a Golang‑implemented MCP server that interfaces with a Nomad cluster, allowing clients (e.g., Claude, Model Context Protocol inspectors) to perform full Nomad operations through standardized MCP calls.
npx
:
npx @kocierik/mcp-nomad
This will download and run the latest binary.NOMAD_ADDR
– URL of the Nomad HTTP API (default http://localhost:4646
).NOMAD_TOKEN
– optional ACL token for privileged actions.stdio
). Customise with flags:
npx @kocierik/mcp-nomad -nomad-addr http://my-nomad:4646 -port 8080 -transport sse
For Claude integration, add the command to claude_desktop_config.json
as described in the README.npx @kocierik/mcp-nomad
. Docker images are provided for convenience.stdio
for simple command‑line usage. Choose sse
when you need continuous streaming of events (e.g., real‑time dashboards).NOMAD_ADDR
to point to the remote Nomad API and ensure network connectivity.NOMAD_TOKEN
environment variable. The token is optional if your Nomad ACL system is disabled.Example variable operations:
# List variables in a namespace
list_variables namespace="my-namespace" prefix="my/path" per_page=10
# Get a specific variable
get_variable path="my/path" namespace="my-namespace"
# Create a variable
create_variable path="my/path" key="username" value="john" namespace="my-namespace"
# Delete a variable
delete_variable path="my/path" namespace="my-namespace"
To use the latest published version with Inspector:
npx @modelcontextprotocol/inspector npx @kocierik/mcp-nomad
-nomad-addr string
Nomad server address (default "http://localhost:4646")
-port string
Port for SSE server (default "8080")
-transport string
Transport type (stdio or sse) (default "stdio")
NOMAD_ADDR
: Nomad HTTP API address (default: http://localhost:4646)NOMAD_TOKEN
: Nomad ACL token (optional)https://github.com/user-attachments/assets/731621d7-0acf-4045-bacc-7b34a7d83648
Smithery | mcp-get | Pre-built NPM | Pre-built in Github | From sources | Using Docker | |
---|---|---|---|---|---|---|
Claude Setup | Auto | Auto | Manual | Manual | Manual | Manual |
Prerequisite | Node.js | Node.js | Node.js | None | Golang | Docker |
npx -y @smithery/cli install @kocierik/mcp-nomad --client claude
npx @michaellatman/mcp-get@latest install @kocierik/mcp-nomad
npm install -g @kocierik/mcp-nomad
Update your claude_desktop_config.json
:
{
"mcpServers": {
"mcp_nomad": {
"command": "mcp-nomad",
"args": [],
"env": {
"NOMAD_TOKEN": "${NOMAD_TOKEN}",
"NOMAD_ADDR": "${NOMAD_ADDR}"
}
}
}
}
Download the binary and configure Claude Desktop like so:
{
"mcpServers": {
"mcp_nomad": {
"command": "mcp-nomad",
"args": [],
"env": {
"NOMAD_TOKEN": "${NOMAD_TOKEN}",
"NOMAD_ADDR": "${NOMAD_ADDR}"
}
}
}
}
go get github.com/kocierik/mcp-nomad
go install github.com/kocierik/mcp-nomad
docker run -i --rm --network=host kocierik/mcpnomad-server:latest
docker run -i --rm \
-e NOMAD_ADDR=http://host.docker.internal:4646 \
kocierik/mcpnomad-server:latest
{
"mcpServers": {
"mcp_nomad": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "NOMAD_TOKEN=secret-token-acl-optional",
"-e", "NOMAD_ADDR=http://host.docker.internal:4646",
"mcpnomad/server:latest"
]
}
}
}
{
"mcpServers": {
"mcp_nomad": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"NOMAD_ADDR=http://172.17.0.1:4646",
"-e", "NOMAD_TOKEN=secret-token-acl-optional",
"kocierik/mcpnomad-server:latest"
]
}
}
}
This project is licensed under the MIT License - see the LICENSE file for details.
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "mcp_nomad": { "command": "npx", "args": [ "@kocierik/mcp-nomad" ], "env": { "NOMAD_ADDR": "${NOMAD_ADDR}", "NOMAD_TOKEN": "${NOMAD_TOKEN}" } } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by awslabs
Provides specialized servers that expose AWS capabilities through the Model Context Protocol, enabling AI assistants to retrieve up-to-date documentation, execute API calls, and automate infrastructure workflows directly within development environments.
by cloudflare
Provides a collection of Model Context Protocol servers that enable MCP‑compatible clients to interact with Cloudflare services such as Workers, Observability, Radar, and more, allowing natural‑language driven management of configurations, data, and operations.
by Flux159
Connects to a Kubernetes cluster and offers a unified MCP interface for kubectl, Helm, port‑forwarding, diagnostics, and non‑destructive read‑only mode.
by TencentEdgeOne
Deploy HTML, folders, or zip archives to EdgeOne Pages and instantly obtain a public URL for fast edge delivery.
by rishikavikondala
Provides Model Context Protocol tools for performing AWS S3 and DynamoDB operations, with automatic logging and audit access via the `audit://aws-operations` endpoint.
by confluentinc
Enables AI assistants to manage Confluent Cloud resources such as Kafka topics, connectors, and Flink SQL statements through natural‑language interactions.
by aliyun
Enables AI assistants to operate Alibaba Cloud resources such as ECS, Cloud Monitor, OOS and other services through seamless integration with Alibaba Cloud APIs via the Model Context Protocol.
by aws-samples
Retrieve PDF documents and other S3 objects through Model Context Protocol resources, enabling LLMs to pull data directly from AWS S3 buckets.
by qiniu
Provides MCP endpoints that enable AI models to list buckets, retrieve file lists, upload and download files, generate download links, perform image scaling and rounding, and refresh or prefetch CDN resources on Qiniu cloud.