Skip to content
grostifyConnectDocs

Sandbox

A second MCP server for your integration, pointed at your test API, so your team can try it in Claude and ChatGPT before and after it goes live.

On this page

The sandbox is a second MCP server for the same integration. It serves the draft of its tools, in Claude and ChatGPT, and calls your test API instead of your production API. While publish on save is on, the draft is what is published and it serves the same as production. With it off, it serves the unpublished changes and production keeps the published version. Use it to try changes with test data and, before the integration is live, to let your team use it while Grostify reviews it.

The sandbox address

Text
https://connect.grostify.com/t/acme/sandbox/mcp

Replace acme with your slug. The sandbox has its own sign in, its own connections, its own signing keys and its own limits. A sandbox connection never works in production, and a production connection never works in the sandbox.

Requirements of your test API

RequirementValue
AddressHTTPS on a public domain name. No IP addresses and no localhost
Port443 or 8443
CertificateValid and public. A self signed certificate does not work
NetworkReachable from the internet. A test API on a private network does not work
HostDifferent from the production host, for example stage.api.acme.com next to api.acme.com

Connect only calls the host of the test base URL, and only after you verify it. If your company has no test API, see Sandbox on production.

Set it up

Your production domain has to be verified first: the sandbox address comes from your slug.

  1. Open your integration and go to Sandbox, under Manage.
  2. Enter the Test base URL and click Save URL.
  3. Verify the test host with the same token as production. See Verify the test host.
  4. Click Turn the sandbox on.
  5. Copy the Sandbox MCP URL and add it in Claude or ChatGPT as a separate connector.

Changing the URL to another host clears its verification and its test credential, and turns the sandbox off: verify the new host, save the credential again and turn it on again. Any change of the URL, and turning the sandbox off, disconnects everyone who uses it.

Authentication

In Sandbox authentication you choose between inheriting the production one or giving it its own. Any change here disconnects everyone who uses the sandbox, and production does not change.

Inherited from production

This is the default. The sandbox uses the same mode, the same key placement and key check, or the same OAuth client and secret as production. Only the API it calls changes.

  • OAuth. Each person signs in with their production account, and that token is sent to your test API. Register the sandbox callback with your provider, next to the production one:

    Text
    https://connect.grostify.com/t/acme/sandbox/oauth/callback
  • API key. Each person pastes a key that works on your test API. Connect checks it with the same verification path, on the test host. The production keys page is not shown, so nobody creates a production key by mistake.

The sandbox consent page says it is the test environment, shows the exact test host and warns that it uses the production sign in.

Changing the production authentication, or its client secret, also disconnects everyone who uses the sandbox, whether the integration is live or not.

Its own

If your test API has another OAuth or other keys, choose Own API key or Own OAuth. The sandbox configuration is complete and independent: it inherits nothing from production.

  • Own API key. Its key placement, its verification path, the user field, the prefix of its keys and its keys page. The keys page has to use HTTPS and be on the domain of your verified test host. The sandbox key page shows that prefix and that page.
  • Own OAuth. Its client id, its endpoints, its scopes and its secret. Register the sandbox callback as a redirect URI of that client. The secret is saved in its own form, encrypted and apart from the production one: the production secret does not work in the sandbox, and the other way round. Its endpoints follow domain rules that are stricter than the production ones.

With its own authentication, the consent page does not mention the production sign in, and changing the production authentication does not disconnect the sandbox. The exception is its own OAuth on a host of the production OAuth: if you change that OAuth, or switch production to API key, the sandbox stops responding until you adjust its own, and the Authentication step warns you. Going back to inherited deletes the secret of its own OAuth.

If its own authentication is incomplete, or has an endpoint outside the allowed domains, the sandbox does not respond and the Sandbox step says so.

Test a tool against the sandbox

  1. In Sandbox test credential save a key or a token of a user of your test API. It is stored encrypted, apart from the production one and bound to the test host the form shows: if you change the host, it is deleted, and if the host changed while you were saving it, Connect does not save it. It is also deleted if you change how the sandbox credential travels: from inherited to its own or back, from API key to OAuth, or where the key goes. Do not paste the production one.
  2. Open a tool and, in Test, choose Sandbox under Test against.
  3. Click Run test.

The test calls the test base URL, on its verified host, with the sandbox authentication, inherited or its own, and with its test credential. You can test before turning the sandbox on, but not before its host is verified.

A successful test is recorded on that version of the tool as Tested in sandbox, apart from the production one, and stops counting if the sandbox configuration changes or you delete it and create it again. It does not count to enable production channels: that still needs a successful test in production (see Test a tool). With publish on save off it does count to enable Claude and ChatGPT in the draft. Owners, admins and developers can test against the sandbox, and so can support and analysts with Edit drafts, up to 120 tests per person per hour. With the sandbox on production there is no test credential and nobody tests against it from the panel.

Who can connect

Integration statusWho can connect to the sandbox
Draft or in reviewOnly the team: members of your account who can see the integration, signed in to Connect
LiveAnyone with a user on your test API, or only the approved testers if you turn the list on
SuspendedNobody. The sandbox answers 404

With the integration not live and the list on, both apply: being on the team and being an approved tester.

While the integration is not live, the consent page asks for a Connect sign in. Connect checks the member again when the connection is created, when its token is refreshed and on every request. If you remove someone from the team, or take the integration away from them, their sandbox connections stop working and are closed.

In this version a live integration only goes back to review when its authentication or client secret changes, and that change closes every sandbox connection, also the ones made while it was live (see Connected users). Those people connect again once it is live, and team members can connect while it is in review.

