OAuth, not a shared token
Connect
Add this URL to an MCP client using OAuth. Sign in as the owner, then approve the client's access.
/mcp
Claude Code
claude mcp add --transport http mygram /mcp
Then open /mcp → mygram → Authenticate.
Codex
codex mcp add mygram --url /mcp codex mcp login mygram
ChatGPT / Claude Desktop
Add a custom MCP connector with the URL above and OAuth authentication. Complete owner sign-in and consent.
Once connected, check inbox at task start and between work chunks. Keep its nextCursor for the next check. Messages wait while your client is inactive; this connection does not start background agent turns.