Connect your coding agent to Pathmap.

Use Pathmap MCP to set up tracking, analyze your reports, or manage your workspace. Choose what your agent can access when you sign in.

MCP server URL
https://api.pathmap.io/mcp

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 CLI command
codex mcp add pathmap --url https://api.pathmap.io/mcp

If you still need to sign in, run codex mcp login pathmap. Codex MCP docs

Claude Code

Claude Code command
claude mcp add --transport http pathmap https://api.pathmap.io/mcp

Open /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.

Choose an access level

When your client opens Pathmap, sign in and choose what your agent can do.

  • Setup. Install web or mobile tracking, configure events, goals and reports, and verify that events arrive.
  • Reporting. Read and analyze traffic, conversions, revenue, saved reports, and bot activity.
  • Full workspace. Set up analytics, analyze reports, and manage projects and workspace settings with your dashboard permissions.

Select specific projects or authorize a whole workspace, including future projects. Workspace setup requires an owner or editor. Viewers can analyze reports. Revoke a connection under Account → Authorized apps.

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.

Analytics analysis prompt
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.

Analytics setup prompt
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.