Cursor
Add IndexZero to Cursor with a four-line mcp.json.
Cursor reads MCP servers from mcp.json, either globally at ~/.cursor/mcp.json or per project at .cursor/mcp.json. Remote servers with OAuth need only the URL.
Add the server
{
"mcpServers": {
"indexzero": {
"url": "https://app.indexzero.site/mcp"
}
}
}Use .cursor/mcp.json inside a repository instead if the setup should travel with the project. The file holds no credentials either way.
Reload and approve
Reload Cursor. In Settings, MCP, the IndexZero server appears with a prompt to authenticate. Approve the connection in the browser window that opens on app.indexzero.site.
Confirm
Open the agent panel and ask it to list your IndexZero projects. The server's tools appear in the MCP settings once connected.
Using an API key instead
If OAuth is not an option in your environment, create an API key and send it as a header:
{
"mcpServers": {
"indexzero": {
"url": "https://app.indexzero.site/mcp",
"headers": {
"x-api-key": "iz_your_key_here"
}
}
}
}Do not commit a file containing a key. Keep the header form in the global ~/.cursor/mcp.json and the URL-only form in the project file.