• Home
  • Search
  • AI Services
  • Models
  • Writing
  • Multimedia Creation
  • Translation & Others
Home›Developer Center›MYAI168 MCP Web & App

MYAI168 MCP Web & App

API DocumentationAPI Quick StartOpenAI ChatGPT APIAnthropic (Claude) APIGoogle Gemini APIGoogle Search APIGoogle News APIOpenRouter APIAPI Pricing
CLI & Agent Guidescc-switch macOScc-switch Windowscc-switch LinuxOpenCode macOSOpenCode WindowsOpenCode LinuxOpenClaw macOSOpenClaw WindowsOpenClaw LinuxHermes Agent macOSHermes Agent WindowsHermes Agent LinuxClaude Code CLI macOSClaude Code CLI WindowsClaude Code CLI LinuxCodex CLI macOSCodex CLI WindowsCodex CLI Linux
MYAI168 API & MCPMYAI168 Chat API GuideMYAI168 MCP CLIMYAI168 MCP Web & App
User GuidesGT Agent GuideAI Services Guide
No matching questions on this page.Search the whole site
MYAI168 MCP Web & App (OAuth, no developer key)

MYAI168 MCP Web & App

This page explains how to connect the web, desktop and mobile apps of ChatGPT, Claude and Gemini, and the GT Agent desktop app to MYAI168 MCP. These clients add a server by its URL and connect by signing in with your account (OAuth 2.1 authorization): you only enter your MYAI168 account and password on this site's authorization page and consent, and no developer key is needed in advance. The transport is Streamable HTTP (JSON-RPC 2.0). Each successful call deducts points automatically; no points are charged on any error.

Two ways to connect

This site's MCP service uses one endpoint URL and accepts two kinds of authentication; use whichever your client supports:

MethodHow to connectUsage is billed to
Account sign-in (OAuth)Add the server URL in the client, then enter your MYAI168 account (email) and password on this site's authorization page and consent. No developer key is needed.The account you signed in with; every connection can be reviewed and logged out on the MCP Connections page.
Developer key (API key)Send the Authorization: Bearer YOUR_API_KEY header with every request.The account that owns the key; each key can have its own credit limit.

Which page should I read

ClientHow it connectsGuide
Claude on the web (claude.ai), Claude Desktop, Claude mobile appsAccount sign-in (OAuth): sign in and consent on this site; no developer key neededThis page
ChatGPT on the web (chatgpt.com), the ChatGPT desktop appAccount sign-in (OAuth): sign in and consent on this site; no developer key neededThis page
Gemini on the web (gemini.google.com), the Gemini mobile appsAccount sign-in (OAuth): sign in and consent on this site; no developer key neededThis page
GT Agent, this site's AI Agent desktop appAccount sign-in (OAuth) in its MCP window, or a developer key in its API key fieldThis page
Command-line and editor tools such as Claude Code, Codex, OpenCode, Gemini CLI, Cursor, VS Code, OpenClaw and Hermes, and your own programsDeveloper key: the Authorization: Bearer YOUR_API_KEY headerMYAI168 MCP CLI

Endpoint

  • Endpoint: https://www.myai168.com/en/mcp/ (keep the trailing slash).
  • Auth: OAuth 2.1 authorization (PKCE). The client handles discovery, registration and token exchange automatically; you only sign in and consent on this site's authorization page.
  • The server supports both the latest MCP specification (2026-07-28) and earlier versions, so clients need no extra settings.

Before you start

  • A MYAI168 account (the email and password you sign in with) that has credits available.
  • An account for the AI app you use:
    • Claude: every plan can add custom connectors; the Free plan is limited to one.
    • ChatGPT: a Business, Enterprise or Edu plan (see "Connecting the ChatGPT desktop app").
    • Gemini: a personal Google Account that meets Google's requirements (see "Connecting the Gemini desktop app").
    • GT Agent: the desktop app installed and signed in to this site (see "Connecting GT Agent").
