Skip to content

Commit 942ef4e

Browse files
committed
Add Nomad MCP server
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com> Claude-Session: https://claude.ai/code/session_01S58U7phvDgphx6ZTXuWMJQ
1 parent ee298ab commit 942ef4e

1 file changed

Lines changed: 83 additions & 0 deletions

File tree

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "kocierik.nomad-mcp-npx",
4+
"name": "Nomad (npx)",
5+
"alias": "nomad",
6+
"description": "Manage HashiCorp Nomad clusters via the MCP protocol: inspect and operate jobs, deployments, allocations, nodes, namespaces, variables, ACL tokens, and Sentinel policies through the Nomad HTTP API.",
7+
"logo": "https://avatars.githubusercontent.com/u/41591336?v=4",
8+
"schema_version": "2.1",
9+
"categories": [
10+
"developer-tools",
11+
"cloud"
12+
],
13+
"tags": [
14+
"nomad",
15+
"hashicorp",
16+
"orchestration",
17+
"scheduler",
18+
"devops",
19+
"infrastructure"
20+
],
21+
"transport": {
22+
"type": "stdio",
23+
"command": "npx",
24+
"args": [
25+
"-y",
26+
"@kocierik/mcp-nomad"
27+
],
28+
"env": {
29+
"NOMAD_ADDR": "${input:NOMAD_ADDR}",
30+
"NOMAD_TOKEN": "${input:NOMAD_TOKEN}"
31+
},
32+
"metadata": {
33+
"inputs": [
34+
{
35+
"id": "NOMAD_ADDR",
36+
"label": "Nomad Address",
37+
"description": "Base URL of your Nomad server's HTTP API (the value of NOMAD_ADDR). Defaults to http://localhost:4646 when running Nomad locally.",
38+
"type": "url",
39+
"required": true,
40+
"placeholder": "http://localhost:4646"
41+
},
42+
{
43+
"id": "NOMAD_TOKEN",
44+
"label": "Nomad ACL Token",
45+
"description": "Optional Nomad ACL token (NOMAD_TOKEN). Required only if your cluster has ACLs enabled; leave empty for an unsecured cluster.",
46+
"type": "text",
47+
"required": false,
48+
"secret": true,
49+
"placeholder": "****************************",
50+
"obtain": {
51+
"url": "https://developer.hashicorp.com/nomad/docs/secure/acl",
52+
"instructions": "1. Ensure ACLs are enabled on your Nomad cluster\n2. Run `nomad acl token create` (or use the UI) to mint a token with the needed policies\n3. Copy the Secret ID and use it as the token",
53+
"button_label": "Nomad ACL Docs"
54+
}
55+
}
56+
]
57+
}
58+
},
59+
"auth": {
60+
"type": "optional_api_key",
61+
"instructions": "Set NOMAD_ADDR to your Nomad server URL. A NOMAD_TOKEN is only required if ACLs are enabled on the cluster; create one with `nomad acl token create`."
62+
},
63+
"contributor": {
64+
"name": "kocierik",
65+
"github": "kocierik",
66+
"url": "https://github.com/kocierik/mcp-nomad"
67+
},
68+
"links": {
69+
"repository": "https://github.com/kocierik/mcp-nomad",
70+
"homepage": "https://github.com/kocierik/mcp-nomad#readme",
71+
"documentation": "https://github.com/kocierik/mcp-nomad#readme"
72+
},
73+
"platforms": [
74+
"all"
75+
],
76+
"capabilities": {
77+
"tools": true,
78+
"resources": false,
79+
"prompts": false,
80+
"read_only_mode": false
81+
},
82+
"changelog_url": "https://github.com/kocierik/mcp-nomad/releases"
83+
}

0 commit comments

Comments
 (0)