Skip to content

Monocle MCP server

The MCP server provided by monocle includes curated prompts and tools that help you enable Monocle tracing in your application and analyze the traces generated by Monocle.

Use Monocle MCP

First install monocle-apptrace:

pip install monocle-mcp

Open bash and run the following command to run the monocle mcp server with stdio:

monocle_apptrace

If you are using VS Code you can add following entry to your .vscode/mcp.json

"monocle-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
         "monocle_apptrace"
      ],
      "env": {}
   }