Stateless MCP server for AccelByte Gaming Services APIs with OpenAPI integration
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
A Model Context Protocol (MCP) server that gives AI assistants (VS Code Copilot, Cursor, Claude, Gemini, Antigravity) access to AccelByte Gaming Services (AGS) APIs through OpenAPI integration.
AccelByte hosts the AGS API MCP Server for you โ you don't need to install or run anything locally. Just point your AI assistant at your environment's MCP URL and sign in.
Paste this into your AI coding assistant โ it will fetch the install guide, ask you a couple of questions, and configure everything for you:
Works in VS Code Copilot, Cursor, Claude Code, Antigravity, and Gemini CLI.
Claude Desktop users: The simplest path is Settings โ Connectors โ Add custom connector (Name:
ags-api, URL: your MCP URL) โ no AI installer needed. See Claude Desktop below for the full instructions and the fallback for accounts where workspace policy blocks custom connectors.If you do want to use the Quick Install prompt above, switch to the Code tab first (Chat and Cowork can't edit your config file).
Prefer to do it yourself? See Manual Install below.
The URL depends on which AGS edition you're on:
| Edition | URL format |
|---|---|
| Shared Cloud | https://{studio}-{game}.prod.gamingservices.accelbyte.io/mcp/{studio}-{game} |
| Private Cloud | https://{environment-name}.accelbyte.io/mcp (or a custom domain) |
{studio} and {game} namespaces at registration. Note that {studio}-{game} appears twice in the URL.Not sure which edition you're on? Check with your AccelByte administrator.
The deployed server uses OAuth 2.0 with PKCE and Dynamic Client Registration (DCR). If your client supports DCR, you can connect to the URL directly. If not โ or if your client only supports stdio transport โ use mcp-remote as a bridge.
Need
mcp-remote? It runs vianpx. You need Node.js 18+ withnpxavailable โ verify withnpx --version. Most installers (nodejs.org, Homebrew,nvm, official Windows installer) bundlenpxvianpmautomatically, but minimal Linux distros sometimes ship Node without it; installnpmfrom your package manager if that's the case. No globalmcp-remoteinstall required.
Substitute your URL from Step 1 wherever you see <URL> below.
.vscode/mcp.json in your workspace (or user settings.json):
If you hit DCR errors, swap to: { "command": "npx", "args": ["-y", "mcp-remote", "<URL>"] }.
See the VS Code MCP documentation.
.cursor/mcp.json in your workspace (or user settings):
If you hit DCR errors, swap to: { "command": "npx", "args": ["-y", "mcp-remote", "<URL>"] }.
See the Cursor MCP documentation.
Fallback: claude mcp add ags-api -- npx -y mcp-remote <URL>.
See the Claude Code MCP documentation.
mcp_config.json in your project root:
If you hit DCR errors, swap to: { "command": "npx", "args": ["-y", "mcp-remote", "<URL>"] }.
See the Antigravity MCP documentation.
Fallback: gemini mcp add ags-api -- npx -y mcp-remote <URL>.
See the Gemini CLI MCP documentation.
Claude Desktop has two install paths. Pick the first one that works for your account:
Option A โ Custom Connector (recommended for personal / Pro accounts)
ags-api<URL> from Step 1mcp-remote.Don't see "Add custom connector"? Some Team and Enterprise plans disable custom connectors via workspace policy. If the option is missing or greyed out, use Option B.
Option B โ mcp-remote config file (fallback when custom connectors are blocked)
Edit claude_desktop_config.json:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonRestart Claude Desktop after saving.
When your AI assistant first calls a tool, it will open a browser to AccelByte to complete OAuth. Approve the consent screen and you're connected.
Once connected, your assistant has access to these tools:
get_token_infoReturns details about your authenticated session โ user ID, namespace, roles, expiration.
"What's my current user information?"
search-apisSearch AGS operations by description, HTTP method, tags, or service.
"Find APIs for user management" ยท "Search for inventory endpoints"
describe-apisGet the full schema for a specific operation โ parameters, request/response shapes, auth requirements.
"What parameters does the createItem endpoint need?"
run-apisExecute an API request. Write operations (POST/PUT/PATCH/DELETE) prompt for consent before running.
"Get my user profile" ยท "List all items in my inventory"
The server exposes 16 render tools for turning tabular data into charts, tables, and metrics inside MCP hosts that support app resources:
render_bar_chart, render_line_chart, render_area_chart, render_scatter_chart, render_histogram_chart, render_box_chart, render_heatmap_chartrender_pie_chart, render_donut_chart, render_waterfall_chart, render_funnel_chart, render_gauge_chart, render_state_timeline_chartrender_table, render_metric, render_meterAll render tools require a provider:
provider="facade" reads Athena Facade results by query_id + namespaceprovider="direct" renders small inline datasets from data_columns + data_rowsThe typical Athena Facade flow:
run-apis to submit a query via POST /afs/v1/admin/namespaces/{namespace}/queries, preferably with wait_ms=0 if you plan to render by query_idGET /afs/v1/admin/namespaces/{namespace}/queries/{id} until status="SUCCEEDED"query_id to a render_* tool with provider="facade"If the submit returns 200 with inline rows on the fast path, render those rows directly with provider="direct".
See docs/ARCHITECTURE.md for the render-tool input matrix and the Athena Facade operation list.
The server also provides workflow resources and prompts. Ask your assistant about available workflows or invoke the run-workflow prompt.
mcp-remote opens a browser every timemcp-remote caches tokens under ~/.mcp-auth/. If it's re-authenticating on every launch, that directory may be unwritable or hold stale entries.
First, check permissions on ~/.mcp-auth/ (it needs to be writable by your user). If permissions look fine, the cache may be stale โ back the directory up (e.g. mv ~/.mcp-auth ~/.mcp-auth.bak) and retry. Restore the backup if the move doesn't help. Note: removing the cache will sign you out of every MCP server you've authenticated with via mcp-remote, not just this one.
Your client may not yet support Dynamic Client Registration. Switch to the mcp-remote fallback config shown above.
Your AccelByte user may not have permission for the operation you're calling. Check with your AGS administrator.
If your client connected before but now fails at sign-in โ often with a generic IAM Invalid Request page mentioning an invalid redirect URI, client ID, or target path, or an "invalid client ID" / "client ID not found" error โ the cached Dynamic Client Registration (DCR) is likely stale.
Clients that use DCR cache the IAM client ID they registered. If an administrator or an inactive-client cleanup job later removes that IAM client, the cached registration becomes invalid. The client keeps reusing the deleted client ID and authentication fails before a fresh DCR registration is ever attempted.
This is different from normal token expiry. When only your access token has expired, the client silently refreshes it or reauthorizes against the same valid client ID and you may not notice. A deleted client can't be refreshed โ you have to clear the cached registration so the client runs DCR again and registers a new one.
Recovery โ clear the cached authentication for the ags-api server, then sign in again:
/mcp, select the ags-api server, and choose Clear authentication. Then reconnect (via /mcp or by restarting) to trigger a new sign-in.codex mcp logout ags-api, then codex mcp login ags-api.mcp-remote clients: see mcp-remote opens a browser every time above for clearing the ~/.mcp-auth/ cache.Clearing authentication only removes the local OAuth state (the cached registration and tokens) for this one server and requires you to sign in again โ it creates a fresh DCR registration and restores access. You do not need to remove and re-add the MCP server, and you should not wipe all MCP credentials globally unless your client offers no way to clear a single server on its own.
Looking for V1? See docs/v1/README.md (legacy; stdio + server-managed OAuth).
This repository is published as-is. We don't accept external pull requests at this time. For bug reports and questions, please open an issue.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ags-api)<a href="https://allmcps.com/mcp/ags-api"><img src="https://allmcps.com/api/badge/ags-api?style=directory" alt="AGS API on AllMCPs" /></a>