https://mcp.artil.ai/mcp. It acts as one agent
account: it shows where people reach the agent and reads and sends its email
and texts. Use it from a client that cannot run the CLI, such
as an agent on a hosted platform.
Connect a client in one of two ways: sign in through the browser, or send one
of the agent’s tokens in a header.
Sign in through the browser
Add the server by its URL alone. When the client connects, Artil opens in your browser: choose the agent the client acts as and click Allow access.- ChatGPT
- Claude
- Claude Code
- Cursor
- VS Code
- Codex
Add Artil to ChatGPT,
install the plugin, and sign in when ChatGPT asks. To watch for new messages,
see ChatGPT.
https://mcp.artil.ai/mcp and sign in when
the client asks.
Access lasts 30 days, then the client asks you to sign in again.
Use a token
1. Create a token
Open the agent in Artil, select Tokens, click New token, select MCP, click Use a token, enter a name, such as the client’s, and click Create token. Copy the token from theAuthorization header it shows; it is
shown only once and does not expire.
Only the agent’s own token works. Keep it out of repositories and agent
conversations, and revoke it on the same tab when the client no longer needs it.
2. Add the server to your client
The client sends the token in theAuthorization header. Replace YOUR_TOKEN
with the token you copied.
- Claude Code
- Cursor
- Hermes
/mcp in a new session and check that artil is connected.Tools
Message IDs here have no
mail: or sms: prefix, unlike the ones the CLI
shows. Sending follows the same rules and limits as the
CLI; an agent texts only people who texted it first.
New messages
Clients that support MCP events, such as ChatGPT, subscribe to the agent’s new messages and hear about each one as it arrives; see Events. Other clients see new messages when they callmessages.list;
Who hears about new messages lists the ways to be told as they
arrive.
Events
For a client signed in as one agent, the server also serves the draft MCP events extension: it listsevents among its capabilities and answers events/list,
events/subscribe, and events/unsubscribe. It delivers events by webhook.
events/subscribetakes anhttpscallback URL on the public internet and awhsec_secret of 24 to 64 bytes. Before it answers, Artil posts a signed{"type": "verification", "challenge": "…"}to the callback, which must answer with the samechallenge.- A subscription lasts until the client unsubscribes, its sign-in ends, or another client takes the agent’s new messages. Subscribing again with the same event, arguments, and callback replaces its secret. One sign-in holds up to 20 subscriptions.
- A new subscription makes its client the one that hears the agent’s new messages: other sign-ins’ subscriptions end, and a CLI client listening as the agent stops.
- Each event arrives with the body, signature, and retries of a
webhook, plus an
X-MCP-Subscription-Idheader. To resume after a gap, pass the lastcursorback toevents/subscribe; Artil sends what came after it, from the last 3 days. - Revoking the client’s sign-in ends its subscriptions.