MCP ReferenceOverview

MCP Reference

The Invarium MCP server connects your IDE to the Invarium platform. It exposes five tools for uploading blueprints, generating tests, retrieving results, and syncing test runs โ€” all through the Model Context Protocol.

You can use it from any MCP-compatible client: Claude Desktop, Cursor, Claude Code, or any custom MCP integration.


Tools


Authentication

All MCP tools require a valid API key. Set the INVARIUM_API_KEY environment variable in your MCP server configuration:

{
  "mcpServers": {
    "invarium": {
      "command": "uvx",
      "args": ["invarium-mcp"],
      "env": {
        "INVARIUM_API_KEY": "inv_your_key_here"
      }
    }
  }
}

Get your API key from the Invarium dashboard under API Keys in the sidebar.

โš ๏ธ

API keys are scoped to a workspace. All agents and test runs created with a key belong to that workspace.


MCP Resources

The Invarium MCP server also exposes two resources that your MCP client can read:

ResourceURIDescription
Agent Blueprint Templateinvarium://templates/agent-blueprintA JSON template with all supported blueprint fields, ready to fill in. Useful for scaffolding a new blueprint from scratch.
Blueprint Prompt Templateinvarium://templates/blueprint-promptA natural-language prompt you can give to an LLM to help it generate a blueprint from your codebase.

These resources are read-only and always available once the MCP server is connected.

Was this page helpful?