Connecting with a Claude custom connector (Claude.ai / Claude Desktop / mobile)

Claude's "Add custom connector" dialog comes in two layouts, depending on the account. Button and option names below are those of the English interface.

Individual plans (Free / Pro / Max)

  1. In Claude.ai or Claude Desktop, open Customize → Connectors, or go straight to https://claude.ai/customize/connectors.
  2. Click "Add custom connector" (in some layouts you first click "+" or "Add").
  3. Enter any name (for example MYAI168) and the server URL https://www.myai168.com/en/mcp/.
  4. Authentication settings depend on the layout:
    • Single screen (name, URL and "Advanced settings"): leave the OAuth Client ID / Client Secret empty and click "Add".
    • Two steps: click "Continue", choose "Sign in now" under Authentication, keep the recommended "Use Claude's published identity" under OAuth client, leave Request headers empty, then click "Add".
  5. Claude opens this site's authorization page (https://www.myai168.com/en/mcp/oauth_authorize); if it does not open automatically, click "Connect" in the connector list.
  6. On that page enter your MYAI168 account (email) and password; the optional device name helps you recognise the connection later on the MCP Connections page. Check that the redirect address shown on the page belongs to claude.ai, then click the consent button.
  7. The connection is complete once authorization succeeds.

Once added on Claude.ai, the connector is also available in Claude Desktop and the mobile apps when you sign in with the same Claude account.

Team / Enterprise plans

An organization Owner first goes to Organization settings → Connectors, clicks "Add" → "Custom" → "Web", enters the same endpoint URL and completes the authentication settings as above. Members then find the connector labelled Custom under Customize → Connectors, click "Connect" and sign in on this site's authorization page with their own MYAI168 account. Each member authorizes separately and usage is billed to each member's own account.

Use it in a conversation

  • Use "+" → "Connectors" in the message box to turn this site's tools on or off for each conversation.
  • Just ask in plain language and Claude decides from the tool descriptions when to call a tool; you can also name it, for example "use the MYAI168 tool to …".
  • Claude asks for approval the first time it wants to call a tool; choose "Always allow" for tools you trust.
  • To block a tool you do not need, select the connector under Customize → Connectors and set that tool's permission to "Blocked".

Edit or remove the connector

You can edit the connector's name and URL. Authentication settings cannot be changed after the connector is added — remove it and add it again instead. After removing it, check on this site's MCP Connections page that the connection has been logged out (see "Managing connections, credit limits and billing").

Security note

For security, every time you add or reconnect the connector you must enter the correct MYAI168 account and password on the spot; an existing website sign-in is not reused. Every tool call afterwards is billed to the account you authorized.

Command-line and editor tools should connect with a developer key instead; see the MYAI168 MCP CLI page.

Connecting Claude with a developer key (Request headers, optional)

Claude's custom connectors also offer "Request headers", which lets you connect with a developer key instead of OAuth. The feature is in beta and available to a limited set of organizations: if the "Add custom connector" dialog has no Request headers section, your account does not have it yet — use the OAuth method above.

  1. Open "Add custom connector" as in the previous question, enter the name and the endpoint URL, then click "Continue".
  2. Under Authentication choose "No sign-in".
  3. Add one entry under Request headers: choose the header name authorization and enter Bearer YOUR_API_KEY as the value — include Bearer and the space, because Claude sends the value exactly as entered.
  4. Click "Add".
  • Create the key on the Developer Keys page: https://www.myai168.com/en/ai/user/developer
  • Every call is billed to the account that owns the key; setting a credit limit on the key is recommended.
  • On Team and Enterprise plans the key is shared by everyone in the organization — every member's calls are billed to the same account. Use OAuth when each member should be billed separately.
  • The key cannot be viewed again in Claude after saving; to change it, remove the connector and add it again.
Connecting the Claude desktop app (Claude Desktop, account sign-in)

