Windsurf and other MCP agents
Connect Windsurf or any MCP client to Pushary with one config block, so your agent can send push notifications and ask you questions on your phone.
Updated
Windsurf and other MCP clients connect to Pushary with one config block: the server URL and your API key. MCP (Model Context Protocol) is the standard way AI apps call outside tools. Your agent then gets Pushary's notification and question tools, so it can tell you when a task finishes and ask you questions you answer on your phone.
{
"mcpServers": {
"pushary": {
"url": "https://pushary.com/api/mcp/mcp",
"headers": {
"Authorization": "Bearer pk_xxx.xxx"
}
}
}
}The agent chooses when to ask. Pushary cannot hold an action in these clients until you approve it. For enforced approvals, use an agent with hooks, such as Claude Code or Codex. Supported agents shows which ones Pushary can enforce.
Connect over MCP
Get an API key
Create one in Settings > API keys. It looks like pk_ followed by 24 hex characters, a dot, then a 48 hex character secret. Pushary shows it once, so copy it right away. See Get your API key.
Add the config block
Paste the block above into your client's MCP configuration file. Each client keeps it in a different place. Replace pk_xxx.xxx with your key.
Check the connection
Open your client's MCP settings. Pushary shows as connected, with its tools listed.
Send a test notification
Ask your agent: "Use Pushary to send me a test notification." Your phone shows it.
Prefer the terminal? npx pushary@latest setup --agents custom signs you in, saves a key, and prints the server URL and header to use.
Clients that only support stdio
Some clients cannot connect to an HTTP MCP server and only start local commands (stdio). For those, use the mcp-remote bridge, which runs locally and forwards to Pushary:
{
"mcpServers": {
"pushary": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://pushary.com/api/mcp/mcp",
"--header",
"Authorization:Bearer pk_xxx.xxx"
]
}
}
}Teach your agent when to ask
The tools alone do not tell your agent when to use them. Install the Pushary skill, a short instruction file, so your agent sends notifications and asks questions at the right moments:
npx skills add Pushary/pushary-skillTools your agent gets
The main tools are send_notification, ask_user, wait_for_answer and cancel_question. The full list depends on your key. See the tools reference.
A question blocks for up to about 55 seconds per call. While pending, the agent keeps checking with wait_for_answer and the same question id. Ordinary MCP questions without a host deadline, asked with any key except a connector's, stay open until answered or cancelled. This preserves the question; it does not restart a closed agent.
Tools that are not MCP clients
n8n, Zapier, Make and plain scripts can use the REST endpoint instead, at https://pushary.com/api/v1/server. See Connect any agent.
Next steps
Set up your phone
Install the Pushary app and turn on notifications so questions reach you.
Connect any agent over REST
Ask a human and wait from n8n, Zapier, Make or your own code.