
Infrahub Mcp
Let your coding agent query and act on Infrahub—the network source of truth—through stdio MCP instead of juggling separate CLI sessions.
Overview
Infrahub MCP is an MCP server for the Build phase that connects AI assistants to your Infrahub instance via stdio using address and API token env vars.
What is this MCP server?
- PyPI package infrahub-mcp 0.1.2 with stdio transport
- Requires INFRAHUB_ADDRESS and INFRAHUB_API_TOKEN environment variables
- Open MCP standard bridge to your Infrahub deployment
- Maintained in opsmill/infrahub-mcp on GitHub
- Suited to network automation and infrastructure-as-data workflows
- Package version 0.1.2 on PyPI
- Two required environment variables (address + API token)
Community signal: 9 GitHub stars.
What problem does it solve?
Agents cannot see or manipulate Infrahub’s network source of truth unless you manually copy CLI output or REST responses into chat.
Who is it for?
Solo devops-minded builders who already run Infrahub and want Claude Code or Cursor to assist with infra data tasks in-repo.
Skip if: Builders with no Infrahub deployment who only need generic cloud deploy or GitHub MCPs.
What do I get? / Deliverables
After you install infrahub-mcp and set INFRAHUB_ADDRESS plus INFRAHUB_API_TOKEN, your agent can use MCP tools against your Infrahub deployment.
- MCP stdio server wired to your Infrahub deployment
- Agent-assisted infrahub queries and workflows without manual API paste
Recommended MCP Servers
Journey fit
Infrahub work sits in Build when you are wiring automation, schema, and integrations into how the product and network are defined. Integrations is the right shelf because this MCP bridges the agent runtime to an external Infrahub API instance.
How it compares
Self-hosted Infrahub bridge MCP, not a managed PaaS panel or single-purpose linter skill.
Common Questions / FAQ
Who is com.opsmill/infrahub-mcp for?
It is for developers and platform engineers who operate an Infrahub instance and want MCP-native agent access.
When should I use com.opsmill/infrahub-mcp?
Use it while building integrations and automation when infra schema and network state should be agent-queryable alongside your code.
How do I add com.opsmill/infrahub-mcp to my agent?
Install the PyPI package infrahub-mcp 0.1.2, configure stdio in your MCP client, and export INFRAHUB_ADDRESS and INFRAHUB_API_TOKEN.