MCP Server

MCP Server Overview

Track AI coding agents and LLM workflows automatically using the Model Context Protocol.

What is MCP?

The Model Context Protocol (MCP) is an open standard that lets AI assistants - such as Claude in VS Code or Claude Code - connect to external tools and services via a standardized JSON-RPC interface.

By installing an MCP server, you give an AI agent access to a set of callable tools without needing to modify the agent's own prompt or code.

InfiniAnalytics MCP Server

The InfiniAnalytics MCP server is published as an npm package:

@infini-analytics/analytics-mcpon npm

Once installed and configured, your AI agent can call the register_event tool to emit lifecycle events to InfiniAnalytics throughout each conversation. This makes every agent session visible in your dashboard as a tracked execution with a full event timeline.

No code changes to your agent are required - just add the MCP server connection and include the tracking instructions in the agent's system prompt.

Available Tools

ToolDescription
register_eventSend a lifecycle event (START / EVENT / END / ERROR) for the current execution

Supported AI Clients

  • VS Code with GitHub Copilot (agent mode)
  • Claude Code CLI
  • Any MCP-compatible AI client

Ready to set it up? Continue to Installation