Claude Desktop (macOS / Windows) shares its custom connectors with Claude on the web: add the connector in Claude Desktop itself, or add it on Claude.ai and use it in Claude Desktop signed in with the same Claude account. The connection is made from Anthropic's servers, not directly from your computer to this site. Button and option names below are those of the English interface.

Add the connector

  1. Download and install Claude Desktop from the Claude website and sign in with your Claude account.
  2. Open Customize → Connectors and click "+ Add" → "Add custom connector".
  3. Enter any name (for example MYAI168) and the server URL https://www.myai168.com/en/mcp/, then click "Continue".
  4. Review the authentication settings Claude detected and click "Continue": choose "Sign in now" under Authentication, keep the recommended "Use Claude's published identity" under OAuth client, leave Request headers empty and click "Add". If you see the single-screen layout instead, leave the OAuth Client ID / Client Secret empty and click "Add".
  5. Claude Desktop opens this site's authorization page: enter your MYAI168 account (email) and password, check that the redirect address shown belongs to claude.ai, click the consent button and return to Claude Desktop. If the page does not open, click "Connect" in the connector list.

Check and use it

  • "+" → "Connectors" at the lower left of the message box lists this connector and its tools, and turns it on or off for each conversation.
  • On Team / Enterprise plans an organization Owner adds the connector first (see "Connecting with a Claude custom connector"); members then click "Connect" under Customize → Connectors in Claude Desktop and authorize with their own MYAI168 account.
  • To connect with a developer key instead, see "Connecting Claude with a developer key".

Claude Desktop also runs "local MCP servers" (Extensions), which are programs on your own computer and a separate mechanism from this site's remote connector; use the custom connector above to connect to this site.

Connecting the ChatGPT desktop app (account sign-in)

ChatGPT connects custom MCP servers as plugins and authorizes them by account sign-in (OAuth), so no developer key is needed. According to OpenAI's current documentation, a custom MCP server can only be added in ChatGPT on the web (chatgpt.com); once added and installed, it is available in the ChatGPT desktop app (macOS / Windows) signed in with the same ChatGPT account. Button and option names below are those of the English interface.

Eligible plans

  • Full custom MCP support is available on ChatGPT Business, Enterprise and Edu. On Business plans only workspace admins and owners can add a server; on Enterprise / Edu plans admins can also allow selected members to add one (the workspace permission "Create plugins with MCPs").
  • Pro plans can currently use read-only tools only. This site's AI module tools call a model and deduct points, so ChatGPT treats them as action tools, and Pro plans cannot use them.
  • Other plans cannot add custom MCP servers at present.

Add the server

  1. Open https://chatgpt.com in a browser and sign in (on a workspace plan, switch to the workspace you want first), then open Plugins.
  2. Click the plus button and choose "Add custom MCP server".
  3. Enter any name (for example MYAI168); the description is optional. Under Connection, enter the server URL https://www.myai168.com/en/mcp/.
  4. Choose "OAuth" for Authentication and leave the Client ID / Client Secret empty. Keep the default client registration: this site supports both Client ID Metadata Document (CIMD) and Dynamic Client Registration (DCR).
  5. Read the risk warning, tick "I understand and want to continue", click "Create as a plugin" and review the tools ChatGPT discovered.
  6. Install the plugin. When ChatGPT asks you to connect (during creation, installation or the first use), it opens this site's authorization page: enter your MYAI168 account (email) and password, check that the redirect address shown belongs to chatgpt.com and click the consent button.
  7. To let other workspace members use it, an admin or owner publishes it in the admin console; each member authorizes with their own MYAI168 account when connecting, and usage is billed to each member's own account.

Use it in the ChatGPT desktop app

  • Download and install the ChatGPT desktop app from the OpenAI website and sign in with the same ChatGPT account (on a workspace plan, switch to the workspace where the plugin was added).
  • Start a new chat, type "@" in the message box, select the plugin and describe what you need; you can also name the tool in your message.
  • This site's tools are action tools, so ChatGPT asks you to confirm each call; you can choose to remember your approval for the conversation, and a new conversation asks again.
  • After this site adds or changes tools, open the connection in Plugins and click "Refresh"; a version already published to a workspace must be refreshed and published again by an admin.

