MCP Server
The Trails MCP Server allows you to leverage AI agents like Claude or Cursor seamlessly with Trails. The server is available at:https://docs.trails.build/mcp
Connect in Cursor
- Use Command + Shift + P (Ctrl + Shift + P on Windows) to open the command palette.
- Search for “Open MCP settings”.
- Select Add custom MCP to open the
mcp.json
file. - In
mcp.json
, add the Trails server:
- In Cursor chat, ask “What tools do you have available?” to confirm the Trails MCP server is listed.
Connect in Claude
- Navigate to the [Developers] page in Claude Desktop.
- Select Edit config if you have an existing MCP configuration or add a new one.
- Open your config file and add the Trails MCP server:
- Name:
Trails
- URL:
https://docs.trails.build/mcp
- Name:
- Save the configuration
- In a Claude chat, select the
Search and tools
and make sure your configuration file with Trails is enabled. - Ask a question about Trails!
Example Queries
You can ask questions like:- “How would I add a DeFi vault for USDC on Aave to my react app using Trails?”
- “What theming options are available for Trails?”
- “What chains does trails support?”