Skip to main content
Glama

Verwendung mit Claude

https://github.com/user-attachments/assets/731621d7-0acf-4045-bacc-7b34a7d83648

Installationsoptionen

Vorgefertigtes NPM

Vorgefertigt von Github

Aus Quellen

Claude-Einrichtung

Manuell

Manuell

Manuell

Voraussetzung

Node.js

Keine

Golang

Vorgefertigtes von npm

Das Paket veröffentlicht eine mcp-nomad CLI. Die einfachste Option ohne Installation (wird in den npm-Cache heruntergeladen; erfordert Node/npm):

npx -y @kocierik/mcp-nomad

Oder installieren Sie es global, damit mcp-nomad in Ihrem PATH verfügbar ist:

npm install -g @kocierik/mcp-nomad

claude_desktop_config.json mit npx (empfohlen):

{
  "mcpServers": {
    "mcp_nomad": {
      "command": "npx",
      "args": ["-y", "@kocierik/mcp-nomad"],
      "env": {
        "NOMAD_TOKEN": "${NOMAD_TOKEN}",
        "NOMAD_ADDR": "${NOMAD_ADDR}"
      }
    }
  }
}

Wenn Sie npm install -g verwendet haben, behalten Sie command / args direkt als Binärdatei bei:

{
  "mcpServers": {
    "mcp_nomad": {
      "command": "mcp-nomad",
      "args": [],
      "env": {
        "NOMAD_TOKEN": "${NOMAD_TOKEN}",
        "NOMAD_ADDR": "${NOMAD_ADDR}"
      }
    }
  }
}

Von GitHub Releases

Laden Sie die Binärdatei herunter und konfigurieren Sie Claude Desktop wie folgt:

{
  "mcpServers": {
    "mcp_nomad": {
      "command": "mcp-nomad",
      "args": [],
      "env": {
        "NOMAD_TOKEN": "${NOMAD_TOKEN}",
        "NOMAD_ADDR": "${NOMAD_ADDR}"
      }
    }
  }
}

Aus Quellen bauen

go get github.com/kocierik/mcp-nomad
go install github.com/kocierik/mcp-nomad

Related MCP server: @profullstack/mcp-server

Server-Optionen

Befehlszeilen-Flags (auch relevant bei der Kopplung mit dem MCP Inspector gegen eine manuell gestartete Binärdatei):

  -nomad-addr string
    	Nomad server address (default "http://localhost:4646")
  -port string
    	Port for HTTP server (default "8080")
  -transport string
    	Transport type (stdio, sse, or streamable-http) (default "stdio")

Umgebungsvariablen

  • NOMAD_ADDR: Nomad HTTP API-Adresse (Standard: http://localhost:4646)

  • NOMAD_TOKEN: Nomad ACL-Token (optional)

  • NOMAD_REGION: wird als REST region-Abfrageparameter weitergeleitet, wenn Aufrufer ihn nicht überschreiben (Multi-Region-Cluster)

  • NOMAD_NAMESPACE: Standard-Namespace für Tools, die einen optionalen Namespace akzeptieren, wenn das Tool ihn weglässt

  • TLS: NOMAD_CACERT, NOMAD_SKIP_VERIFY, NOMAD_TLS_SERVER_NAME (siehe utils/client.go / buildTLSConfig)

Der HTTP-Client folgt der offiziellen /v1/ API und ist über utils/client_*.go verteilt; MCP-Tools hängen von engen Schnittstellen in utils/nomad_tool_interfaces.go ab.

NomadClient.MakeRequest (nur für einige Cluster-/Legacy-Aufrufpunkte verwendet) lehnt Pfade außerhalb einer internen Zulassungsliste ab — bevorzugen Sie typisierte Helfer wie StopAllocation.

Mit MCP Inspector durchsuchen

Verwenden Sie dies für lokale Tests und Debugging — nicht erforderlich für den täglichen Gebrauch von Claude Desktop.

Um den neuesten veröffentlichten npm-Build unter dem MCP Inspector auszuführen:

npx @modelcontextprotocol/inspector npx @kocierik/mcp-nomad

Inspector mit einem lokalen HTTP-Server (optional)

Der Standardtransport ist stdio. Um den Inspector als Streamable HTTP anzuhängen, starten Sie die Binärdatei zuerst in einem anderen Terminal:

go run . -transport=streamable-http -port=8080

Öffnen Sie dann http://localhost:8080/mcp im Inspector. Für -transport=sse verwenden Sie http://localhost:8080/sse.

Lizenz

Dieses Projekt ist unter der MIT-Lizenz lizenziert - siehe die LICENSE-Datei für Details.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityActive
ResponsivenessWithin a week

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

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An implementation of the Model Context Protocol (MCP) server that enables multiple clients to connect simultaneously and handles basic context management and messaging with an extendable architecture.
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    A basic Model Context Protocol (MCP) server implementation that provides a foundation for MCP server development. The README doesn't specify particular functionality, suggesting it may be a template or starting point for building custom MCP servers.
    1
    -

Latest Blog Posts

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/kocierik/mcp-nomad'

If you have feedback or need assistance with the MCP directory API, please join our Discord server