Connect your coding agent
Open your project in your coding agent, then add Pathmap as a Streamable HTTP MCP server with OAuth.
Codex CLI
codex mcp add pathmap --url https://api.pathmap.io/mcpIf you still need to sign in, run codex mcp login pathmap. Codex MCP docs
Claude Code
claude mcp add --transport http pathmap https://api.pathmap.io/mcpOpen /mcp in Claude Code, choose pathmap, and follow the sign-in prompt. Claude Code MCP docs
For another compatible client, paste the server URL into its remote MCP settings. If you self-host, use your public API origin followed by /mcp. For a local Pathmap instance, use http://localhost:4000/mcp.
Ask your agent to analyze reports
Choose Reporting or Full workspace to ask about changes in traffic, conversions, or revenue. Include the date range and breakdowns you want to see.
Compare the last seven complete days with the previous seven. Which traffic sources and entry pages explain the biggest changes in conversions? Show counts and rates, and flag where the data is too sparse to draw a conclusion.Give your agent the setup prompt
Paste this prompt with your repository open. Give the agent access to the environment where it will test the tracker.
Set up Pathmap Analytics for this repository using Pathmap MCP.
Find or create the Pathmap project. Install the web tracker or mobile SDK once and preserve the app’s consent flow.
Track completed actions, then configure the matching goals and a funnel. Run an installation test and tell me what Pathmap received. After deployment, verify the first production signal.Check what Pathmap received
start_installation_test gives the agent a test URL for a web page or a token for a native test build. The agent can check that session with get_installation_test. Test traffic stays out of production reports.
After deploying your changes, ask the agent to run verify_installation and report the last browser or native signal and the custom events Pathmap observed.
