StealGuy
Docs · API & MCP

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

GET/api/v1/signals
People worth a message now, best first (the Swipe deck). Query: 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.
GET/api/v1/signals/{id}
One signal in full.
POST/api/v1/signals/{id}/draft
Rewrites a draft. Body: { "kind": "reply" | "dm", "instructions": "shorter, no link" }.
POST/api/v1/signals/{id}/swipe
Decides, like Swipe in the app. Body: { "decision": "approve", "kind": "reply", "text": "…" } returns the link to post it; { "decision": "skip", "reason": "not a buyer" } drops it.
POST/api/v1/signals/{id}/sent
Records that it was posted. Body: { "kind": "reply", "url": "https://x.com/you/status/…" }. The person moves to Sent in the Pipeline and gets an Inbox thread.

Inbox and Pipeline

GET/api/v1/inbox
Conversations, unread first, with the suggested next message.
POST/api/v1/inbox/{id}/suggest
Writes the next message. Body: { "instructions": "offer a short call" } (optional).
POST/api/v1/inbox/{id}/got-reply
Adds an answer that arrived where StealGuy can't read it (a DM, email). Body: { "text": "…" }.
POST/api/v1/inbox/{id}/sent
Records a follow-up you sent. Body: { "text": "…" }.
GET/api/v1/pipeline
New → Sent → Replied → Interested/Meeting → Won, with the people in each stage.
POST/api/v1/pipeline
Moves a person. Body: { "contact_id": "…", "stage": "MEETING" }; Won takes mrr.

Setup

GET/api/v1/product
The product, your accounts and which sources are on.
GET/api/v1/competitors
Competitors. POST adds one (name), DELETE /api/v1/competitors/{id} removes it.
GET/api/v1/keywords
Keywords with 30-day matches, precision, $/month and a noisy flag. POST adds one (term), DELETE /api/v1/keywords/{id} removes it.
POST/api/v1/sources
Turns a source on or off. Body: { "source": "reddit", "enabled": false }.
GET/api/v1/limits
Plan and usage.
POST/api/v1/tools/{name}
Any MCP tool over plain HTTP, with the tool's arguments as the JSON body.

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" }
    }
  }
}
StealGuy never posts and never connects to your accounts. The tools hand out links; your agent opens them in your own logged-in browser, and the message is posted from your account by you or by your agent.