Skip to content

Connect VS Code

Your address is on Account > AI Clients at my.nilear.com, under Your MCP URL for this PSA, in the form https://mcp.nilear.com/psa/<your PSA's id>/mcp. The page’s How to connect section has these same steps with your address already filled in. If the page shows no address, see Troubleshooting.

  1. Run MCP: Add Server… from the Command Palette, choose HTTP, paste your address and name it nilearx. Or add this to your mcp.json:

    {
    "servers": {
    "nilearx": {
    "type": "http",
    "url": "https://mcp.nilear.com/psa/<your PSA's id>/mcp"
    }
    }
    }
  2. Start the server when VS Code offers to, and sign in. Your browser opens Nilear’s Connect an AI client page.

  3. Sign in if asked, check the details and click Approve (what the page shows).

  4. Use its tools from Copilot Chat in agent mode.

To stop the connection, revoke it.