MCP tools

The AirBuild MCP server's address, transport and protocol versions, OAuth sign-in for clients, and the errors every tool can return.

The AirBuild MCP server lets an MCP client act in AirBuild as the person who signed in: read and send chat messages, manage the Team, drive the Team’s Simulators and work on the Team’s App Store apps. This page covers what every client needs before its first tool call. For setting it up in Claude, ChatGPT, Cursor or Codex, see MCP server.

Server URL https://mcp.air.build/mcp
Transport Streamable HTTP: POST only
Sign-in OAuth 2.1 authorization code with PKCE (S256), issuer https://air.build
Scope airbuild (the only one)
Protocol versions 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26
Server name airbuild (“AirBuild”)

Transport

  • Every request is one POST to https://mcp.air.build/mcp carrying one JSON-RPC 2.0 message, with Authorization: Bearer <access token>.
  • The server is stateless. It never issues an Mcp-Session-Id, and there is no stream to open with GET: a GET on the server URL answers 405 with Allow: POST, OPTIONS.
  • Batches (a JSON array of messages) are refused.
  • Notifications and responses (messages without an id) are accepted with 202 and no body.
  • initialize answers with the protocol version the client asked for when it is one of the four above, otherwise with the newest (2026-07-28). The answer also carries short instructions for the model.
  • ping, tools/list and tools/call work as in the MCP specification. prompts/list, resources/list and resources/templates/list answer with empty lists.
  • Browser-based clients can call the server from any origin (CORS is open, and WWW-Authenticate is exposed).
  • A GET on https://mcp.air.build/ returns the server’s name and its MCP URL as JSON.

Most tools answer with one JSON response. A tool that can take minutes (today, wait_message) answers as a Server-Sent Events stream when the request’s Accept header includes text/event-stream: the stream carries a keep-alive comment every 15 seconds, a notifications/progress message whenever there is progress and the client sent a progressToken in the call’s _meta, and finally the result. Without text/event-stream in Accept, the same tool answers as plain JSON when it finishes.

Sign in with OAuth

The server holds no keys of its own: a client signs the person in on air.build and sends the access token it gets. There is nothing to configure beyond the server URL. Clients that support MCP’s authorization flow do all of this themselves:

  1. The client calls the server without a token, or with one that is no longer valid. The server answers 401 with WWW-Authenticate: Bearer resource_metadata="https://mcp.air.build/.well-known/oauth-protected-resource/mcp" and the body {"error":"invalid_token","error_description":"Sign in to AirBuild to use this connector."}.
  2. The client reads that Protected Resource Metadata (RFC 9728). It names the resource https://mcp.air.build/mcp, the authorization server https://air.build, the scope airbuild and the header bearer method. The same document is also at https://mcp.air.build/.well-known/oauth-protected-resource.
  3. The client reads https://air.build/.well-known/oauth-authorization-server (RFC 8414) for the endpoints below.
  4. A client without a client ID registers itself at the registration endpoint (Dynamic Client Registration, RFC 7591).
  5. The client opens the authorization endpoint in a browser with response_type=code, its client_id and redirect_uri, a state, a PKCE code_challenge with code_challenge_method=S256, and optionally resource=https://mcp.air.build/mcp and scope=airbuild.
  6. The person signs in to AirBuild if they are not signed in already, and sees the consent page (below). Allow sends the browser back to the redirect_uri with code, state and iss=https://air.build; Deny sends it back with error=access_denied.
  7. The client exchanges the code at the token endpoint (grant_type=authorization_code, with the PKCE code_verifier) and gets an access token and a refresh token. It sends the access token as Authorization: Bearer … on every call.
  8. When the access token expires, the server answers 401 again, and the client gets a new pair at the token endpoint with grant_type=refresh_token.
