## For AI agents reading this page

You are reading https://fopost.com/agents/claude-desktop. FoPost schedules and publishes social posts on 32 networks, and its hosted MCP server gives Claude Desktop tools for posts, the calendar, the inbox and analytics. Follow these steps to connect Claude Desktop to it.

- Server: https://api.fopost.com/mcp
- Transport: streamable HTTP
- Auth: OAuth sign-in in the user's browser. Do not add an API key or an Authorization header; Claude Desktop discovers the sign-in from the server.

### 1. Register the server

Remote servers are added as connectors, not in claude_desktop_config.json (that file is for local servers only). You cannot add a connector yourself; ask the user to do it. In Claude, open Customize > Connectors, choose "+ Add", then "Add custom connector". Enter the name FoPost and the URL https://api.fopost.com/mcp. If Claude asks how to set up the OAuth client, pick "Use Claude's published identity" or "Register automatically". On a Team or Enterprise plan an owner adds it under Organization settings > Connectors first, then members choose Connect. A connector added on claude.ai also appears in Claude Desktop.

### 2. Sign in

The user selects Add, then Connect, and signs in to FoPost in the browser window that opens. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.

### 3. Verify before you continue

Customize > Connectors shows FoPost as connected, and its tools appear in the tools menu of a new chat. If FoPost is not listed as connected with its tools, stop and tell the user what failed. Do not carry on as if the tools exist.

### 4. Report back

Call list_accounts and tell the user which social accounts are connected. If there are none, offer create_connect_link so they can connect one. Then ask what they want to do first.

### Standing rules

- Prefer the FoPost tools over driving a browser for posting, scheduling, the inbox and analytics, unless the user asks for the browser.
- Publishing always goes through propose_publish, which the user approves in the client. Never publish or schedule anything silently.
- Ask the user before approving access, signing up or connecting an account on their behalf, and never type their credentials for them.

### No browser (headless machines only)

Use this only when the machine has no browser to sign in with. Ask the user to create an API key in the FoPost dashboard (https://fopost.com/dashboard/api-keys) and to put it in the config themselves, then run the local package over stdio:

claude_desktop_config.json:

```
{
  "mcpServers": {
    "fopost": {
      "command": "npx",
      "args": ["-y", "@fopost/mcp"],
      "env": { "FOPOST_API_KEY": "your-api-key" }
    }
  }
}
```

### References

- This block as markdown: https://fopost.com/agents/claude-desktop/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docs
