An MCP server connects your AI assistants to Infrahub using the open MCP standard.
registry version 0.1.2
Python
uvx infrahub-mcpPython
uvx infrahub-mcp@0.1.2
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"infrahub-mcp": {
"command": "uvx",
"args": [
"infrahub-mcp"
],
"env": {
"INFRAHUB_ADDRESS": "<YOUR_INFRAHUB_ADDRESS>",
"INFRAHUB_API_TOKEN": "<YOUR_INFRAHUB_API_TOKEN>"
}
}
}
}{
"mcpServers": {
"infrahub-mcp": {
"command": "uvx",
"args": [
"infrahub-mcp@0.1.2"
],
"env": {
"INFRAHUB_ADDRESS": "<YOUR_INFRAHUB_ADDRESS>",
"INFRAHUB_API_TOKEN": "<YOUR_INFRAHUB_API_TOKEN>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env INFRAHUB_ADDRESS=<YOUR_INFRAHUB_ADDRESS> --env INFRAHUB_API_TOKEN=<YOUR_INFRAHUB_API_TOKEN> infrahub-mcp -- uvx infrahub-mcp
claude mcp add --env INFRAHUB_ADDRESS=<YOUR_INFRAHUB_ADDRESS> --env INFRAHUB_API_TOKEN=<YOUR_INFRAHUB_API_TOKEN> infrahub-mcp -- uvx infrahub-mcp@0.1.2
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"infrahub-mcp": {
"command": "uvx",
"args": [
"infrahub-mcp"
],
"env": {
"INFRAHUB_ADDRESS": "<YOUR_INFRAHUB_ADDRESS>",
"INFRAHUB_API_TOKEN": "<YOUR_INFRAHUB_API_TOKEN>"
}
}
}
}{
"mcpServers": {
"infrahub-mcp": {
"command": "uvx",
"args": [
"infrahub-mcp@0.1.2"
],
"env": {
"INFRAHUB_ADDRESS": "<YOUR_INFRAHUB_ADDRESS>",
"INFRAHUB_API_TOKEN": "<YOUR_INFRAHUB_API_TOKEN>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"infrahub-mcp": {
"command": "uvx",
"args": [
"infrahub-mcp"
],
"env": {
"INFRAHUB_ADDRESS": "<YOUR_INFRAHUB_ADDRESS>",
"INFRAHUB_API_TOKEN": "<YOUR_INFRAHUB_API_TOKEN>"
}
}
}
}{
"servers": {
"infrahub-mcp": {
"command": "uvx",
"args": [
"infrahub-mcp@0.1.2"
],
"env": {
"INFRAHUB_ADDRESS": "<YOUR_INFRAHUB_ADDRESS>",
"INFRAHUB_API_TOKEN": "<YOUR_INFRAHUB_API_TOKEN>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"infrahub-mcp": {
"command": "uvx",
"args": [
"infrahub-mcp"
],
"env": {
"INFRAHUB_ADDRESS": "<YOUR_INFRAHUB_ADDRESS>",
"INFRAHUB_API_TOKEN": "<YOUR_INFRAHUB_API_TOKEN>"
}
}
}
}{
"mcpServers": {
"infrahub-mcp": {
"command": "uvx",
"args": [
"infrahub-mcp@0.1.2"
],
"env": {
"INFRAHUB_ADDRESS": "<YOUR_INFRAHUB_ADDRESS>",
"INFRAHUB_API_TOKEN": "<YOUR_INFRAHUB_API_TOKEN>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
INFRAHUB_ADDRESS required — The URL/address of your Infrahub instanceINFRAHUB_API_TOKEN required secret — Your Infrahub API token for authentication⭐ 10 stars · 最近更新于 16 天前 · Apache-2.0 license
Infrahub MCP Server Infrahub MCP Server connects AI assistants and IDE agents to Infrahub using the open Model Context Protocol standard — so agents can query, create, update, and propose changes to your infrastructure data through a consistent, audited interface. It works with any MCP compatible cl…
Summary from the project README — github.com/opsmill/infrahub-mcp
Distributed as Python, listed under Other Tools. Review our MCP security guide before granting access to real data.
Infrahub MCP Server Infrahub MCP Server connects AI assistants and IDE agents to Infrahub using the open Model Context Protocol standard — so agents can query, create, update, and propose changes to your infrastructure data through a consistent, audited interface. It works with any MCP compatible cl
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/opsmill/infrahub-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/infrahub-mcp/)
HTML
<a href="https://mcpnav.net/server/infrahub-mcp/"><img src="https://mcpnav.net/badge/infrahub-mcp.svg" alt="Listed on MCPNav" height="20"></a>