Grok
Use Thirdfy in Grok. Add it as a custom connector and sign in with your Thirdfy account, hand tasks to Grok Bot, or call Thirdfy from the xAI API with an agent key.
Talk to Grok, and your agent reads markets and trades for you. Add Thirdfy to Grok once as a custom connector and sign in with your Thirdfy account. Then ask in plain words: check your venues, find trending tokens, get a quote, or preview a swap. Thirdfy asks you to confirm every trade before it runs.
| You use | Start at |
|---|---|
| Grok chat at grok.com | Add Thirdfy to Grok |
| Grok Bot, xAI's agent that works on its own | Grok Bot |
| Your own app on Grok models | xAI API |
What you need
- A Grok account at grok.com. On Grok Business or Enterprise, a team admin may need to provision the connector first. Check xAI's connector docs for your plan.
- A Thirdfy account. You can create it while you connect.
- A browser that allows pop-ups from grok.com. Grok opens the Thirdfy sign-in in a pop-up.
- Funds in your agent's wallet, if you want to trade. You can read and preview without them.
1. Add Thirdfy to Grok
Open grok.com/connectors. Click New Connector, then Custom.
Name it Thirdfy, paste https://mcp.thirdfy.com/mcp as the Server URL, and click Add Connector.
If these options look different, xAI may have moved them. Follow xAI's current connector docs.
2. Sign in and pick your agent
Grok opens the Thirdfy sign-in page (auth.thirdfy.com) in a pop-up and waits:
In the pop-up, sign in with email, Google or a wallet, the same way you do on thirdfy.com. Then:
- Pick your agent, or click Create a new agent and give it a name. Each agent has its own wallet. Grok acts for this one agent only.
- Tick Trade within your agent's limits if you want Grok to place trades. Without it Grok can only look, and it asks you to sign in again before its first trade.
- Keep Stay connected on if you don't want to sign in again for up to 30 days (it ends after 14 days unused).
- Click Approve.
Read is always granted. It lets Grok see actions, balances, positions and venue readiness.
Thirdfy now shows under Connected on the connectors page:
If Grok shows Connection failed, your browser probably blocked the pop-up. Allow pop-ups for grok.com and click Connect again.
3. Use Thirdfy in a chat
Start a new conversation and ask in plain words. Start your message with "Using Thirdfy" so Grok picks the right tools. Grok runs Thirdfy's read-only tools without asking first. Trades still ask you to confirm.
More to try:
A quote reads the price only. A preview shows the trade, its value, your limits and whether Thirdfy would run it, and says what's missing (funds, gas) before anything moves.
Preview, then confirm
When you ask Grok to trade, Thirdfy pauses and asks you to confirm first. Depending on what Grok supports, you see a confirmation form, or Grok shows a summary of the trade and asks whether to go ahead. Nothing runs until you say yes. The confirmation is valid for 5 minutes; if you say no, or don't answer, nothing is sent.
Grok Bot
Grok Bot is xAI's agent that works on its own: you hand it a task, and it comes back with the work done. It needs a Grok plan that includes Grok Bot (Premium at the time of writing), and it uses the connectors you add in Grok, so add Thirdfy as above first.
Grok Bot works without you watching, so pick how much it may do on its own:
| Way | How | What Grok Bot can do |
|---|---|---|
| Sign in with Thirdfy (recommended to start) | Complete the Thirdfy sign-in pop-up. Pick your agent and choose Read, and Trade if you want it to trade | Read anything. Each trade asks you to confirm before it runs |
| Agent key as a Bot secret | If Grok Bot asks for a secret or header, store Authorization: Bearer agent-... with your agent key from thirdfy.com/connect (Agent key; shown once) | Read and trade in one step, inside the agent's limits, without asking you each time |
With an agent key, Grok Bot can place trades without asking you first. Before you give it a key, set your agent's per-trade and daily limits and the actions it may run on its Policy page. Use a separate agent with only the funds you want it to use.
Give it a task, starting with "Using Thirdfy":
To stop an agent key, open thirdfy.com/connect and click Create a new key to rotate it, or Revoke and pause.
What happens before every trade
- Your agent's limits apply. Per-trade and daily limits, and the actions you allow, are checked on every trade, whoever asks. Anything outside them is refused.
- Venues are checked. Thirdfy refuses a venue order when the venue isn't ready, and says why.
- Signed in with Thirdfy: each trade stops for your confirmation. With an agent key: trades run in one step, so the limits are your guard.
To see or end Grok's access, open auth.thirdfy.com/connections and click Revoke.
xAI API
To call Thirdfy from your own app on Grok models, add it as a remote MCP tool in the xAI API; xAI handles the connection. See xAI's Remote MCP tools. This path uses a Thirdfy agent key (agent-...) instead of sign-in. Create it at thirdfy.com/connect, under Agent key. It is shown once.
Put the key in authorization. Thirdfy receives it as Authorization: Bearer agent-....
The xAI API runs MCP tool calls without asking you first (it doesn't support require_approval), and with an agent key Thirdfy writes run in one call. Keep control in two places:
allowed_tools(allowed_tool_namesin the xai-sdk): list only the tools the task needs. Without it every Thirdfy tool loads, which also fills the model's context. For a research agent, allow onlygetActionsCatalog,getProviderActionsandagentRun.- Your agent's policy: its action allowlist and daily limit apply to every call, whatever the model asks for.
If something goes wrong
| What you see | What to do |
|---|---|
| Connection failed after you click Connect | Allow pop-ups for grok.com and click Connect again |
| You can't add a custom connector | On Grok Business or Enterprise, ask your team admin. Otherwise check xAI's connector docs |
Grok asks you to sign in again before a trade, or insufficient_scope | You granted Read only. Reconnect and tick Trade |
| Grok or Grok Bot doesn't use Thirdfy | Start with "Using Thirdfy", and check Thirdfy is under Connected at grok.com/connectors |
| A venue isn't ready | Ask Grok what's missing. Fund the agent's wallet or finish venue setup |
| An action is not allowed for this agent | Allow it on the agent's Policy page, or pick another agent |
401 Authentication required (agent key) | Pass the key in authorization, or as the full header value Bearer agent-... in a Bot secret |
| Grok calls a tool you didn't expect (xAI API) | Narrow allowed_tools, and the agent's action allowlist |
AGENT_IDENTITY_MISMATCH | The model passed a different key in arguments. The key in the header is used |