.cursor/mcp.json either at the project root (shared with collaborators) or in your user directory (private to you). Cursor supports both the hosted remote server and the local npm package.
Configuration file location
Project-scoped configuration takes precedence when both exist. Use the user-scoped path when you want the server available across every project on your machine.
Hosted (remote, OAuth)
Point Cursor at the remote URL — nonpx, no Node.js, no API key:
.cursor/mcp.json
alphacast server with a Login / Authenticate button — click it to sign in with your Alphacast account in the browser. Because no secret is stored, this config is safe to commit to a project-scoped file; each collaborator authenticates with their own account.
Local (npm package)
.cursor/mcp.json
Apply the change
- Save
.cursor/mcp.json. - Open Cursor’s settings → Features → MCP and click Refresh, or reload the window (
Cmd/Ctrl + Shift + P→ Developer: Reload Window).
Verify
Open the MCP panel in Cursor’s settings. Thealphacast server should appear with a green dot and 32 tools listed. In the chat, try:
“Use the alphacast tools to list my repositories.”If the server fails to connect, the most common causes are an invalid
ALPHACAST_API_KEY or Node.js 18+ not being on the system PATH.