# How do I connect Claude Code to Omentir?
> Create a revocable API key. Point Claude Code at the MCP URL with Bearer auth. Fetch agents.md. Do not use the Claude chat connector path, and do not put LinkedIn on the terminal.
- HTML: https://omentir.com/help/how-do-i-connect-claude-code-to-omentir
- Markdown: https://omentir.com/help/how-do-i-connect-claude-code-to-omentir.md

Claude Code talks to Omentir like other coding agents: a key, not a chat connector. Create the key on the API keys page. Store it in the environment Claude Code already uses for secrets. Send Authorization Bearer on [https://omentir.com/api/agent/v1/mcp](https://omentir.com/api/agent/v1/mcp). REST lives at https://omentir.com/api/agent/v1 if you prefer HTTP.

Finish Omentir first: LinkedIn connected inside Omentir, [My Product](/features/my-product) written in two sentences a stranger would understand. Then fetch [agents.md](https://omentir.com/agents.md) before you let the session create a finder.

This is not Claude on claude.com. Chat Claude uses Settings, Connectors, and workspace approval. Pasting a Bearer token into that UI, or waiting for an OAuth screen in Claude Code, is the wrong path. Chat setup: [Claude integration](/integrations/claude). Terminal setup: [Claude Code integration](/integrations/claude-code).

Start with get_context and list_agents. If you want a new finder, ask it to show the config and wait. Creating an agent should be a named request, the same way merging a pull request is a named request.

Claude Code should never sign into LinkedIn. Caps and send stay in Omentir. The longer walkthrough is [Claude Code for LinkedIn outreach](/blogs/claude-code-linkedin-outreach).

## Related

- [Can I use Claude Code for LinkedIn outreach?](https://omentir.com/help/can-i-use-claude-code-for-linkedin-outreach.md)
- [Should I use Claude Code or Claude chat for sales?](https://omentir.com/help/should-i-use-claude-code-or-claude-chat-for-sales.md)
- [Can I use ChatGPT to write LinkedIn messages?](https://omentir.com/help/can-i-use-chatgpt-to-write-linkedin-messages.md)

## Frequently asked questions

**Can I use the same MCP URL as Claude chat?**

The hosted endpoint is the same. Auth is not. Chat uses workspace approval. Claude Code uses a revocable key.

**Where do I put the key?**

In the environment Claude Code already uses for secrets. Do not commit it. Do not paste it into a group chat.

**Does Claude Code get my LinkedIn password?**

No. It calls Omentir tools. LinkedIn stays connected inside Omentir.

**Is Cursor the same setup?**

Same key pattern, different window. See [Claude Code versus Cursor for outbound](/blogs/claude-code-vs-cursor-for-outbound).

[Create an Omentir account](https://omentir.com/signup). Pro is $49/month.
