MCP Server Setup
Last updated
Last updated
The MCP (Model Context Protocol) server acts as the bridge between Handit.AI and your local codebase when working in Cursor. This guide will walk you through enabling the server and connecting your code automatically—no manual instrumentation needed.
First, you’ll enable the MCP server inside your project. Cursor will then detect it automatically and make the Handit tools available within the editor.
Download the MCP server zip file from your Handit.AI dashboard
Extract the zip file to your project directory
Open Cursor Settings
Go to Features > MCP
The MCP server will be automatically detected and listed
Click the enable button to load the available tools
Once the MCP server is running and detected by Cursor, you can use the AI assistant to auto-configure your code for monitoring and tracing.
In Cursor, type:
The AI will analyze your codebase and automatically:
Configure the necessary Handit.AI client
Set up the appropriate tracking points
Connect your code to the MCP context
Generate the required configuration files
This eliminates the need for manual setup and ensures your code is ready to be monitored by Handit.AI immediately.
Best Practices Guide - Learn about best practices for using Handit.AI