Cursor
Add this entry to.cursor/mcp.json in your project. Keep any existing servers.
VS Code
Add this entry to.vscode/mcp.json in your project. Keep any existing servers.
Private servers
Replace the URL with your endpoint. For Unlisted, include its secret path. For API Key, addheaders beside url inside the server entry:
headers. Replace YOUR_API_KEY with your key. Keep files with credentials out of version control.
For OAuth, use the client’s sign-in flow for your provider. Enable the server in the client and check that your active tools appear.