Browse all docs & guides
On this page
LOCAL AGENT

Create with Muse.

Add a Streamable HTTP MCP server in Muse Code with native OAuth.

AGENT PROMPT · PASTE INTO YOUR AGENT OR AUTO-READ
Read https://opengen.dev/docs/clients/muse.md and connect to OpenGen MCP at https://opengen.dev/mcp.
Check my OpenGen workspace balance, inspect `openai/gpt-image-2` for `text-to-image` and its published pricing for a 1K low-quality studio product photo of a matte ceramic teapot on dark slate, confirm the route and maxCostMicros spend cap, and wait for my approval before generating.
View raw .md ↗
Streamable HTTP MCP (OAuth DCR)

A few steps to get connected.

  1. In Muse Code, run the add and login commands below (or merge the mcpServers entry with "schema_version": 1 into ~/.config/muse/settings.json). Use --headless on remote or SSH sessions.
  2. Complete OpenGen browser sign-in and workspace consent, then run muse mcp list or /mcp inside Muse Code to confirm tools load.
  3. Hosted Meta Muse web (muse.ai) currently lists only curated prebuilt apps in Settings → Connectors (no custom MCP URL option as of 2026-11-29); use Muse Code CLI or a scoped workspace API key from /app/keys instead.
Endpoint format · use your configured gateway
https://opengen.dev/mcp
Muse Code CLI commands · review before running
muse mcp add opengen --url https://opengen.dev/mcp --user
muse mcp login opengen
Equivalent ~/.config/muse/settings.json entry
{
  "schema_version": 1,
  "mcpServers": {
    "opengen": {
      "type": "streamable-http",
      "url": "https://opengen.dev/mcp"
    }
  }
}
Try your first prompt · discovery is free
Check my OpenGen workspace balance, inspect `openai/gpt-image-2` for `text-to-image` and its published pricing for a 1K low-quality studio product photo of a matte ceramic teapot on dark slate, and wait for my approval before generating.

Instructions based on Meta AI developer documentation ↗, reviewed 2026-11-30. Client interfaces and permissions can change.

Prefer a shell workflow? Use OpenGen’s CLI and browser login →

If setup stops halfway

The browser sign-in is unavailable

Your deployment must have sign-in configured. Start at your workspace to check availability. Hosted assistants need a publicly reachable HTTPS endpoint; installing code inside their sandbox does not create a hosted connector.

I denied consent or chose the wrong workspace

Start connection again and review the paying workspace before approving. A key stays in its issued workspace. To change an agent’s workspace, revoke its old authorization and sign in again with the intended selection.

Local login expired or was interrupted

Run opengen doctor using the installed CLI. Sign in again when expired or revoked. A stale profile lock requires checking that no OpenGen process is active before removing it; never bypass token-reuse checks or share the profile.

I want to disconnect

Revoke the connected app in OpenGen’s workspace, then remove its client configuration. For OpenGen’s CLI, opengen logout revokes before deleting the private profile. If revocation fails, keep the profile and retry.