Server and sign-in
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
POSTtohttps://mcp.air.build/mcpcarrying one JSON-RPC 2.0 message, withAuthorization: Bearer <access token>. - The server is stateless. It never issues an
Mcp-Session-Id, and there is no stream to open withGET: aGETon the server URL answers405withAllow: POST, OPTIONS. - Batches (a JSON array of messages) are refused.
- Notifications and responses (messages without an
id) are accepted with202and no body. initializeanswers 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/listandtools/callwork as in the MCP specification.prompts/list,resources/listandresources/templates/listanswer with empty lists.- Browser-based clients can call the server from any origin (CORS is open, and
WWW-Authenticateis exposed). - A
GETonhttps://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:
- The client calls the server without a token, or with one that is no longer valid. The server answers
401withWWW-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."}. - The client reads that Protected Resource Metadata (RFC 9728). It names the resource
https://mcp.air.build/mcp, the authorization serverhttps://air.build, the scopeairbuildand theheaderbearer method. The same document is also athttps://mcp.air.build/.well-known/oauth-protected-resource. - The client reads
https://air.build/.well-known/oauth-authorization-server(RFC 8414) for the endpoints below. - A client without a client ID registers itself at the registration endpoint (Dynamic Client Registration, RFC 7591).
- The client opens the authorization endpoint in a browser with
response_type=code, itsclient_idandredirect_uri, astate, a PKCEcode_challengewithcode_challenge_method=S256, and optionallyresource=https://mcp.air.build/mcpandscope=airbuild. - 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_uriwithcode,stateandiss=https://air.build; Deny sends it back witherror=access_denied. - The client exchanges the code at the token endpoint (
grant_type=authorization_code, with the PKCEcode_verifier) and gets an access token and a refresh token. It sends the access token asAuthorization: Bearer …on every call. - When the access token expires, the server answers
401again, and the client gets a new pair at the token endpoint withgrant_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
POSTonly 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 consent page
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.
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 |