How do I connect an AI agent to my account?
Download MarkdownUse the hosted endpoint https://app.closemagnet.com/api/mcp with a scoped CloseMagnet credential. Your host must support remote Streamable HTTP and the documented authentication header. No CloseMagnet client-secret pair or OAuth s
Use the hosted endpoint https://app.closemagnet.com/api/mcp with a scoped CloseMagnet credential. Your host must support remote Streamable HTTP and the documented authentication header. No CloseMagnet client-secret pair or OAuth sign-in is required by that endpoint.
Start with only the read scopes needed for one safe task. Confirm the tool list loads, then inspect an actual permitted read; a listed tool does not grant access to it.
Connect an AI Agent contains the complete generic, Claude Code and Codex setup, secure credential handling and troubleshooting. Other hosts vary by version and organization policy; do not assume every MCP form can send custom headers.
Related Articles
- What can the CloseMagnet API do?It reads almost everything in your account, and what it writes is deliberately narrow. Its endpoints span 17 domains and the large majority are read-only. The ones that write do one of these things:
- How do I create an API credential?Only the account owner can mint one, and it happens at Settings -> API.
- What is the difference between my account API token and a scoped credential?Your account API token was minted automatically when the account was created. It sits pinned as the first row in Settings -> API with the type "Automatic", carries a fixed set of scopes, can be revealed again at any time, and can
- How do I rotate or revoke a credential?It depends which kind you have, and only the account owner can do either one.