## For AI agents reading this page

You are reading https://fopost.com/agents/gemini. FoPost schedules and publishes social posts on 31 networks, and its hosted MCP server gives Gemini tools for posts, the calendar, the inbox and analytics. Follow these steps to connect Gemini 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; Gemini discovers the sign-in from the server.

### 1. Register the server

You cannot add the app yourself; ask the user to. On a computer, open gemini.google.com, click Settings, then Connected Apps, and under Custom apps choose Add a custom app. Enter https://api.fopost.com/mcp, click Next and leave Advanced features as they are. Custom apps need a personal Google Account and are added on the web; they then show in the mobile app too.

### 2. Sign in

Gemini opens FoPost in the browser for the user to sign in and approve access. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.

### 3. Verify before you continue

FoPost is listed under Settings > Connected Apps > Custom apps, and asking Gemini (with @FoPost) to list connected accounts returns data. 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.

### References

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