接続Connect your AI

Connect Qwen Code

Qwen Code takes a remote MCP server on the command line and signs in to it through the browser.

Command line

  1. Open a terminal in any project.
  2. Copy and run the command below. Drop --scope user to add Adako to this project only.
    Add Adako
    qwen mcp add --transport http --scope user adako https://adako.ai/mcp
  3. Start Qwen Code and run /mcp. The first connection opens the Adako authorization screen in your browser.
  4. Ask Qwen Code to use Adako.
C:\Users\<you>\.qwen\settings.json on Windows, /Users/<you>/.qwen/settings.json on macOS, /home/<you>/.qwen/settings.json on Linux — the same server by hand
{
  "mcpServers": {
    "adako": {
      "httpUrl": "https://adako.ai/mcp"
    }
  }
}
API key instead of the browser sign-in
{
  "mcpServers": {
    "adako": {
      "httpUrl": "https://adako.ai/mcp",
      "headers": {
        "Authorization": "Bearer ak_live_paste_your_key_here"
      }
    }
  }
}

Replace ak_live_paste_your_key_here with the key you copied from /keys — the whole value, including the ak_live_ prefix, and nothing else around it. Create an API key.

Use httpUrl, not url: url is the SSE field. Qwen Code finds Adako’s authorization server and registers itself, so no client id is needed. Use an API key from /keys where no browser is available. The Qwen Chat desktop app keeps its own MCP settings; these steps cover the CLI.

Qwen Chat in the browser

Qwen Chat takes the same server as a connector, with no file to edit.

  1. Open Qwen Chat and go to Extensions, then Connectors.
  2. Choose + Add, pick Streamable HTTP as the server type, and fill in the name and the URL below.

    Connector name

    Adako

    MCP server URL

    https://adako.ai/mcp
  3. Select Add, then complete the Adako authorization screen in your browser.
  4. Turn the Adako connector on in a chat and ask it something.

Test it

Ask for something read-only first. This call is free and changes nothing.

first prompt
Using Adako, tell me which ad accounts are connected.

You should get back what is connected, which account is active, and two or three prompts worth trying next. If nothing is connected yet, the answer says so and links to the Accounts page.

When a write comes back as a proposal

Under the inbox policy, a write returns a proposal id and a diff instead of a result. Say “approve it” in the chat, or open Approvals and approve it there. Under direct, your confirmation in the chat is the approval.

Related pages

Last updated