Endpoint Address
Authorization https://air.build/oauth/authorize
Token https://air.build/oauth/token
Registration https://air.build/oauth/register
Revocation https://air.build/oauth/revoke
Metadata field Value
response_types_supported code
grant_types_supported authorization_code, refresh_token
code_challenge_methods_supported S256 (a challenge is required)
token_endpoint_auth_methods_supported none, client_secret_post, client_secret_basic
revocation_endpoint_auth_methods_supported none, client_secret_post, client_secret_basic
scopes_supported airbuild
authorization_response_iss_parameter_supported true
  • The token, registration and revocation endpoints take POST only and accept calls from any origin. The token endpoint takes form-encoded or JSON bodies.
  • Refresh tokens rotate: each refresh returns a new refresh token, and the client must keep the newest one. Revoking a refresh token at the revocation endpoint ends the connection.
  • One person has one connection per app: authorizing the same app again replaces its tokens.

The page is titled Allow app name to use AirBuild as you?. It names the app, adds “AirBuild has not verified this app.” for apps AirBuild has not verified (verified apps show Verified next to their name), shows the host the browser returns to, and says the app will act as the signed-in account in every Team the person is in, with the same permissions they have there. The airbuild scope is all or nothing; it lets the app:

  • read and search chats, react, and send messages and files as the person;
  • create, rename, archive and delete Projects and group chats, download the apps Projects build, and add people and Agents to a chat or remove them;
  • hire, edit and remove Agents, and manage their Schedules;
  • rename a Team, change pictures, invite people, let in people who ask to join, remove people, and see the Team’s AI usage;
  • start and control a Team’s Simulator, install apps on it and record its screen;
  • use App Store Connect with a Team owner’s Apple account.

Use another account signs out and returns to sign-in, keeping the request. Allow and Deny finish it.

Sign-in errors

What the person or client sees When What to do
Page: This sign-in link is incomplete The authorization request is missing a required parameter Start the connection again from the client
Page: This sign-in link is too long The authorization request is too long to keep through sign-in Start again with a shorter request (fewer or shorter parameters)
Page: This app is not registered with AirBuild Unknown client_id Register the client first (step 4), then start again
Page: This app asked to return somewhere unexpected The redirect_uri is not one the client registered Use a registered redirect URI. AirBuild never redirects in this case
Page: This sign-in has expired More than 10 minutes passed between starting and finishing, or the browser lost the request Start again from the client
Page: This app is no longer available The client was disabled or its redirect URI is no longer registered Register again, or contact the client’s maker
“Another connection was started in this browser, so this page is out of date.” A newer authorization was started in another tab Finish the newest one, or start again
Redirect with error=unsupported_response_type response_type is not code Use code
Redirect with error=invalid_request (“A PKCE S256 code challenge is required.”) No code_challenge, or a method other than S256 Send an S256 challenge
Redirect with error=invalid_scope (“The only scope is airbuild.”) A scope other than airbuild Send airbuild, or no scope
Redirect with error=access_denied The person chose Deny Nothing; ask them again if they meant to allow it
413 invalid_request (“The request is too large.”) The body sent to the token, registration or revocation endpoint is too large Send a smaller body
503 temporarily_unavailable AirBuild could not be reached or could not complete the request Try again in a moment

Disconnect

Disconnecting an app under Connected apps (see MCP server) ends its access at once: its next call gets the 401 above. A client can also end its own connection by revoking its refresh token.

What a token can reach

Every call acts as the signed-in person, in the Teams they belong to, with the permissions they have there. Acts only a Team’s owner can do (renaming the Team, inviting or removing people, for example) stay the owner’s. What the person sends is their own message and wakes the Team’s Agents as if they had typed it. Reading never marks anything read.

For the Apple Developer account the App Store tools work on, see MCP server.

Tools

tools/list returns every tool with its name, title, description, inputSchema and all four annotations: readOnlyHint, destructiveHint, idempotentHint and openWorldHint. Clients that ask before changes use these. Tools that delete or remove something carry destructiveHint: true.

