MCP Troubleshooting
Last updated on November 11, 2026

MCP Troubleshooting

Fix an AI that can't connect, uses the wrong company, or refuses a change.

Most MCP problems come down to one of four things: the connection is gone, it belongs to a different company than you expect, it has less access than you need, or the AI tool is misconfigured. Find your symptom below.

Connecting

The sign-in page appears, but no "Connect ... to Formwork" page.
You were not signed in to Formwork. Sign in; the consent page follows immediately. If it doesn't, start the connection again from your AI tool.

No consent page at all, and the AI just works.
Your AI tool already holds a valid connection and reused it. Check Settings › API access to see it. For a different access level, revoke the old one there first, then connect again. For another company there's nothing to revoke; see "Wrong Company" below.

"Connection failed. The app sent a request Formwork cannot accept."
The AI tool started the OAuth flow with something Formwork rejects, usually a wrong redirect address or a missing PKCE challenge. This is a client configuration problem, not an account problem: remove the Formwork server from the tool and add it again exactly as in Connect Your Own AI via MCP. For Claude custom connectors, leave the OAuth client ID and secret fields empty.

I clicked Connect and nothing seems to happen in the AI tool.
The browser tab was handed back to the AI tool; look there. Claude Code and Codex show the server as connected in /mcp or codex mcp list. If the tool still says it is not authenticated, revoke the connection under Settings › API access and connect again.

"That access level is not available to you in this company."
Your role in this company is viewer, so only read access exists. Pick Read, or ask a company admin to change your role first.

"This company is archived."
Switch to an active company in Formwork before connecting.

Suddenly Unauthorized (401)

The AI worked yesterday and now gets 401 / asks me to sign in again.
The connection is no longer valid. One of:

  • it was revoked, by you or by a company admin, under Settings › API access;
  • it went unused for 30 days, which revokes it, or it expired and the AI tool could not renew it silently;
  • you are no longer a member of the company it belongs to;
  • the company was archived;
  • your account is locked after too many failed sign-ins, or was archived;
  • for API tokens: the token expired or was revoked.

A revoked or expired connection or token cannot be revived: sign in again from the AI tool, or create a new token. If the cause was your membership, the company or your account, nothing was revoked. Once that is sorted out, the same token works again, and your AI tool at most asks you to sign in once more.

My script gets 401 with a token that looks right.
Check the header reads exactly Authorization: Bearer fw_... and that the token is the full string shown at creation. Then check the token's row under Settings › API access: status must be Active, and the company must be one you still belong to. Extend it if it is about to expire; an expired token stays expired.

Wrong Company

The AI answers about the wrong company.
A connection is bound to the company you were viewing when you connected. It keeps working there even when you switch companies in Formwork. Ask the AI which company it is connected to; it knows. To work in another company, switch to it in Formwork and connect again from the AI tool; both connections then coexist and each stays in its company.

The AI's company changes when I switch companies in Formwork.
That is a connection made before 6 September 2026, which follows your active company. Revoke it under Settings › API access and reconnect to get a company-bound one.

Missing Tools and Refused Changes

"Tool not found" for create_formwork_resource, update_formwork_resource, delete_formwork_resource, upload_formwork_file or dispatch_formwork_agent.
The connection is read-only. Revoke it and reconnect choosing Read and write, or create a read-and-write token. If your role in the company is viewer, every connection is limited to reading whatever you picked, and the API access page still shows your choice; ask a company admin to change your role.

"this resource is not editable by you (it may be released, under review, or you may lack edit access)".
The item is not a draft, or your role cannot edit it. Approved documents are never edited in place: ask the AI to create a new draft version. Released records, CAPAs, incidents and change requests are amended instead: ask the AI to amend the item and tell it the reason, which becomes the amendment comment. Items under review wait until the review is done. Viewers cannot edit anything, with or without AI.

A forbidden answer on a role or another item.
Your account's permissions in this company don't allow it. Roles, for example, can only be created or changed by admins: creating one answers "you do not have settings access for this company", and changing one answers with the "not editable by you" message above. The AI has exactly your permissions, never more.

The AI won't approve, release or reject something.
By design. Those actions are not available through MCP or the assistant at all. Do them in Formwork.

"AI deletion is off. An admin can turn it on in Settings, under AI Usage."
Nobody has switched on "Allow AI to Delete Items" yet. Ask an admin to turn it on under Settings › AI Usage, or delete and archive in Formwork yourself. See The AI Badge & AI Deletion.

The AI refused to delete a few items and deleted nothing at all.
Deleting is all or nothing: when one item can't go (it is already archived, you lack permission, or Formwork wouldn't let you delete it in the app either), the AI removes none of them and lists each reason. Drop the refused items and ask again.

"the file exceeds the ... upload limit".
Inline uploads are limited to 1 MB; ask the AI to use the upload-URL path for larger files (up to 15 MB on free plans, 150 MB on paid plans). SVG images cannot be embedded inline.

"upload URL is invalid, expired, or already used".
Upload URLs work once and for 10 minutes. Request a new one.

HTTP 429.
The connection or token made more than 300 requests in a minute. Slow the script down and try again a minute later.

Searching and Reading

The AI can't find a document I know exists.
Content search matches literal text of at least three characters; long phrases miss. Ask for a shorter, distinctive word or stem ("evaluat", "nonconform"). Archived items are excluded unless you ask for them. Items in a restricted folder you cannot open are invisible to the AI too.

The AI finds a Google Doc but can't tell me what's in it.
Search covers the text of synced Google Docs: Formwork searches the PDF copy it keeps of each one, and a hit comes with a short excerpt around the match. The full document can't be read through MCP. Uploaded files and attachments are different: the AI can read PDF, Word, Excel, PowerPoint and text files. An encrypted PDF comes back unreadable, and very long files are read only up to a limit, which the AI tells you about.

The AI Assistant says "the Formwork manual does not appear to cover this yet".
It searched this manual and found nothing relevant; an AI connected via MCP gets "No relevant manual articles found." instead. Reach out in the support chat; that is also how the manual grows.

Client-Specific Notes

  • Claude (Desktop, Web): add Formwork as a custom connector with the MCP URL and nothing else. Connections show up as "Claude" in Formwork.
  • Claude Code: claude mcp add --transport http ..., then /mcp → Authenticate. The browser redirects to a localhost address on an ephemeral port; that is Claude Code receiving the authorization, not an error. Connections show as "Claude Code (formwork)" (the name includes your server alias).
  • Codex CLI: run codex mcp login formwork if the first use does not open the browser. Tokens go in an environment variable via --bearer-token-env-var, never in the config file.
  • ChatGPT: requires Developer Mode; without it the Apps menu does not offer custom MCP servers.
  • Two rows for the same app: every fresh sign-in creates a new connection; refreshes replace the old one over time. Revoke the ones whose Connected and Last used are both old; a connection that just renewed itself shows an empty Last used until its next call.

Still Stuck?

Under Settings › API access, note the app name, company, access and Last used of the connection in question, then reach out in the customer support chat in the bottom right corner with the exact error text your AI tool shows.