track() call. Each language has a setup page that covers the supported MCP libraries, identity, and a test of your setup.
Choose your language
TypeScript
@modelcontextprotocol/sdk 1.x and @modelcontextprotocol/server 2.xPython
Official
mcp 1.x and 2.x, and community fastmcpGo
Official go-sdk and mark3labs/mcp-go
PHP
mcp/sdk, Laravel, and SymfonyC#
The official C# MCP SDK, with ASP.NET Core or the generic host
Rust
rmcp 3.xJava
MCP Java SDK, Spring Boot, Quarkus, and Micronaut
Ruby
The
mcp gemA first example
These are the TypeScript and Python examples from their setup pages. Install the package, then calltrack() where your code creates the server:
Using without an AgentCat account
You can send events only to your own observability platform, with no AgentCat project. In TypeScript, anull project ID with an exporter does this:
Next steps
Identify users
Know which user is behind each session
Debug mode
Find the AgentCat log for your language
Tool call context
Learn why agents call each tool
Custom events
Send your own events next to the ones AgentCat captures