Skip to main content
Cursor reads MCP servers from a JSON file. You choose whether the server is available everywhere or only inside one repository.

Global or per project?

A project-level .cursor/mcp.json is usually committed. Do not put a real API key in it - add the file to .gitignore, or use the global file instead.

Add the server

mcp.json
Already have servers configured? Add 2extract as another key inside the existing mcpServers object.

Verify

Open SettingsCursor SettingsMCP. 2extract should show as connected, with its tools listed. Then, in the chat panel with Agent mode active:
What is my 2extract balance?
A number comes back. The tool call is shown inline, and you can expand it to see exactly what was sent.

Troubleshooting

Check the URL keeps the /mcp path. https://mcp.2extract.com on its own serves a web page, not the protocol.Then use the refresh control next to the server in the MCP settings panel - Cursor does not always re-read the file on save.
Tools are only available in Agent mode. In Ask mode the model can see them but will not call them.
The Authorization header must read Bearer 2xt_... - the word, a space, the key. If you pasted from a terminal, check for a trailing newline inside the quotes.
Expected, if the key is yours. Each person needs their own key with their own scopes - keys are per account, and usage is billed to whoever owns the key.

Next steps

Usage Examples

Sessions from request to connection string.

Tools

Everything the agent can call.