Skip to main content

How do I connect Zoya to Cursor, VS Code or Codex?

Add Zoya's server URL to Cursor, VS Code or Codex, then sign in with your Zoya account in your browser.

Add Zoya's server URL, https://mcp.zoya.finance/mcp, to your editor or coding agent, then sign in with your Zoya account in the browser window that opens. The steps for each app are below.

Cursor

  1. Open ~/.cursor/mcp.json, or create it if it doesn't exist. To add Zoya to a single project instead, use .cursor/mcp.json in that project

  2. Add Zoya under mcpServers:

    {
    "mcpServers": {
    "zoya": {
    "url": "https://mcp.zoya.finance/mcp"
    }
    }
    }
  3. Save the file, open Customize in Cursor's sidebar, and make sure zoya is turned on

  4. When Cursor asks you to sign in, choose Zoya app account on Zoya's sign-in page, sign in, and click Allow access

If the file already lists other servers, add the zoya entry alongside them.

VS Code

  1. Open the Command Palette and run MCP: Add Server

  2. Choose HTTP (HTTP or Server-Sent Events) and enter https://mcp.zoya.finance/mcp

  3. Enter zoya as the server ID

  4. Select Global, then Copilot Global

  5. When VS Code asks you to sign in, choose Zoya app account on Zoya's sign-in page, sign in, and click Allow access. If you see Authenticate, select it to start signing in

Then ask Copilot Chat a question that needs Zoya, such as "Is Tesla stock Shariah-compliant?"

Codex

  1. In your terminal, run this command:

    codex mcp add zoya --url https://mcp.zoya.finance/mcp
  2. Run codex mcp login zoya and sign in on Zoya's sign-in page in your browser

  3. In Codex, type /mcp to check that zoya is connected

The Codex CLI, the Codex IDE extension and the ChatGPT desktop app share the same MCP settings, so you only need to add Zoya once. In the IDE extension or desktop app, select Authenticate if you're asked to sign in.

Claude Code

Setup steps for Claude Code are in How do I connect Zoya to Claude?

Which account should I choose?

If you use the Zoya app, choose Zoya app account. This needs an active Zoya Pro subscription. If your assistant says a Zoya tool requires Zoya Pro, see Why does my AI assistant say a Zoya tool requires Zoya Pro? If you use the Zoya API, choose Developer account. See Can I use the Zoya MCP with my Zoya API plan?

Staying signed in

Expect to sign in to Zoya again about once a week. Your app will ask you to sign in again, or you can run codex mcp login zoya in Codex.

Troubleshooting

  • Check that zoya is turned on: in Cursor's Customize panel, in VS Code with MCP: List Servers, or in Codex with /mcp

  • If Zoya shows an error, sign in again. In Cursor or VS Code, turn zoya off and on, then sign in when asked. In Codex, run codex mcp login zoya. This fixes most problems

  • If your assistant answers without using Zoya, ask it to, for example "Use Zoya to check Apple"

  • Still stuck? Contact Zoya support and tell us which app you're using

Did this answer your question?