Spaces

A Messenger MCP server for your AI agent

Spaces gives your AI agent an MCP server for your own Messenger account at https://api.spacesos.com/mcp/messenger. It lists only your Messenger accounts and the tools that work on Messenger, so the agent stays on that channel. Please read Messenger's rules below before you connect.

Conversations people start

The best fit is replying to people who message your page or profile first: questions, bookings and order updates they asked for. A webhook delivers a signed POST for every new message, or your agent can check unread chats, then reply in the same chat.

What your agent can do on Messenger

These tools are listed in the Spaces docs:

  • List chats, with an option for unread only, and read messages and attachments.
  • Reply in a chat.
  • Start a chat with a user_id taken from someone in an existing chat. Use this only with people who expect to hear from you.
  • Look up a profile and check usage against Spaces' per-account limits.

One server per channel, or one for all

https://api.spacesos.com/mcp/messenger is limited to Messenger: an account from another channel is refused, and connect links are for Messenger only. https://api.spacesos.com/mcp covers every channel with the same key.

Pacing and safe retries

Spaces enforces per-account limits for every key and every agent, however the agent is prompted. New accounts warm up over their first week. Over a limit, the API returns 429 with Retry-After, and nothing was sent. Every send needs an Idempotency-Key, and the same key never sends twice.

Set up

  1. Sign up with your email and the 6-digit code Spaces sends. An agent can do this for you through the onboarding MCP server at https://api.spacesos.com/mcp/start.
  2. Add a card at checkout. Don't connect an account until checkout is finished.
  3. Connect Messenger: open the connect link ("channel": "messenger") and sign in to Facebook.
  4. Create an API key. It starts with spc_live_ and is shown only once, so store it safely.
  5. Add the Messenger MCP server https://api.spacesos.com/mcp/messenger to your agent, or call the REST API at https://api.spacesos.com/v1.

Connect Claude, ChatGPT, Cursor or Grok

Every client uses the same MCP URL, https://api.spacesos.com/mcp/messenger, with your API key as a Bearer token. Grok, Grok Bot and Cursor can also sign in with OAuth instead of a key.

ClientHow it connects
Claude CodeRun claude mcp add with the URL and an Authorization header (below).
Claude DesktopSettings, then Developer, then Edit Config: add the server with mcp-remote and your key, then restart Claude.
Claude APIPass the URL in mcp_servers with your key as authorization_token, and add an mcp_toolset.
ChatGPTAdd a custom MCP connector with the URL and the Authorization header.
CursorAdd an MCP server named spaces with the URL and header, or sign in with OAuth.
GrokUse the xAI API's MCP tool with the URL and header, or sign in with OAuth.
Grok BotConnect with OAuth: no key needed. Grok Bot finds Spaces through the OAuth discovery document and you approve access.

Claude Code, in one line:

claude mcp add --transport http spaces https://api.spacesos.com/mcp/messenger --header "Authorization: Bearer spc_live_xxxxxxxxxxxxxxxx"

OAuth discovery is at https://api.spacesos.com/.well-known/oauth-authorization-server. API keys keep working alongside OAuth.

Who you message

Pricing

Plans from $19 a month

FAQ

How do I connect Messenger to Spaces?

Open the connect link from the dashboard, the API or MCP, and sign in to Facebook.

Can the agent post or comment on Messenger?

No. On Messenger the tools are chats and messages. Posts and comments are available on LinkedIn and Instagram.

Do I need a separate key for the Messenger MCP server?

No. The same API key works on https://api.spacesos.com/mcp/messenger and on https://api.spacesos.com/mcp. Grok, Grok Bot and Cursor can also sign in with OAuth.

What does it cost?

Plans from $19 a month

Related