Skip to content
Muse4AI

Type at least one word. Vietnamese works with or without accents.

    Connect OpenCode to Muse

    Configure Muse4AI as a remote-type MCP server in OpenCode while keeping requests on the same PC as your Windows app.

    Setup guide — not yet testedOn this PC
    1. 1Create a Muse4AI key

      Open Muse4AI › Settings › API & agent. Turn on the server and create an API key. Copy it now: the full key is shown only once. Keep Muse4AI running.

    2. 2Add Muse4AI to the agent

      Open opencode.json. Merge the example into any existing configuration instead of replacing other servers. Replace msk_YOUR_KEY with your key, save, and reload the agent's MCP tools.

      opencode.json
      {
        "mcp": {
          "muse4ai": {
            "type": "remote",
            "url": "http://127.0.0.1:47821/mcp",
            "headers": {
              "Authorization": "Bearer msk_YOUR_KEY"
            }
          }
        }
      }
    3. 3Check the connection

      Ask the agent: "Use Muse4AI to check status". Allow the muse_status tool call if prompted. Check that the reply reports Muse4AI status, rather than guessing.