API & MCP
Work with your signals, drafts, Inbox and Pipeline from code, or let your own AI agent run them over MCP: Claude, ChatGPT, Claude Code, Cursor, Codex or any MCP client. Every call acts on one product. StealGuy itself never posts.
Authentication
Create a key in Settings → API. A key belongs to one project. Send it as a bearer token:
Authorization: Bearer sg_your_key
Limit: 60 requests per minute per key. Errors come back as JSON with a code and a message.
Signals
sources (x, linkedin, reddit, reviews; comma-separated), heat (hot, warm, hot_warm), competitor, since (ISO date), cursor, limit (1–50). Each signal has the reply and DM drafts, post_url and dm_url (X composer links with the text filled in), open_url and copy_text for Reddit, LinkedIn and reviews, and guidance.{ "kind": "reply" | "dm", "instructions": "shorter, no link" }.{ "decision": "approve", "kind": "reply", "text": "…" } returns the link to post it; { "decision": "skip", "reason": "not a buyer" } drops it.{ "kind": "reply", "url": "https://x.com/you/status/…" }. The person moves to Sent in the Pipeline and gets an Inbox thread.Inbox and Pipeline
{ "instructions": "offer a short call" } (optional).{ "text": "…" }.{ "text": "…" }.{ "contact_id": "…", "stage": "MEETING" }; Won takes mrr.Setup
POST adds one (name), DELETE /api/v1/competitors/{id} removes it.POST adds one (term), DELETE /api/v1/keywords/{id} removes it.{ "source": "reddit", "enabled": false }.Example
curl "https://stealguy.com/api/v1/signals?sources=x&heat=hot&limit=5" \ -H "Authorization: Bearer sg_your_key"
MCP server
MCP clients get the same actions as tools: list_signals, get_signal, regenerate_draft, swipe, mark_sent, list_inbox, suggest_next_reply, got_reply, log_sent_message, list_pipeline, move_stage, get_product, list_competitors, add_competitor, remove_competitor, list_keywords, add_keyword, remove_keyword, toggle_source and get_limits, plus the autopilot prompt that describes the whole loop.
Claude and ChatGPT
Add StealGuy as a connector. You sign in to StealGuy (OAuth), pick the product and allow access; there is no key to copy, and you can disconnect it any time in Settings → AI agent. The connector URL is:
https://stealguy.com/api/mcp
Claude (claude.ai or Claude Desktop): Customize → Connectors → Add custom connector, paste the URL and leave the OAuth client ID and secret empty. Add → Connect, sign in, pick the product, Allow. In a chat, turn StealGuy on under + → Connectors.
ChatGPT: chatgpt.com/plugins → + → Add custom MCP server (turn on Developer mode under Settings → Apps → Advanced settings if you don't see it). Name it StealGuy, paste the URL, choose OAuth without a client ID, accept the warning, then Create as a plugin and sign in.
In a chat, the agent hands you the ready X link and you press Post. Autopilot needs an agent that can use a browser where you are logged in, such as Claude in Chrome.
Claude Code, Cursor and Codex
The fastest setup is one command. It signs you in in your browser, connects Claude Code, Codex or Cursor, and installs the StealGuy Autopilot skill; the key stays in ~/.stealguy on your computer:
npx stealguy init
Or connect by hand. Claude Code:
claude mcp add --transport http stealguy https://stealguy.com/api/mcp \ --header "Authorization: Bearer sg_your_key"
For other clients, add this to the MCP config:
{
"mcpServers": {
"stealguy": {
"url": "https://stealguy.com/api/mcp",
"headers": { "Authorization": "Bearer sg_your_key" }
}
}
}