For your agent · MCP

Run ToMarket with your agent.

ToMarket is a tool your agent calls. Tell it who you sell to in plain words; it gets back your ranked companies, each with who to reach, what to say, when and why, and a dated source for every fact. Nothing is ever sent to anyone: you and your agent decide what to do with a lead.

Step by step

Connect in three steps.

  1. Sign in and create a workspace key

    Sign in, open Settings → Agent and press Create key. It is shown once and starts with tm_. Creating a new one revokes the old one. Keep it private: save it as GTM_API_KEY in your environment.

  2. Add ToMarket to your agent

    Pick your client and paste the setup. The hosted connection needs nothing installed.

Claude Code

Hosted (nothing to install):

claude mcp add --transport http tomarket https://www.tomarket.app/api/mcp \
  --header "Authorization: Bearer $GTM_API_KEY"
Claude Desktop

Open Settings → Developer → Edit Config (claude_desktop_config.json) and add:

{
  "mcpServers": {
    "tomarket": {
      "command": "node",
      "args": ["/absolute/path/to/tomarket/mcp/server.mjs"],
      "env": {
        "GTM_API_URL": "https://www.tomarket.app",
        "GTM_API_KEY": "tm_your_workspace_key"
      }
    }
  }
}
Codex

Add to ~/.codex/config.toml:

[mcp_servers.tomarket]
command = "node"
args = ["/absolute/path/to/tomarket/mcp/server.mjs"]
env = { GTM_API_URL = "https://www.tomarket.app", GTM_API_KEY = "tm_your_workspace_key" }
  1. Ask in plain words

    Your agent picks the tool. The companies it gets back are the ones on your board, in the same order.

  • “Find me ten companies to sell to: <who you sell to, in one sentence>.”draft_icp · next_leads
  • “Who should I call today, and why?”get_today
  • “Why is the top company ranked first?”explain_rank
  • “Write the opener for today's top company.”get_outreach
  • “Log a call with today's top company: left a voicemail.”log_touch
  • “Export today's companies as a CSV for my sequencer.”export_list
  • “Turn off the hiring signals on my board.”set_signal
A standing instruction for your agent

Never get a company twice.

Before each run, pull the list of companies and people you have already contacted from wherever you track outreach (HubSpot, Attio, a Google Sheet, Instantly, Smartlead) and call suppress_contacted with them; ToMarket skips them and refills the ten.

  1. Read your outreach tracker with the tool you already have for it. For each company you contacted, take its website domain; for each person, take the address you wrote to.
  2. Call suppress_contacted with those, 100 at a time, each tagged with where it came from, for example {"domain": "example.com", "source": "agent:hubspot"}. Calling it again with the same items changes nothing.
  3. Call next_leads with your ICP. A company on your list is skipped and the next one in rank takes its place, so you still get ten.
  4. When you have worked a lead, call archive_leads with its lead_id. Run next_leads again for the next ranks: you work your way down one list per ICP, and nothing is served twice.

ToMarket never connects to a CRM itself. It only knows what your agent tells it.

Start with your first 50 leads, free.

Sign in, describe who you sell to, and your board fills. Then connect your agent to the same board.

See how it works

First 50 leads free, no credit card, no contract. If you like what you see, load more credits and pay as you go when credits open. Live runs are by invitation. Terms