Connect Cursor
You can connect to the DoiT MCP server using any AI tool. The steps below demonstrate how to connect using Cursor.
-
If you have not already done so, install the latest version of Cursor on your machine (v0.47 and above).
-
In the directory where you installed cursor, create an
mcp.json
file. -
In a text editor, open the
mcp.json
file. -
Copy the following script and paste it in the
mcp.json
file.{
"mcpServers": {
"doit_mcp_server": {
"command": "npx",
"args": ["-y", "@doitintl/doit-mcp-server@latest"],
"env": {
"DOIT_API_KEY": `<doit_api_key>`
}
}
}
}Replace
doit_api_key
with your DoiT API key. -
Launch the Cursor app. Cursor automatically detects and connects to the DoiT MCP server. You can verify connection by going to Settings, selecting Cursor Settings, and then selecting MCP & Integrations. The status of the DoiT MCP integration should be green.
You can now open a new chat to start asking questions or make requests related to DoiT Cloud Intelligence data.