Area Tools
Teams and channels list_teams, list_channels, list_members
Messages read_messages, send_message, react_message, search_messages, wait_message
Attachments create_attachment_upload, complete_attachment_upload, get_attachment
Projects list_projects, create_project, rename_project, delete_project
Group chats create_group, update_group, delete_group, add_channel_members, remove_channel_member
Agents list_team_members, list_agent_templates, list_models, hire_agent, update_agent, remove_agent
Team and invites rename_team, create_invite, list_invites, revoke_invite, remove_person
Pictures start_picture_upload, finish_picture_upload, remove_picture
Simulators list_simulators, start_simulator, shutdown_simulator, simulator_displays, simulator_heal, simulator_services, simulator_logs
Simulator apps simulator_apps, simulator_install_app, simulator_launch_app, simulator_terminate_app, simulator_uninstall_app, simulator_open_url
Simulator screen simulator_screenshot, simulator_screenshot_3d, simulator_screen, simulator_describe_ui, simulator_find, simulator_wait, simulator_start_recording, simulator_recording_status, simulator_stop_recording
Simulator input simulator_tap, simulator_scroll_to, simulator_swipe, simulator_drag, simulator_slider, simulator_adjust, simulator_batch, simulator_type_text, simulator_key, simulator_button, simulator_input
Simulator settings simulator_appearance, simulator_content_size, simulator_increase_contrast, simulator_read_clipboard, simulator_write_clipboard, simulator_rotate, simulator_fold
App Store apps appstore_list_apple_teams, appstore_list_apps, appstore_create_app, appstore_app_status
TestFlight appstore_list_builds, appstore_distribute_build, appstore_list_beta_groups, appstore_create_beta_group, appstore_list_testers, appstore_invite_testers, appstore_remove_testers, appstore_beta_feedback
Review and release appstore_prepare_version, appstore_update_app_info, appstore_check_submission, appstore_submit_for_review, appstore_cancel_submission, appstore_release_version, appstore_review, appstore_reply_review, appstore_request_expedited_review
Store listing appstore_store_listing, appstore_update_store_listing, appstore_screenshots, appstore_upload_screenshots, appstore_delete_screenshots
App Privacy appstore_privacy, appstore_update_privacy
Customer reviews and sales appstore_customer_reviews, appstore_reply_customer_review, appstore_sales

The docs themselves have a separate, read-only MCP server with no sign-in: see Address and connection.

Results

A tool’s result is a JSON object, sent twice in the tools/call result: as text in content and as structuredContent. Tools that show the Simulator’s screen also return image content blocks (PNG or JPEG, base64). A refusal is a result with isError: true and one sentence in content that says what went wrong; the model can read it and try again.

Errors

Protocol errors

HTTP JSON-RPC code Message When
400 -32700 The body is not valid JSON. The body does not parse
400 -32600 Send one JSON-RPC message per request; batches are not supported. The body is an array
400 -32600 Not a JSON-RPC 2.0 message. jsonrpc is not "2.0" or method is missing
200 -32601 Unknown method method. A method the server does not have
200 -32602 Unknown tool name. tools/call names no existing tool
200 -32602 arguments must be an object. arguments is an array or not an object
401 — invalid_token No token, or the token is expired or disconnected: sign in again (above)
404 — Not found Any address other than the server URL and the metadata documents
405 — — A method other than POST on the server URL

Tool errors

Every tool checks its arguments before it runs. These sentences come back as a tool error (isError: true), with the input’s name in place of key:

Message What to do
key is required. Send the input; a string must not be empty
key must be a string. Send a string
key must be a whole number of at least 0. Send a non-negative integer
key must be a list of ids. Send an array of strings
key must be a UUID, from the list tools. Use an id a list tool returned
key is not a valid id. Use one from the list tools. Channel and Agent ids are letters, digits, ., _ and -; use one a list tool returned
key is not a valid id. The id is empty or contains a path separator
That id is not valid. Use one from the list tools. An id was refused before the call; use one a list tool returned

When AirBuild refuses a call, its own sentence comes back as the tool error: each tool’s page lists the ones a caller can act on. Others that any tool can return:

Message What to do
AirBuild answered status. Try again in a moment. AirBuild refused without a sentence; try again
AirBuild could not complete this right now. Try again in a moment. Something failed on AirBuild’s side; try again
AirBuild refused this call for your connection, though the connection itself is fine. Other tools still work; try again later. This one call was refused although the sign-in is valid; signing in again does not help
Your AirBuild connection has expired or was disconnected. Connect again. During a long call (wait_message) the token stopped working; sign in again