Skip to main content
Get started with Agnost analytics by adding one line of code to your MCP server.

Installation

  • Python
  • TypeScript
  • Go
pip install agnost

Setup

  1. Get your Organization ID from app.agnost.ai
  2. Add analytics to your server:
  • Python
  • TypeScript
  • Go
from agnost import track

# Add this one line
track(your_server, "your_org_id")
That’s it! Your MCP server is now being tracked with default settings.

Step-by-Step Guides

I