Cursor
Connect Thruline to Cursor through the MCP server.
Setup
1
Add the MCP server
Open Cursor Settings, go to the MCP tab, and add a server with this configuration, or add it to .cursor/mcp.json in your project root:
{
"mcpServers": {
"thruline": {
"url": "https://mcp.thrulinecontext.com/mcp"
}
}
}
2
Authenticate
When Cursor first connects, it prompts you to authenticate via GitHub OAuth. Sign in with your GitHub account.
3
Index a repository
Ask Cursor's AI to run thruline_index with your repository name in owner/repo form. See Your First Index.
Using Thruline
Once connected, Cursor's AI can call Thruline's tools. You can also prompt for them directly:
- "Use thruline_review on this file before making changes."
- "Run thruline_review_changeset on my changed files."
- "What domains does Thruline see in this codebase?"
The full set of tools is documented in the MCP Tools reference. If Cursor doesn't connect, see Editor Not Connecting.