AI assistants (MCP)¶
GxPStack Validate exposes a Model Context Protocol server, so an AI assistant can read your validation content and edit drafts for you.
Assistants edit drafts; people sign. An assistant can never sign, submit, review or approve anything. Those steps happen only in the web app, by a person who re-authenticates.
Connecting¶
The MCP endpoint is the same for every organization:
OAuth (recommended)¶
Add the endpoint as a remote MCP server in your assistant (for example Claude's custom connector, or in Claude Code claude mcp add --transport http validate https://validate.gxpstack.app/mcp/ and then /mcp to sign in). The assistant discovers the authorization server from the standard OAuth 2.1 metadata under /.well-known/ (oauth-protected-resource and oauth-authorization-server), opens a browser window where you sign in to Validate and approve access, and receives a token. You never paste a secret.
Bearer token¶
For clients that do not support OAuth, use a personal bearer token in the Authorization: Bearer <token> header. Create one under your user menu, MCP tokens: give it a name and an expiry (30, 90 or 365 days) and confirm it is you. The token is shown only once; copy it then and treat it like a password. Revoke it on the same page when you no longer need it.
Either way, the assistant acts as you: it sees only your organization, and only the projects you are a member of (organization owners and admins: every project, as in the web app). It needs an active subscription or trial: when your organization's subscription lapses or the organization is closed, the web app becomes read-only and MCP requests are refused.
What an assistant can do¶
| Tool | Does |
|---|---|
list_projects |
List the projects (validation projects and change requests) you are a member of, with their system and its environments. Other tools take the project's project_id. |
list_documents, get_document |
Read documents, requirements and test cases. |
rtm_gaps |
List open RTM gaps for a project. |
update_document |
Edit a draft document's title or Markdown body. |
update_sra |
Edit the System Risk Assessment answers while the SRA is draft. |
save_requirement, delete_requirement |
Create, edit or delete requirements in a draft specification, including the section they belong to. |
save_test_case, delete_test_case |
Create, edit or delete test cases in a draft Test Protocol, including their section, stage and the environments they must pass in. |
save_environment |
Create a project environment (Test, Prod, …), or change the type or description of one, by name. Renaming and deleting stay in the web app. |
revise_document |
Return an approved document to draft (version + 1) so it can be changed. |
list_library, get_library_requirement, save_library_requirement, copy_library_requirements |
Search, edit and copy from the requirement library. |
Edits need the Member role on the project and follow the same forms and locks as the web app. Every audit-trail reason written by an assistant starts with MCP:.
What an assistant cannot do¶
A token is not a re-authentication, so during an MCP request the system refuses to create any signature and refuses to move a document to in review or approved. Submitting, reviewing, approving, executing tests and closing test incidents happen only in the web app.