Documentation Index
Fetch the complete documentation index at: https://trunk-4cab4936-mintlify-migrate-docs-changes-1778515731.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
One-click setup
Use the “Add to Cursor” action to add the Trunk MCP server: Once clicked, follow instructions to open the MCP configuration in Cursor. A new settings window to confirm the installation of the MCP server will be shown. Click on “Install” to proceed.Alternative: Update MCP configuration
Add the following configuration to your project’s.cursor/mcp.json file. If you want to enable it only for yourself, add it to ~/.cursor/mcp.json instead.
Authentication
After the MCP server was added to Cursor, users need to authorize Cursor to communicate with the server. Follow these steps to complete auth. Step 1: Open MCP Settings RunCMD+Shift+P to open the command palette and choose View: Open MCP Settings
Step 2: Enable the Trunk MCP server
A “Needs authentication” status will be shown:
Step 3: Login & authorize
A new webpage will be opened. Login with your Trunk account and follow insturctions to authorize Cursor to communicate with the MCP server.
Step 4: Confirm
Follow instructions to get back to Cursor. With auth completed, Cursor will be able to fetch the tools exposed by Trunk’s MCP server: