Table of Contents
← Hide Table of Contents
MIDAS MCP Server: Connecting Cursor
Once you've installed and enabled the MIDAS MCP Server, here's how to connect Cursor to MIDAS.
Option 1: Project-level (current project only)
- Select Cursor → Settings → Cursor Settings → Tools & MCP
- Click New MCP Server. This creates a file called
.cursor/mcp.jsonin your project root. - Add the following configuration, replacing the URL and key with your own details:
{
"mcpServers": {
"MIDAS": {
"url": "https://your-midas-url/mcp.pl",
"headers": {
"X-MCP-Key": "your-midas-mcp-key"
}
}
}
}- Save the file. The MIDAS MCP Server will now be available only in the current project.
Option 2: Global (all projects)
To make the MIDAS MCP Server available in every project you open in Cursor, you can edit your global MCP configuration file directly:
- On macOS or Linux, open
~/.cursor/mcp.json - On Windows, open
%USERPROFILE%\.cursor\mcp.json
If this file does not exist, create it. Add the same configuration block as outlined in Option 1 above. The MIDAS MCP Server will then be available across all your projects.
To connect with the MCP Server and inherit the permissions of a specific user account, you can optionally set a "
X-Query-As" header in your configuration, with its value set to the email address associated with a user account in your MIDAS system.If you have multiple databases setup in your MIDAS system, you can select a non-default database by optionally setting a "
X-MIDAS-DB" header in your configuration, with its value set to the internal ID of the appropriate database.
MIDAS MCP Server: Connecting Cursor