The Platform MCP server is in early access. The tools below are stable, but the set will grow. Tell your MobileBoost contact what you need next.
How Platform tests work
A Platform test is a spec: a plain-language description of the flow you want verified. Creating a test, or editing its description, automatically asks an agent to explore your app on a real device, write the pytest file, verify that it passes several times in a row, and commit it to your test repository. That committed file is what a run executes. Two things follow from this, and they shape how you prompt your agent:- Write descriptions that describe behaviour, not steps to type. Given/When/Then reads well. The agent works out the taps itself.
- A test whose automation has not been written yet cannot be run.
platform_run_testsrefuses a selection that contains one, so generate first.
Prerequisites
- A MobileBoost Platform account
- An MCP-compatible client (Cursor, Claude Code, Claude Desktop, VS Code, or any other MCP client)
- A build to test against: either an uploaded build, or an app already installed on your reserved device (see Builds)
Server details
Integrate the server
Pick your client below and follow the steps. The first time you connect, your browser opens a MobileBoost sign-in page; after that, the client refreshes tokens automatically.- Cursor
- Claude Code
- Claude Desktop
- VS Code
- Other clients
1
Open the MCP configuration
In Cursor, open Settings → MCP → Add new MCP server, or edit
~/.cursor/mcp.json directly.2
Add the Platform server
Paste the following entry:
3
Sign in
Save the file. Cursor opens a browser tab. Sign in with your MobileBoost account and approve the requested scopes. The server then shows up with a green status indicator under Settings → MCP.
Connect with an API key
A CI job or a headless agent can’t open a browser. It can use a full-access API key from Settings → API keys in the Platform app instead:Verify the integration
Once connected, ask your agent something that requires Platform data, for example:platform_list_tests and return your test library. If the call fails with an authentication error, sign out and reconnect from your client’s MCP settings.
A typical session
Everything below is one conversation with your agent. You describe the outcome; the agent picks the tools.1
Add a test
Add a Platform test: a signed-in user with an item in the basket can complete checkout with a saved card and lands on the order confirmation screen. Tag itThe agent callscheckoutandsmoke.
platform_create_test. Writing the automation starts straight away against your newest build, and the result reports how that generation went under automation.2
Watch it get written
What is the automation state of my checkout tests?
platform_list_tests filtered by tag, or platform_get_test for one test, reports none, queued, generating, ready, blocked or failed, along with any notes the agent raised while it was exploring your app. The state comes for the test as a whole and, under platforms, for iOS and Android separately, so a test that is ready on one and failed on the other shows both.3
Run the suite
Upload the build at https://ci.example.com/artifacts/app-1234.apk and run every test tagged smoke against it.
platform_upload_build returns an uploadId, and platform_run_tests starts the run and returns a runId.4
Check the result
How did that run go?
platform_get_run_status reports the overall status plus which tests succeeded, failed or were blocked.Test a PR on a device
Your agent can also hand what it just built to the MobileBoost test agent, which tries it on one of our devices and reports a verdict, bugs and evidence, with no test code written. See PR Testing on remote devices.Read what happened on the device
A session is the record of one test run through a MobileBoost SDK (XCUI, Espresso, Appium TypeScript or Python). Every step it asked the agent to take is recorded with the prompt it was given, the agent’s reasoning, the commands it issued, and the screenshot it was looking at. Useplatform_list_sessions to find sessions (filter by platform, status, test id, or a substring of either id), then platform_get_session to read the steps. It is the fastest way to answer “why did this fail?” without opening the dashboard, and it also lets an agent reconstruct what an older test actually does.
platform_get_session takes a detail level:
Long sessions are paged with
stepOffset and stepLimit, and the response reports totalSteps and hasMoreSteps.
Session tools are read-only. Nothing your agent does here can change a recorded run.
Builds
Runs and generations need an app to install. There are two ways to name one:uploadIdfor an uploaded build.platform_upload_buildtakes a public https URL (a CI artifact, a presigned storage link) and downloads the file server-side, so the URL has to be reachable from the internet and point directly at the.apk,.ipa,.zipor.tar.gz. A build that only exists on your own disk cannot travel through MCP: POST it to/uploadBuildinstead, then find it withplatform_list_builds.bundleIdfor an app that is already installed on your organisation’s reserved device, such as an App Store version on a dedicated handset. This needs the “run without a build” entitlement on your organisation. Ask your MobileBoost contact if you are not sure whether you have it.
Available tools
All tools act on your MobileBoost organisation, the one your connection is signed in to.
Clients that request only
mcp:read see the eight read tools, and the write tools are hidden from them.
Tags define your suites
platform_run_tests selects on tags, so tags are how a suite is defined. Tagging every checkout test smoke is what makes “run the smoke tests” a sentence your agent can act on.
Folders keep the library readable
Folders are a tree, and your agent can rearrange it: ask it to file the tests it has just written, or to tidy a library that has grown flat.platform_list_folders gives it the whole tree in one call, each folder with its path (Checkout / Payments) and how many tests are in it.
A folder is a label on a test, not a container that owns it, which is what makes this safe to hand to an agent:
- deleting a folder deletes no test: its subfolders move up to its own parent, its tests become unfiled, and the result says which;
- moving a folder takes its subfolders and tests with it, and a move into its own subtree is refused;
- names are for people to read, so two folders may share one; everything that refers to a folder uses its id.
platform_move_tests for a batch, or folderId on platform_create_test and platform_update_test for one test. Changing a test’s folder never starts a regeneration: it does not change what the test should do.
The same tree is on the API as /tests/folders, so what your agent files is what the dashboard shows.
Environment variables
A test that needs a login, an API key, or a staging base URL reads it from an environment variable rather than carrying it in its spec. Every variable your organisation has is set on the process that runs your tests, so generated code reads one withos.environ["STRIPE_TEST_KEY"].
Your agent can manage them end to end:
platform_list_env_varsreturns names, descriptions, and when each was last changed and last used. It is how your agent finds out that the credential a new test needs is already there, under a name it should use.platform_create_env_varstores a value under a name. Ask your agent to add one, and give it the value when it asks.platform_update_env_varrotates the value, changes the description, or both. Omit the value and only the description changes, so a note can be fixed without anyone having to find the credential again.platform_delete_env_varremoves a variable and destroys its secret.
fingerprint: a salted hash, enough to tell whether two variables hold the same credential or whether a rotation landed, and useless for anything else. Compare the fingerprint before and after a rotation to confirm it took.
Rotate rather than delete and recreate. platform_update_env_var keeps the name, keeps the variable’s history, and leaves the previous value recoverable for seven days. Deleting destroys the secret outright, and every test that reads the name then fails on a device rather than at the point you asked for it. Check lastUsedAt before deleting anything: a recent date means a run is still taking it. The name itself cannot be changed for the same reason a delete is dangerous - tests read a variable by name.
Names are reserved where they would change how tests run. Names are upper snake case, and anything the test runner or its runtime owns is refused with the reason: PATH, HOME, and every name starting with PYTHON, LD_, DYLD_, AWS_, GOOGLE_, GPTDRIVER_ and similar. Setting those would change how the test process behaves rather than what it tests. Pick a different name rather than trying to work around the refusal.
All four tools need the admin role on your MobileBoost organisation (MobileBoost staff accounts pass too), the same rule the Environment variables screen follows: the list names every secret your organisation holds. A non-admin connection sees the tools and gets a refusal explaining why. Everything here is also on that screen, under Settings > Environment variables.
These are Platform environment variables, read by the generated test code. They are not the QA Studio
{{env.KEY}} values, which are a separate feature on the QA Studio server.Verification rounds
platform_generate_test_automation takes verificationRounds: how many consecutive green runs a finished test has to produce before it is committed. It defaults to 3, and it is both the main quality dial and the main cost dial. Raise it for a flow you cannot afford to have flake, lower it when you are iterating quickly.
One platform at a time
Both platforms share one test file, so a test has one agent writing it at a time. With noplatform named, a generation writes the platforms in sequence: the first creates the file, the next adds its own selectors to it. Pass platform to write or retry a single platform, for example Android after platform_list_tests reports platforms.android.state as failed while iOS is ready. A request for a platform while either one is still generating is refused and names the busy platform; ask again once it has settled.
Scopes
The server uses the same two OAuth scopes as the rest of MobileBoost:mcp:read- list and read tests, folders, builds, runs, sessions, and environment variable namesmcp:write- create, update, delete, generate, upload, run, and manage environment variables
Platform MCP and QA Studio MCP
MobileBoost serves two separate MCP servers, and they cover different products:
Test ids are not interchangeable between them. You can connect both at once: the tool names on this server are all prefixed
platform_, which is what keeps an agent from creating a QA Studio test when you asked for a Platform one.
QA Studio MCP server
Set up the MCP server for QA Studio no-code tests.

