Skip to main content

MCP server

The Anvil MCP server connects a coding agent to Anvil. Instead of you copying errors and logs into the chat, the agent reads them itself: it finds the project, pulls the telemetry it needs, and works from what the driver actually did.

It speaks the Model Context Protocol, so it works with any agent that supports remote MCP servers, including Claude Code, Cursor, Gemini CLI and Codex. There's nothing to install: you add one URL to your agent and sign in.

What it does​

The server gives your agent tools for:

  1. Finding your projects and controllers - List your organizations, projects and devices, and fetch the instructions for setting the SDK up in a driver
  2. Reading errors - List a project's errors, look one up by the reference shown in Anvil, or check whether a driver version raised any, with the stack trace, the arguments the handler was called with, and what it logged
  3. Reading events - See which handlers Control4 called, with what arguments, and what they returned
  4. Reading logs - Search what your driver logged, by level, controller or text
  5. Waiting for an action - Ask you to do something on the controller and return as soon as the driver reports it, instead of you pasting logs back

Every read can be scoped to one controller, one driver version and a start time, so the agent reads what your deploy did, not whatever else is running.

It also offers prompts for whole workflows, such as diagnosing an error from its reference, and tells your agent how to work with telemetry when it connects.

It acts as you​

The agent signs in with your Driverforge account, so it sees exactly the projects and data you can see, and nothing more. It can only read: nothing it does through the server changes your projects or your drivers.

What to ask​

Once it's connected, ask your agent things like:

  • "What errors has the Pool Pump driver hit in the last day?"
  • "Look into POOLPUMP-4F2A9C1B and fix it."
  • "I've just pressed Play on the touch screen. Did ReceivedFromProxy run, and what did it log?"

When you'll want the CLI too​

The MCP server reads telemetry; it doesn't build or deploy. To let an agent ship a fix and confirm it worked, give it the driverforge CLI as well. See Agent skills.

Next steps​