# Grok (grok.com and the Grok app)

Source: https://pushary.com/docs/agents/guides/grok
Last updated: 2026-11-29

> Add Pushary to Grok on grok.com or in the Grok app with a server URL and one header, so Grok can ask you questions and send a push to your phone.

Add Pushary to Grok and Grok can ask you a question on your phone and send you a push when something is done. You answer in the Pushary app. It takes about two minutes.

## Which Grok do you use? [#which-grok-do-you-use]

| You use                             | Where it runs         | Guide                                        |
| ----------------------------------- | --------------------- | -------------------------------------------- |
| Grok on grok.com or in the Grok app | Your browser or phone | This page                                    |
| Grok Bot, the desktop app with Bots | xAI's cloud           | [Grok Bot](/docs/agents/guides/grok-bot)     |
| Grok Build, the `grok` command      | Your terminal         | [Grok Build](/docs/agents/guides/grok-build) |

## Before you start [#before-you-start]

* A paid Pushary plan for your own agents: Agent, Agent Pro or Team.
* The Pushary app on your phone, signed in to the same account, with notifications on.
* A Grok account that can add apps. On a Grok Business or Enterprise team, you need a Grok license, and an admin may need to allow it first.

## Add Pushary to Grok [#add-pushary-to-grok]

<Steps>
  <Step>
    ### Create a Pushary key [#create-a-pushary-key]

    Open [Settings > API Keys](https://pushary.com/dashboard/agent/settings?tab=api-keys) in Pushary. Click **Create Key**, name it `Grok`, and copy the key. It starts with `pk_`. Pushary shows it only once, so keep the tab open until step 3.
  </Step>

  <Step>
    ### Open Add MCP Server in Grok [#open-add-mcp-server-in-grok]

    In Grok, open **Settings**, then **Connect Apps**, then **Add MCP Server**.
  </Step>

  <Step>
    ### Fill in three fields [#fill-in-three-fields]

    | Field      | What to enter                                                             |
    | ---------- | ------------------------------------------------------------------------- |
    | Name       | `pushary`                                                                 |
    | Server URL | `https://pushary.com/api/mcp/mcp`                                         |
    | Headers    | Key: `Authorization`. Value: the word `Bearer`, one space, then your key. |

    The header value looks like this, with your own key:

    ```text
    Bearer pk_your_key_here
    ```

    Click **Add MCP**.
  </Step>

  <Step>
    ### Send a test question [#send-a-test-question]

    Start a new chat in Grok and send:

    ```text
    Use pushary to ask me "Did this reach you?" as a yes or no question, with
    agentName "Grok - Setup check". Wait for my answer and tell me what I chose.
    ```

    Your phone gets the question. Answer it. When Grok tells you what you chose, you are done.
  </Step>
</Steps>

## Tell Grok when to use it [#tell-grok-when-to-use-it]

Grok calls Pushary when you ask it to. To have it reach you on its own, add this to Grok's custom instructions (**Settings > Customize**), or paste it at the start of a chat:

```text
Pushary is connected. When a long task finishes with a result worth seeing,
call send_notification with context.type "task_complete" and a short summary.
When work fails and you cannot fix it, use context.type "error". When you need
a decision only I can make, call ask_user and wait for my answer with
wait_for_answer. Silence is never a yes. Pass agentName as "Grok - <task>".
Never send passwords, keys, codes or payment details through Pushary.
```

## What Grok can do with Pushary [#what-grok-can-do-with-pushary]

Grok uses these tools to reach you: `send_notification`, `ask_user`, `wait_for_answer`, `cancel_question`, `schedule_reminder` and `propose_scope`. See the [tools reference](/docs/agents/reference/tools).

A key from **Create Key** has full access to your Pushary workspace. With it Grok can also list your agent sessions and use the other tools your plan includes, such as the subscriber and campaign tools. Keep the key private, and revoke it when you stop using Grok.

A question asked with a key stays open until you answer it or it is cancelled. An unanswered question is never treated as a yes.

## Remove it [#remove-it]

In Grok, open **Settings > Connect Apps** and remove `pushary`. In Pushary, revoke the `Grok` key under [Settings > API Keys](https://pushary.com/dashboard/agent/settings?tab=api-keys). Grok loses access at once.

## Troubleshooting [#troubleshooting]

### Grok says it cannot reach Pushary or the tools fail [#grok-says-it-cannot-reach-pushary-or-the-tools-fail]

Check the header. The key must be `Authorization` and the value must start with `Bearer`, then one space, then the full key. If you lost the key, create a new one and paste it again.

### The question never reaches your phone [#the-question-never-reaches-your-phone]

Open the Pushary app and sign in with the same account you used to create the key. Turn notifications on. If Grok says the notification reached 0 devices, no phone is connected to that account yet. See [Receiving notifications](/docs/agents/receiving-notifications).

### Grok answers in the chat instead of asking you on the phone [#grok-answers-in-the-chat-instead-of-asking-you-on-the-phone]

Ask again and start the message with "Use pushary to". If Grok asks which apps to use, pick `pushary`.

### There is no Connect Apps or Add MCP Server [#there-is-no-connect-apps-or-add-mcp-server]

Your Grok plan or your team's settings may not allow it. On a team, ask your Grok admin to allow custom MCP servers and to give you a license.