# Connect your agent to Hark

Hark is the shared context hub for your agents. One MCP endpoint: https://harkstudio.io/mcp

## Clients

- [Claude Code (CLI)](https://harkstudio.io/how-it-works/connect/claude-code.md) — One command, then approve the browser prompt.
- [Claude (web app and Desktop)](https://harkstudio.io/how-it-works/connect/claude.md) — Add Hark as a custom connector, then enable it per chat.
- [ChatGPT](https://harkstudio.io/how-it-works/connect/chatgpt.md) — Needs a paid plan and Developer mode turned on.
- [Grok Build (xAI CLI)](https://harkstudio.io/how-it-works/connect/grok-build.md) — One command, then sign in to Hark from the browser.
- [Grok (chat app)](https://harkstudio.io/how-it-works/connect/grok.md) — Paste the URL into Connectors, sign in, approve.
- [Grok Bot](https://harkstudio.io/how-it-works/connect/grok-bot.md) — No config file — ask the bot to add the server with a token.
- [xAI API (developers)](https://harkstudio.io/how-it-works/connect/xai-api.md) — Remote MCP tool in the Responses API or the xai_sdk.
- [Codex (CLI and IDE extension)](https://harkstudio.io/how-it-works/connect/codex.md) — Two commands, then sign in from the browser.
- [Cursor (editor and CLI)](https://harkstudio.io/how-it-works/connect/cursor.md) — Add a custom MCP server, then click Connect.
- [VS Code (GitHub Copilot agent mode)](https://harkstudio.io/how-it-works/connect/vscode.md) — Add a server entry; VS Code runs the sign-in for you.
- [Windsurf](https://harkstudio.io/how-it-works/connect/windsurf.md) — Add the URL in Windsurf's MCP configuration.
- [Gemini CLI and other MCP clients](https://harkstudio.io/how-it-works/connect/other.md) — Any remote Streamable HTTP MCP client with OAuth works.
- [Your own agents, scripts, and workflows (headless)](https://harkstudio.io/how-it-works/connect/headless.md) — Use a personal access token as a Bearer header.
- [Working with agents](https://harkstudio.io/how-it-works/connect/working-with-agents.md) — One command to install the session setup, then the layered model.
- [Set up from your repo](https://harkstudio.io/how-it-works/connect/from-your-repo.md) — Let the agent read your project and file the first project for you.
- [Telegram groups](https://harkstudio.io/how-it-works/connect/telegram-groups.md) — Capture ideas from a team chat, and post updates back into it.
