MCP tools for AI agents
Connect an AI agent to SpecTestEngine through MCP so it can create specifications, run tests and return structured evidence with user-controlled access.
Connect an AI agent to SpecTestEngine through MCP so it can create specifications, run tests and return structured evidence with user-controlled access.
MCP is the bridge between SpecTestEngine and external AI agents. A user can give an interactive client OAuth access to the active project, or create a dedicated service identity for unattended automation. The agent uses the documented tools to create specifications, run checks, inspect evidence, and return a clear testing report without receiving the user's password or browser session.
An authorized agent can read the MCP tool descriptions, create REST, SOAP, GraphQL, or flow assets, and keep the user in the loop instead of asking them to click through every form manually.
The agent can execute generated or existing tests, inspect run evidence, compare status/body/header mismatches, and return a clear summary of what passed or failed.
The agent can return run evidence, snapshot comparisons, visual document-diff links, and immutable generation details instead of reducing a result to a pass/fail sentence.
Interactive clients act as the signed-in user through OAuth and the active project. Headless clients receive an explicit service identity with selected test permissions.
Agents can upload request documents, build attachment-aware REST, SOAP, or GraphQL tests, and use document assertions without turning response files into permanent MCP data.
Use MCP when an agent should discover the next testing action. Use the SDK when your application already knows the exact operation and needs a deterministic API contract.
Codex and Claude Code use Authorization Code with PKCE. The user signs in through SpecTestEngine and the client receives short-lived tokens for the active project.
A CI job or unattended agent uses Client Credentials to obtain a short-lived access token. Its one-time client secret belongs to the service identity, not to a human user.
The MCP endpoint publishes OAuth Protected Resource Metadata and points clients to the SpecTestEngine authorization server. Clients refresh access through OAuth.
Use my authorized SpecTestEngine MCP connection. Create REST specs for the checkout API, run them, inspect failures, regenerate unstable assertions only when the evidence proves the contract changed, and give me a short report with links to the created assets and visual evidence.OAuth resolves the current user, active project, permissions, subscription, and MCP hard allowlist on the server. The agent never receives personal browser credentials.
The MCP server describes available operations and payloads, so the agent can act through stable product capabilities instead of relying on brittle screen automation.
The agent should finish by telling the user what it created, what it ran, which evidence changed, and what needs attention.