1. Device
  2. Phone
  3. AI

Configure MCP

Copy the service URL and user identifier, then complete the MCP connection according to your client.

See only your appGenerate your config with setup
On this page

What this step accomplishes

Let the chat software see AI Toy Bridge's tools and enable them in the current conversation. Before starting, please first connect the device.

The fastest way is to use the setup wizard: choose your software, paste the Token, and directly copy the generated configuration. This page is the complete reference.

What to fill in

Open the AI page at the bottom of the App, and in MCP configuration click any row to copy:

MCP configuration on the AI page

Item What to fill in
Transport method Streamable HTTP
Address The address copied from the App; the China version ends with .fun, the international version ends with .top
Request header X-User-Token
Request header value Your own ut_xxx, without quotes

After saving, confirm the tool list is visible, then enable it for the current assistant or conversation.

When the software supports pasting a whole configuration, click Copy full JSON:

{
  "mcpServers": {
    "ai-toy": {
      "url": "https://aitoy.funnysaltyfish.fun/mcp",
      "headers": {
        "X-User-Token": "ut_xxxxx"
      }
    }
  }
}

Anyone who gets the Token can control your device, so do not send it publicly, and cover it before taking screenshots.

If you encounter these situations

Situation What to change
The software only accepts a URL Add ?x-user-token=ut_xxx to the end of the address
Tool count is 0 (e.g., some small phones such as Whale machines) Change /mcp at the end of the address to /mcp_json
The AI refuses to execute after seeing the word "toy" Change it to /mcp_device, and refer to it as a "device" in the conversation
Both of the above occur at the same time Change it to /mcp_device_json

Only replace the path and keep the domain provided by the App. If you still cannot connect, use the troubleshooting guide to locate the issue, or post a configuration screenshot in the group (cover the Token first).

Configure by software

Web

Claude

This method also applies to the Claude mobile app and Claude desktop app.

  1. Find "Connectors" in the settings

    Find "Connectors" in the settings
  2. Add one. For the address, enter the mcpUrl copied from the App, and append ?x-user-token=ut_xxx at the end, replacing ut_xxx with your own user identifier (use the ASCII question mark); for convenience later, you can set tool calls to "Always allow"

    Add one. For the address, enter the mcpUrl copied from the App, and append ?x-user-token=ut_xxx at the end, replacing ut_xxx with your own user identifier (use the ASCII question mark); for convenience later, you can set tool calls to "Always allow"
  3. If it asks whether you allow tool calls, just select "Always allow"

    If it asks whether you allow tool calls, just select "Always allow"
  4. Then you can happily play with Claude; we look forward to your feedback in the group

    Then you can happily play with Claude; we look forward to your feedback in the group

ChatGPT

Please complete the addition in the ChatGPT web version. The account or workspace needs to allow creating custom MCPs and enable the required control tools; if there is no corresponding entry point or permission, you can first choose other MCP-supporting software listed on this page.

  1. Open Plugins, click the plus sign, and select Add custom MCP server. If you are still using the older interface, find Create under Apps in settings.
  2. For the name, enter AI Toy Bridge; for the server address, enter the mcpUrl copied from the App. If only a URL is supported, append ?x-user-token=ut_xxx to the end and replace ut_xxx with your own user identifier.
  3. Confirm and create as prompted, then wait for tool scanning to complete. Make sure you can see the AI Toy Bridge tools, then install or enable this connection.
  4. Start a new conversation, type @ to select AI Toy Bridge, and ask it to call a tool to check whether the device is online. When control is needed, confirm the tool call according to the page prompts.

Entry points and permissions may vary by version, account, and workspace settings. For additional notes, see the ChatGPT official configuration guide. Screenshots of the older version's operations are retained below; button names may differ from the current interface.

Image

When done, click Create, then connect.

Image

Confirm the required tool permissions as prompted on the page; if a control operation requires confirmation, confirm it when the call is made.

ImageImage

Just try the conversation.

Grok

Available only in text conversation mode; voice calls cannot call tools

Click the plus sign on the left side of the dialog box to create a connector. Set the name to AIToy and use the mcpUrl copied from the App as the address, appending ?x-user-token=ut_xxx to the end and replacing ut_xxx with your own user identifier (use the ASCII question mark).

Image

After adding it, try asking “Is my toy online?”.

Image

Desktop

Claude Code

First install and log in to Claude Code, then run the following command in the terminal. Replace MCP_URL_FROM_APP with the complete mcpUrl copied from the App, and replace ut_xxxxx with your own userToken, keeping the quotation marks.

claude mcp add --transport http --scope user aitoy "MCP_URL_FROM_APP" --header "X-User-Token: ut_xxxxx"

Reopen the Claude Code session and enter /mcp to check the connection status and tools for aitoy. Once connected, ask it to use the AI Toy Bridge MCP tool to check whether the device is online; if an authorization prompt appears, confirm the tool calls needed for this session.

--scope user means adding it to your user configuration so other projects can use it too. If a configuration with the same name already exists, check the original configuration first to avoid adding it twice. For more options, see the Claude Code official configuration guide.

