# Connecting clients (/dashboard/connect-clients)

Once deployed, your server speaks MCP over HTTP at its gateway URL. Any MCP-compatible client can connect to it. The dashboard generates the exact configuration for each one.## Add to client [#add-to-client]![Gateway URL chip popover](/screenshots/dashboard/connect-clients/gateway-url-popover.png)On any server page, click the URL chip in the header, then **Add to client**.![Add to client dialog with client grid](/screenshots/dashboard/connect-clients/add-to-client-dialog.png)You get one-click installs or copy-paste configuration for:- **Editors**: Cursor, VS Code, VS Code Insiders
- **Claude**: Claude Desktop and Claude Code
- **CLI agents**: Gemini CLI, Codex CLI
- **SDKs**: TypeScript and Python snippets using [mcp-use](https://docs.mcp-use.com)
- **mcp-use Agent**: attach the server to a hosted agent directly## Manual configuration [#manual-configuration]If your client isn't listed, use the standard MCP remote-server config with your gateway URL:```json
{
  "mcpServers": {
    "my-server": {
      "url": "https://<your-slug>.run.mcp-use.com/mcp"
    }
  }
}
```## Connecting from code [#connecting-from-code]With the mcp-use TypeScript SDK:```ts
import { MCPClient } from 'mcp-use';

const client = new MCPClient({
  mcpServers: {
    myServer: { url: 'https://<your-slug>.run.mcp-use.com/mcp' },
  },
});
```See the [mcp-use documentation](https://docs.mcp-use.com) for agents, tool calling, and the Python equivalent.## Authentication [#authentication]If your server requires OAuth, clients go through the standard MCP OAuth flow automatically. In the dashboard, the **Authenticate** button in the server header runs the same flow for the built-in Chat and inspector tabs. When connected, OAuth-backed servers show **Disconnect** to clear stored credentials without deleting the server. Use **Re-authenticate** after disconnecting or when tokens expire. Expired credentials also surface on the org **Dashboard** under **Needs Attention**.## Testing before you share [#testing-before-you-share]Use the server's **Chat** tab to talk to it with an agent, and the **Tools**, **Prompts**, and **Resources** tabs to verify everything is exposed as expected, the same inspector that powers [mcp-use](https://docs.mcp-use.com), embedded in the dashboard.
