Skip to Content
Self-hostAfter it is running

After It Is Running

Your instance is up at http://localhost:3000. These steps take it from an empty workspace to a first post you have reviewed and approved.

1. Open your workspace

Open http://localhost:3000. Sign-up is on by default (BETTER_AUTH_ENABLED=true in .env.example), so create your account with the first-user steps. An email/password account needs no email provider; magic links, password resets, and invites do. See Configuration.

If you set BETTER_AUTH_ENABLED=false and NEXT_PUBLIC_BETTER_AUTH_ENABLED=false, there is no login wall: the first boot seeded one local user, one organization (slug default), and one brand, and the web UI opens straight into them.

2. Add model keys

Self-hosting has no Genfeed credits. You already configured OPENROUTER_API_KEY before startup: since v0.2.15, the container refuses to start with an empty or placeholder value. Text generation and the agent use that key. Startup validates its format; provider access still depends on your account and model access.

Add optional keys for Replicate, fal, ElevenLabs, or other supported providers as needed. Edit .env and recreate the stack, following Provider API keys. Settings checks each key with the provider before saving it, so placeholder values are rejected.

3. Connect an AI agent over MCP

Your instance serves MCP on port 3014. It does not depend on the login wall: the MCP server always requires a bearer credential.

For Claude Code, register the server, then open /mcp, select genfeed, and complete browser authorization:

claude mcp add --transport http genfeed --scope user http://localhost:3014/mcp

For other clients, create a scoped key and point the client at the same http://localhost:3014/mcp:

  1. Open http://localhost:3000/default/~/connectors/api-keys.

  2. Create a key with the MCP preset and copy it once.

  3. Export it in the client’s environment, not in the Genfeed .env:

    export GENFEED_API_KEY=gf_live_xxx codex mcp add genfeed --url http://localhost:3014/mcp --bearer-token-env-var GENFEED_API_KEY

Ask your agent to list your Genfeed brands. A successful answer confirms the connection. Details, tools, and troubleshooting are in MCP server.

4. Use the CLI against your instance

bun add -g @genfeedai/cli # needs Node.js 24 or newer export GENFEED_API_URL=http://localhost:3010/v1 export GENFEED_API_KEY=gf_live_xxx gf whoami

Use gf login -i instead if you would rather paste the key at a hidden prompt. See the CLI reference.

5. Install Agent Skills

Skills teach your agent the content discipline; MCP gives it the tools.

bunx skills add genfeedai/skills

See Agent Skills.

6. From a first brief to a published post

Genfeed is approval-first: an agent can generate and draft, and publishing waits for you.

  1. Give a brief. In your agent (or the web UI), describe the post: audience, topic, and format. Ask it to generate content with the brand’s voice. This uses the provider keys you added.
  2. Review the draft. Agents save drafts for review rather than publishing. Open the draft in the web UI to edit the copy and media.
  3. Approve it. Approve the draft in the app. A scoped key with the MCP preset can draft, schedule, and approve; it cannot publish directly.
  4. Connect a channel. Under Accounts → Add Account, connect a publishing channel. Each provider needs its own OAuth application and callback; see Publishing. Unconfigured providers fail closed.
  5. Publish or schedule. Publish the approved post, or schedule it for later.

Publish a non-sensitive test post first and confirm it in the provider’s own UI.

Where to go next

Last updated on