Codex

Codex uses TOML configuration, so you cannot paste the generic JSON above directly into it. Open the user configuration file ~/.codex/config.toml, keep the existing content, and add the configuration below at the end. If [mcp_servers.aitoy] already exists, update that existing section instead of adding it again.

[mcp_servers.aitoy]
url = "MCP_URL_FROM_APP"
http_headers = { "X-User-Token" = "ut_xxxxx" }

Replace MCP_URL_FROM_APP with the full mcpUrl copied from the App, and replace ut_xxxxx with your own userToken. After saving, reopen the Codex session; in the CLI, enter /mcp to check whether the tools are loaded, then ask it to check the device's online status. The IDE or desktop interface also uses the same user configuration; after saving, reopen the session.

A successful addition only means the configuration has been saved; you still need to see actual tool calls and returned results. For more options, see the Codex official configuration guide.

Android

Some Android apps also support MCP. Several common apps are listed below.

RikkaHub

Download address: https://rikka-ai.com/, see also https://docs.rikka-ai.com/zh/extensions/mcp. This software requires you to provide your own conversation API KEY, so please find one yourself. You can also use some relay services to make it easier to switch between different models. Please choose this yourself.

Below is how to configure MCP in RikkaHub. If this is your first time using this type of software, you can also refer to RikkaHub Advanced Settings to configure the chat API first.

After the API is configured and basic chat works, you can continue to configure the MCP function by following the steps below.

One common mistake here is to make sure:

  1. The MCP URL must match the mcpUrl copied in the App
  2. The Header Key is X-User-Token
  3. Header Body is the User Token you copied above, which includes only ut_xxxxxx

Otherwise, when the User Token does not match, even if you can connect, the AI will tell you that the device is offline.

  1. Sidebar, Settings in the lower right corner

    Sidebar, Settings in the lower right corner
  2. Find the MCP configuration

    Find the MCP configuration
  3. Fill in according to the content in the image, and note that the content for X-User-Token is your own token
    Fill in according to the content in the image, and note that the content for X-User-Token is your own token
  4. After returning, make sure MCP is displayed normally and the tool list is visible

    After returning, make sure MCP is displayed normally and the tool list is visible
  5. Select the corresponding assistant, tap the avatar, and enter the configuration page

    Select the corresponding assistant, tap the avatar, and enter the configuration page
  6. Find the MCP item

    Find the MCP item
  7. Make sure AIToy MCP is enabled. If "failed to 127.0.0.1:80" appears here, save and restart rikkahub

    Make sure AIToy MCP is enabled. If "failed to 127.0.0.1:80" appears here, save and restart rikkahub
  8. Chat test

    Chat test

Operit

After you tap add mcp in operit, there are four options. Select "Remote", and then:

  • Set the name to aitoy
  • Write a brief description yourself, for example "Used to control toys"
  • Paste the mcpUrl copied in the App into "Host address"
  • Add the request header below: X-User-Token: ut_xxx (ut_xxx is the user token you copied; refer to the content above)

Once configured, it should look similar to this:

Image

In the conversation, have the AI use this MCP. Note that you must check whether the AI is actually using the MCP tool correctly rather than making things up.

Operit's mechanism can cause some AIs to make things up.

Small Phone

Refer to the following configuration for MCP in Small Phone

ImageImage

  • Set the name to aitoy
  • Enter the mcpUrl copied in the App as the URL. Some small phones (such as Whale phones) require a special MCP format; if the number of tools is 0 after connecting, change /mcp at the end of the address to /mcp_json, keeping the original domain name.
  • Select header for authentication
  • Add the request header below: X-User-Token: ut_xxx (ut_xxx is the user token you copied; refer to the content above)
  • If your small phone has "Skip Worker Proxy", please enable this option. Otherwise, traffic will go through Cloudflare Worker, which makes the traffic take a detour outside before reaching my server. After enabling skip, traffic will go directly through my server, significantly improving speed and stability.

In the conversation, have the AI use this MCP. Note that you must check whether the AI is actually using the MCP tool correctly rather than making things up.

Other MCP-Compatible Software

Software not listed on this page can also be tried using the general configuration above: remote MCP, Streamable HTTP, the service address copied in the App, and the X-User-Token request header. If the software needs to connect to the model API on its own, first confirm that both normal chat and tool calls work.

iOS

iOS users can use the official ChatGPT, Claude, and Grok apps, or connect Kelivo to the API themselves. For more apps, please search on your own. Apps that connect to the API themselves should first complete the normal chat configuration, then add MCP.

For Kelivo configuration, you can refer to RikkaHub on Android; it is basically similar. Note that you need to enable the configured MCP in the fourth button at the bottom left; otherwise, it cannot be called.

Image

Confirm Completion and Continue to the Next Step

Confirm that the chat software can display the tool list, and that AI Toy Bridge is enabled for the current conversation. Then go to Let the AI call the device and verify the configuration with a simple online check.