Testing

Try the server by hand before wiring it into your product: list the tools, call a few, and see what actually comes back.

Test locally

The MCP Inspector sends its OAuth callback to your own machine. Loopback addresses (localhost, 127.0.0.1, ::1) are always accepted as redirect URIs in a CIMD document — include one alongside your production callback when you host the document.

npx @modelcontextprotocol/inspector

Choose Streamable HTTP as the transport, enter https://api.typeform.com/mcp or your account's regional endpoint, and authorize in the browser window that opens. Then call accounts-list_accounts first, and pass the account_id it returns into everything after it.

You're connected to a real account, and there is no sandbox — every form you publish and every contact you delete is real. Use an account you don't mind breaking.

Your client_id URL must be publicly reachable. The authorization server fetches your CIMD document from the internet on every authorization flow. A document hosted at localhost or behind a firewall won't be reachable, even during local testing. Use a publicly accessible HTTPS URL for the document itself; loopback addresses are only valid as redirect_uris inside it.

Common first-run problems

SymptomCause
Connection fails immediatelyClient is configured for SSE. Only streamable HTTP is supported
Works for some users, fails for othersAccount is in another region, or behind the other EU authorization server — see Data residency
Tool call rejected for a missing account_idCall accounts-list_accounts first and pass the result through
Token stops working mid-sessionoffline_access wasn't requested, so no refresh token was issued — see Authentication
patch_form rejectedMissing or stale validation_token. Call forms-public_validate_patch first
Invalid field type or operatorOps weren't built from forms-public_get_capabilities
Analytics query rejectedField IDs are per form. Call insights-public_discover first
Form edits saved but users can't see thempatch_form doesn't publish. Call forms-public_publish_form
Page edits saved but visitors can't see themPage editing tools write to the draft. Call pages-public_publish_variant
DOMAIN_NOT_VERIFIED when routing a pageThe domain's DNS isn't verified yet. Call accounts-public_revalidate_domain once the records are in place
400 invalid_client — resolve CIMD clientDocument unreachable, returned a non-200, redirected, wasn't JSON, exceeded 5 KB, or client_id inside doesn't match the URL — see Troubleshooting invalid_client
400 invalid_request — code_challenge is requiredPKCE is required for CIMD clients. Add code_challenge and code_challenge_method=S256 to the authorization request
Document changes not taking effectCIMD documents are cached for up to one hour. Wait and retry

If you need information about an error, check out Troubleshooting and errors.

Hit something that isn't in this table? Tell us — that's how it gets fixed.