Infrahub MCP Server
by opsmillcom.opsmill/infrahub-mcpv0.1.2
An MCP server connects your AI assistants to Infrahub using the open MCP standard.
context tax
queued
security
queued
cold start
queued
freshness
Active1d ago
Install Infrahub MCP server
Install in Claude Code
claude mcp add infrahub -e INFRAHUB_ADDRESS='<infrahub-address>' -e INFRAHUB_API_TOKEN='<infrahub-api-token>' -- uvx infrahub-mcpInstall in Cursor
{
"mcpServers": {
"infrahub": {
"command": "uvx",
"args": [
"infrahub-mcp"
],
"env": {
"INFRAHUB_ADDRESS": "<infrahub-address>",
"INFRAHUB_API_TOKEN": "<infrahub-api-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"infrahub": {
"command": "uvx",
"args": [
"infrahub-mcp"
],
"env": {
"INFRAHUB_ADDRESS": "<infrahub-address>",
"INFRAHUB_API_TOKEN": "<infrahub-api-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"infrahub": {
"type": "stdio",
"command": "uvx",
"args": [
"infrahub-mcp"
],
"env": {
"INFRAHUB_ADDRESS": "<infrahub-address>",
"INFRAHUB_API_TOKEN": "<infrahub-api-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"infrahub": {
"command": "uvx",
"args": [
"infrahub-mcp"
],
"env": {
"INFRAHUB_ADDRESS": "<infrahub-address>",
"INFRAHUB_API_TOKEN": "<infrahub-api-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| INFRAHUB_ADDRESS | yes | — | The URL/address of your Infrahub instance |
| INFRAHUB_API_TOKEN | yes | yes | Your Infrahub API token for authentication |
Freshness
Active — last maintenance signal 1d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 1d ago · GitHub
Latest release
2026-09-30 · 9d ago · GitHub · v1.2.0
Package published
no data · npm/PyPI
Registry entry updated
2025-10-10 · 12mo ago · official registry · v0.1.2
FAQ
›How do I install the Infrahub MCP server in Claude Code?
Run: claude mcp add infrahub -e INFRAHUB_ADDRESS='<infrahub-address>' -e INFRAHUB_API_TOKEN='<infrahub-api-token>' -- uvx infrahub-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Infrahub require an API key?
Yes. It expects INFRAHUB_ADDRESS, INFRAHUB_API_TOKEN, of which 1 is a secret.
›Can I use Infrahub as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Infrahub in the official MCP registry?
Yes, as com.opsmill/infrahub-mcp.