When you no longer use it, uninstall the plugin and disconnect it in Plugins, then log the connection out on this site's MCP Connections page (see "Managing connections, credit limits and billing").

Connecting the Gemini desktop app (current limits and alternatives)

According to Google's current documentation, Gemini's custom apps (custom MCP servers) can only be added in the Gemini web app (gemini.google.com) and are then available in the Gemini web app and mobile apps; the Gemini desktop app (macOS / Windows) does not support custom MCP servers at present. On a computer, open the Gemini web app in a browser instead and connect to this site by account sign-in (OAuth); no developer key is needed.

Requirements (Google's current limits)

  • You are 18 or over and in the US.
  • You sign in to Gemini with a personal Google Account; work and school accounts are not supported yet.
  • Keep Activity is on.
  • The feature is available in English only for now.

If you do not meet these requirements, the option to add a custom app does not appear. In that case use ChatGPT or Claude (see the previous questions), or a command-line tool that connects with a developer key (see the MYAI168 MCP CLI page).

Add the server (when eligible)

  1. Open https://gemini.google.com in a browser on your computer and sign in with your personal Google Account.
  2. Click "Settings" → "Connected Apps" at the bottom left; if "Connected Apps" is not there, first click "Personal Intelligence" → "Connected Apps".
  3. Under "Custom apps", click "Add a custom app" (for the first app, use the "Add a custom app link to get started" field).
  4. Enter this site's MCP server URL https://www.myai168.com/en/mcp/. This site supports Dynamic Client Registration (DCR), so you do not need to open "Advanced features" or enter any credentials.
  5. Click "Next" and follow the on-screen instructions. When Gemini opens this site's authorization page, enter your MYAI168 account (email) and password, check that the redirect address belongs to Google and click the consent button.

Use and disconnect

  • Type "@" in the message box and select the custom app so that Gemini uses this site's tools.
  • Gemini asks you to confirm manually before any action that changes data.
  • To disconnect: "Settings" → "Connected Apps" → "Custom apps", find this site and click "More details" → "Disconnect"; choose "Remove app" when you no longer use it. Then log the connection out on this site's MCP Connections page.
Connecting GT Agent (account sign-in or developer key)

GT Agent, this site's AI Agent desktop app, adds MYAI168 MCP in its MCP window and connects by signing in with your account (OAuth) or with a developer key. Button names below are those of GT Agent's English interface; the Taiwan interface shows them in Traditional Chinese.

Add the server

  1. In GT Agent's side bar, click "MCP…" (below "Knowledge bases…") to open the MCP Servers window, then click "New…".
  2. Name: any name of letters, digits, - or _ (for example myai168). Type: "HTTP address (Streamable HTTP)". Address (URL): https://www.myai168.com/en/mcp/ (keep the trailing slash).
  3. Leave "API key" empty to sign in with your account. Keep "Enable this server" ticked; tick "Ask me before each call of its tools" if GT Agent should ask once per conversation before it uses this site's tools. Click "Save".
  4. Select the server and click "Sign in". This site's authorization page opens in your default browser: enter your MYAI168 account (email) and password and consent. GT Agent never sees the password; the status then shows "· Signed in".
  5. Click "Test" to connect at once and list this site's tools.

With a developer key instead: paste the key into "API key" (GT Agent sends it as the Authorization: Bearer header); no sign-in is needed then.

Use it

  • Ask in a conversation as usual. Each task connects the enabled servers first, and GT Agent uses this site's tools when they fit; a gray line "MCP: myai168 · tool name" shows each call.
  • Images, audio, video and other files the tools produce come inside the tool result (up to 100 MB per result), and GT Agent saves them into the conversation's folder and tells you where.
  • If you skip "Sign in", the first tool call opens the sign-in page by itself and goes on after you sign in.

Sign out or remove

"Sign out" in the MCP Servers window forgets the sign-in, and "Delete" removes the entry. Each sign-in is also listed on this site's MCP Connections page, where it can be logged out (see "Managing connections, credit limits and billing").

Available tools and arguments

Every AI module this site shares over MCP is exposed as a tool, and the client lists them automatically after connecting.

Tools currently shared on this site (generated from this site's settings; the authoritative list is what tools/list returns):

Tool nameNameNote
gpt_image_2_6_flareGPT Image 2.6 Flare Generation—
gpt_image_2_5_flareGPT Image 2.5 Flare Generation—
gpt_image_2_6_sunburstGPT Image 2.6 Sunburst Generation—
gpt_image_2_5_sunburstGPT Image 2.5 Sunburst Generation—

Common arguments: input (required, the prompt / instruction / content), search_internet (optional, true searches the web first when the module supports it), reasoning_effort (optional, none / low / medium / high) and session_id (optional, continues the previous conversation). Modules that need files also take images / documents / audio arguments (a call missing required media fails immediately and is not charged); clients such as Claude usually fill these in from the tool descriptions. For the full argument table, see "Tool arguments" on the "MYAI168 MCP CLI" page.

Managing connections, credit limits and billing

Manage and disconnect

Sign in to this site and open the MCP Connections page (https://www.myai168.com/en/ai/user/mcp_sessions) to:

  • See the MCP connections currently authorized (client name, the device name entered when authorizing, created and last-used time, IP).
  • Log out one connection or all of them — a logged-out client fails on its next call and must be authorized again.
  • Set an account-level "MCP credit limit" (0 = unlimited) and see the credits used; once the limit is reached MCP calls return HTTP 403 with MCP credit limit reached!, and raising the limit lets you continue.

Each completed authorization adds one connection (reconnecting the same client adds another). Connections do not expire by themselves, so log out the ones you no longer use on this page. Changing your MYAI168 password also disconnects every MCP connection of the account.

Billing

Each successful call deducts points according to usage; no points are charged on any error. With insufficient credits the reply is Insufficient credits. Please top up! and the model is not called.

OAuth endpoints and technical details (building your own client)

Regular users can skip this question — clients such as Claude complete the whole flow automatically. It is for developers building their own MCP OAuth client; the endpoints can also be read from the two metadata documents.

ItemValue
Protected resource metadata (RFC 9728)GET https://www.myai168.com/.well-known/oauth-protected-resource/en/mcp
Authorization server metadata (RFC 8414)GET https://www.myai168.com/.well-known/oauth-authorization-server/en/mcp
Authorization endpointhttps://www.myai168.com/en/mcp/oauth_authorize
Token endpointhttps://www.myai168.com/en/mcp/oauth_token
Dynamic client registration (RFC 7591)https://www.myai168.com/en/mcp/oauth_register
Revocation endpoint (RFC 7009)https://www.myai168.com/en/mcp/oauth_revoke
resource parameter (RFC 8707)https://www.myai168.com/en/mcp — the authorization request must carry this value.
scopemcp; add offline_access when you need a refresh token.
  • initialize and tools/list need no authentication. Calling tools/call without a token returns HTTP 401, and the resource_metadata value of the WWW-Authenticate header points at the protected resource metadata, from which a client starts the authorization flow.
  • The authorization-code flow is used and PKCE (S256) is mandatory.
  • A client identifies itself in one of two ways: dynamic registration at the registration endpoint, or the HTTPS URL of a Client ID Metadata Document used as the client_id (a public client whose token_endpoint_auth_method is none).
  • redirect_uri must be https (http://localhost or http://127.0.0.1 is accepted for local development) and must match the registered (or declared) value exactly, including the path; only the port of a local address may differ, so an app can use the port it obtained when it started.
  • Access tokens last one hour (expires_in in the response). Refreshing returns a new refresh token as well and invalidates the old one, so store the new value every time.
  • Send the token in the Authorization: Bearer header, never in the URL. Tokens of a connection stop working as soon as the user logs it out on the MCP Connections page, changes the password, or the revocation endpoint is called.

Read the metadata:

curl https://www.myai168.com/.well-known/oauth-authorization-server/en/mcp

Check the unauthenticated response (it should be HTTP 401 with a WWW-Authenticate header):

curl -i -X POST https://www.myai168.com/en/mcp/ \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"TOOL_NAME","arguments":{"input":"Hello"}}}'
Troubleshooting

The authorization page shows "This application is not authorized (invalid client or redirect URI)."

The identity or redirect address sent by the client was not accepted. With Claude, remove the connector, add it again with "Register automatically" under OAuth client and retry; with ChatGPT, delete the connection and add it again with Dynamic Client Registration (DCR) as the client registration and retry; command-line and editor tools should connect with a developer key instead (see the MYAI168 MCP CLI page).

Claude says it cannot reach the server

Make sure the URL is https://www.myai168.com/en/mcp/: it starts with https, keeps the trailing slash and has no stray spaces.

ChatGPT has no "Add custom MCP server" option

The option is offered only in ChatGPT on the web and depends on the plan and workspace permissions: on Business plans it is limited to admins and owners, and on Enterprise / Edu plans an admin must allow it. Open chatgpt.com in a browser, or ask your workspace admin to add the server.

Gemini has no option to add a custom app

The Gemini desktop app does not support custom MCP servers at present, so open gemini.google.com in a browser. The web app also requires Google's eligibility (18 or over, in the US, a personal Google Account, Keep Activity on, English); otherwise the option does not appear.

Sign-in fails on the authorization page

Enter your MYAI168 account (email) and password here, not your Claude, ChatGPT or Google account. Repeated failures are temporarily rate-limited, so wait a while before retrying; reset the password on this site first if you forgot it.

Tools worked before, then calls fail and Claude asks to reconnect

The connection has been logged out — on the MCP Connections page, by a MYAI168 password change, or by an administrator. Click "Connect" on Claude's connector page to authorize again.

The reply is "MCP credit limit reached!"

The account-level MCP credit limit has been reached. Raise it (or set it to 0 for no limit) on the MCP Connections page.

The reply is "Insufficient credits. Please top up!"

The account is out of credits; top up first. The model is not called and nothing is charged in this case.

Claude, ChatGPT or Gemini does not use this site's tools

Check that the connector is turned on for the conversation under "+" → "Connectors" and that the tool is not set to "Blocked"; you can also name the tool in your message. In ChatGPT or Gemini, type "@" in the message box and select this site's plugin or custom app. Only the tools listed under "Available tools and arguments" are provided.

I want to use a different MYAI168 account

Disconnect on Claude's connector page, click "Connect" again and sign in with the other account on the authorization page; log out the old connection on the MCP Connections page.

‹ Previous page: MYAI168 MCP CLINext page: GT Agent Guide ›
↑
Question link copied.

Other FAQ pages

API Documentation

  • API Quick Start
  • OpenAI ChatGPT API
  • Anthropic (Claude) API
  • Google Gemini API
  • Google Search API
  • Google News API
  • OpenRouter API
  • API Pricing

CLI & Agent Guides

  • cc-switch macOS
  • cc-switch Windows
  • cc-switch Linux
  • OpenCode macOS
  • OpenCode Windows
  • OpenCode Linux
  • OpenClaw macOS
  • OpenClaw Windows
  • OpenClaw Linux
  • Hermes Agent macOS
  • Hermes Agent Windows
  • Hermes Agent Linux
  • Claude Code CLI macOS
  • Claude Code CLI Windows
  • Claude Code CLI Linux
  • Codex CLI macOS
  • Codex CLI Windows
  • Codex CLI Linux

MYAI168 API & MCP

  • MYAI168 Chat API Guide
  • MYAI168 MCP CLI

User Guides

  • GT Agent Guide
  • AI Services Guide