Testers

A test API with open sign up lets anyone in. With the tester list, only the users of your API that you approve can connect to the sandbox. You find it under Testers, in the Sandbox step.

Turn the list on

Press Turn the list on. Turning it on or off disconnects everyone using the sandbox, and whoever was connected has to connect again.

Approve an attempt

You do not need to know each person's identifier in advance:

  1. The person adds the sandbox connector in Claude or ChatGPT and connects as usual.
  2. If they are not on the list, Connect does not create the connection and shows them: "Your Acme user is not approved as a tester yet. An owner or admin can approve it in Connect."
  3. Their attempt shows up under Rejected attempts, with their identifier in large type and the email or name it came with.
  4. Press Approve. The person connects again and gets in.

The identifier is what counts: the email or name is sent by the user and is not verified, so approve by the identifier. A rejected attempt is kept for 7 days from the last try, and there are at most 200 per integration: past 200 the oldest is deleted. From a single IP address at most 20 attempts per hour are kept, and the rest are rejected the same way without showing up in the list. Connect never keeps the key or token of a rejected attempt. With the sandbox on production and OAuth, it also asks your provider to revoke the tokens of the attempt, if you set up a revocation endpoint.

Who counts as the same person

Each tester is the identifier of a user of your API together with the source of that identity:

  • API key: the base URL, the verification path and the user field.
  • OAuth: the base URL, the issuer, the client id, the user claim, the userinfo endpoint and the keys endpoint (jwksUri).
  • In both: whether the sandbox runs on production.

The same "42" can be someone else on another API. That is why changing any of those pieces empties the list and its attempts and disconnects everyone using the sandbox: the base URL, the sandbox authentication, the production one if the sandbox inherits it, or turning the sandbox on production on or off. Changing the OAuth client secret, or only where the key goes, disconnects but does not empty the list.

Tip

Choose as the user field (or as the claim in OAuth) an identifier your users cannot change, such as a numeric id. An email or a username the person can change weakens the list.

Remove a tester

Press Remove on their row. Their sandbox connections close right away: their next call fails and their token is not refreshed.

Connect checks the list when the connection is created, when the token is refreshed and on every call. Turning the list on, approving someone and the sandbox on production need a recent sign in. Removing does not. Who can do each thing is in Access and roles.

Sandbox on production

If your company has no test API, the sandbox can use the production one. Draft tools, not reviewed, then call your production API with real data, each with the user of the person using it. That is why:

  • Only the owner turns it on, with a recent sign in, by ticking the box "The sandbox will use real data". It is logged under their name.
  • The tester list is required and cannot be turned off. Turning this on empties it: approve each tester when they try.
  • There is no test credential and nobody tests against the sandbox from the panel. Test tools in production.
  • Authentication is always the production one. If the sandbox had its own, switch it back to inherited first.
  • The base URL and host are the production ones, with their verification. They do not change while it lasts.
  • With OAuth, register the sandbox callback with your provider too, as with inherited authentication.
  • Each tester sees only what their own production user already sees. In API key mode they paste their production key.

The Sandbox step marks it with a banner, the integration carries the Sandbox on production mark next to its name, and the sandbox consent page says "This test environment uses the Acme production API, with real data. Only approved testers get in."

Turning it on or off disconnects everyone using the sandbox and empties the list. When you turn it off, the sandbox stays off: save a test URL and turn it on to use it again.

From the team MCP

With the team MCP, whoever has Edit drafts creates and edits draft tools from Claude or ChatGPT and tests them with call_tool, like the panel tester and with the same limit. A successful test is recorded on the version.

With the sandbox on production, each person connects their own company user once, from a link call_tool gives them. That own connection goes through the tester list: if their user is not approved, the attempt shows up in Rejected attempts with the name of the team member who made it. It closes with every change to the sandbox setup, like every other connection.

Reports in the sandbox

Where reports are on, a report is run in the sandbox from the team MCP against the draft, and it reads your API only through the GET tools of the integration that it uses as sources. Which credential each run uses:

SandboxCredential of the run
With a test APIThe sandbox test credential, the same one call_tool and the panel tester use.
On productionYour own connection, with your company user, the one call_tool asks you to make. It has to go through the tester list like any other. Never the test credential, a shared one or the production one of someone else.

With the sandbox on production, a report reads real data with your user, and the files it produces are for you alone. If your own connection is revoked while a run is going, the run is cancelled and its links stop working. Each page a report reads counts toward the 300 requests per minute of the integration, shared with the rest of the sandbox.

What it serves

In this version the sandbox serves exactly the same tools and channels as production. Reports are the exception: they are only run from the team MCP and have no channels. Grostify does not review the sandbox: the review covers production.

Limits

ScopeSandboxProduction
Authorizations per minute and integration60300
Token requests per minute and integration120600
Requests per connection120 per minute and 2,000 per day300 per minute and 10,000 per day
Requests per integration300 per minute3,000 per minute
Registered clients per integration5050

The limits per IP address are shared by both.

Disconnect and delete

  • Each person can remove the sandbox connector in Claude or ChatGPT. You can revoke any sandbox connection in Connected users.
  • Turn off disconnects everyone, and the address answers 404 until you turn it on again.
  • Delete the sandbox disconnects everyone, deletes its registered clients and retires its signing keys. Production does not change. A new sandbox starts without the list, so with the list on only an owner or admin deletes it, and with the sandbox on production only the owner.

Who can do each thing is in Access and roles.