Back to Home
kocierik icon

mcp-nomad

Verified Safe

by kocierik

Overview

This MCP server provides an interface to manage HashiCorp Nomad clusters, enabling operations like job, deployment, namespace, node, allocation, variable, volume, and ACL management through a Model Context Protocol client.

Installation

Run Command
mcp-nomad

Environment Variables

  • NOMAD_ADDR
  • NOMAD_TOKEN

Security Notes

The server correctly retrieves Nomad authentication tokens from environment variables, preventing hardcoded secrets. It implements origin validation for HTTP transports to mitigate cross-site request forgery (CSRF) risks. Nomad API interactions are handled by constructing URLs and JSON bodies, which generally prevents command injection. HCL job specification parsing is delegated to the Nomad API itself, reducing direct parsing vulnerabilities. No obvious use of 'eval' or other highly dangerous patterns were found in the provided server code. The npm package's `index.js` uses `childProcess.execFileSync` to run the compiled Go binary with arguments from static configuration, not directly user-provided input, thus limiting command injection risks in the wrapper.

Similar Servers

Stats

Interest Score44
Security Score9
Cost ClassMedium
Avg Tokens1500
Stars39
Forks8
Last Update2025-12-08

Tags

NomadHashiCorpMCPCloud ManagementGoInfrastructure as Code