LinkedIn in Gemini CLI, powered by Genfeed
Connect Gemini CLI to Genfeed for LinkedIn. Bring your brand context, media tools, and posts into one creative workflow.

01 / Gemini CLI extension
Your tools.
Now connected.
Run this command in Gemini CLI to install the Genfeed extension, including its playbook and MCP connector. Complete authentication in the client. This setup is for Gemini CLI, not the Gemini web app.
Gemini CLI extension
gemini extensions install https://github.com/genfeedai/agentPackaged Genfeed plugins already include the playbook. Use this skills-only alternative when connecting through MCP without a Genfeed plugin.
Skills-only alternative
npx skills add genfeedai/agentSkills add the Genfeed playbook. To connect your account too, paste the setup prompt into Gemini CLI with local shell access.
Setup prompt
Set up the Genfeed MCP server on this machine, with its agent playbook, for Gemini CLI.
Endpoint: https://mcp.genfeed.ai/mcp
Claude endpoint: https://mcp.genfeed.ai/mcp/claude (the connector for every Claude client).
The Claude endpoint covers brands, drafts, scheduling and analytics. For image, video and audio generation in a Claude client, add the standard endpoint above as a second server named genfeed-media.
Authentication: browser OAuth (no API key required)
Setup reference: https://github.com/genfeedai/agent/blob/main/llms-install.md
Do this end to end:
1. Inspect the selected client's existing Genfeed plugins, skills, and MCP configuration. Preserve unrelated configuration and use the existing Genfeed installation when present. Set up only this client; ask which client to use if you cannot identify it.
2. For Claude Code, install the dedicated content plugin with /plugin install genfeed --marketplace genfeedai/agent (Claude Code 2.1.275 or newer). For Claude chat, Desktop, Cowork and other Claude clients, skip playbook installation and connect through their supported OAuth flow instead. Never run skills add for any Claude client. For non-Claude clients, install the Genfeed playbook with npx skills add genfeedai/agent and select only the intended client in the installer. Skip this step if the playbook is already available through an installed Genfeed plugin, extension, or standalone skill. Installing skills alone does not configure or authenticate MCP.
3. If Genfeed MCP is not already configured, add the remote Streamable HTTP server for the selected client using browser authorization:
- Only if the selected client is Claude Code: claude mcp add --transport http genfeed --scope user https://mcp.genfeed.ai/mcp/claude
- Only if the selected client is Codex: codex mcp add genfeed --url 'https://mcp.genfeed.ai/mcp?profile=studio'
- For Codex only, equivalent user-level ~/.codex/config.toml:
[mcp_servers.genfeed]
url = "https://mcp.genfeed.ai/mcp?profile=studio"
For other clients, follow their supported remote MCP configuration. Claude and Cowork use the Claude endpoint, and add the standard endpoint above as a second server named genfeed-media only when the user asks for image, video or audio generation; other clients use the standard endpoint above. Do not duplicate a server provided by an installed plugin.
4. Only for Claude Code: Open /mcp inside Claude Code, select genfeed, and authenticate. Sign in and approve access in your browser, then return to Claude Code.
Only for Codex: Run codex mcp login genfeed if authorization did not open during setup. Sign in and approve access in your browser, then return to Codex.
For other clients, open their OAuth connection flow. Authenticate only the selected client.
5. Ask the user to complete consent in their browser. Never request tokens or passwords in this chat. If authorization is denied or expires, restart the client authorization flow.
6. Verify access with read-only get_account and get_brands calls (list my Genfeed brands); request only the profile section from get_account. A copied command, registered plugin source, or server list entry alone does not verify authorization.
7. Do not generate content, schedule, publish, or resolve approvals during setup. Report skill installation, MCP configuration, and authenticated verification separately, including any remaining user step. Claude requires OAuth. If another client does not support OAuth, direct its user to Genfeed's guided setup for the advanced manual-key path.Genfeed connector URL
https://mcp.genfeed.ai/mcpSign in to Genfeed in your browser. Then ask Gemini CLI to show your brands to check the connection.
Connect your LinkedIn account in Genfeed once to make it available to Gemini CLI.
What can you ask Gemini CLI to do on LinkedIn?
Ask in plain language. Genfeed holds posts for review before anything goes to LinkedIn.
“Draft three LinkedIn posts from my latest blog article and hold them for review.”
“Rewrite this announcement as a founder-voice LinkedIn post.”
“Schedule the approved posts for Tuesday, Wednesday, and Thursday at 9am.”
LinkedIn content Genfeed creates
Everything Gemini CLI can make for LinkedIn through Genfeed.
AI-generated thought leadership posts with hook-driven formats that drive engagement
Professional article and newsletter creation optimized for LinkedIn algorithm
Carousel document generation with data-driven insights and takeaways
Video content formatted for LinkedIn feed with professional captions
Engagement analytics tracking impressions, reactions, comments, and profile visits
Optimal posting schedule based on your professional network activity patterns
Gemini CLI and LinkedIn: frequently asked questions
Can Gemini CLI post to LinkedIn?
Yes. Once your LinkedIn account is connected in Genfeed, Gemini CLI can draft, schedule, and publish LinkedIn posts through the Genfeed MCP server.
Do I need a LinkedIn API key?
No. You connect LinkedIn in Genfeed once by signing in. Gemini CLI reaches Genfeed over MCP with browser OAuth and never sees your LinkedIn credentials.
Does Gemini CLI publish to LinkedIn without my approval?
No. Genfeed holds posts for review, and you approve before anything goes to LinkedIn, unless you set up a workflow that publishes directly.
How do I connect Gemini CLI to Genfeed?
Run this command in Gemini CLI to install the Genfeed extension, including its playbook and MCP connector. Complete authentication in the client. This setup is for Gemini CLI, not the Gemini web app.
What URL do I connect?
Connect this client to: https://mcp.genfeed.ai/mcp.
Post to LinkedIn from Gemini CLI.
Start on managed cloud, connect LinkedIn, then connect Gemini CLI with the steps above.
