TestOptim
io.github.TestOptim-AIPublished by GitHub account TestOptim-AIv1.0.0Updated Nov 3, 2026
Run AI QA test runs on your web app and read the bugs they find, with steps to reproduce.
Overview
TestOptim's hosted MCP server (api.testoptim.com); API key required; Streamable HTTP.
No AI overview yet: these facts come from the registry entry and the server itself.
- Endpoint
- api.testoptim.com
- Last checked
Installation
In SourceWeft
- Open TestOptim in the dashboard and add it to a workspace.
- Connect Authorization token credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.TestOptim-AI%2Ftestoptim/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"testoptim": {
"type": "http",
"url": "https://api.testoptim.com/api/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
TestOptim MCP server
Connect Claude Code, Cursor, VS Code and other MCP clients to TestOptim, so your AI assistant can run QA tests on your web app and read the issues they find.
"Run the QA suite on my project and show me the critical issues."
TestOptim hosts the server; there is nothing to install or run. This repository holds the setup instructions, ready-to-copy client configs, and the server.json that lists the server in MCP registries.
- Endpoint:
https://api.testoptim.com/api/mcp - Transport: Streamable HTTP (stateless;
POSTonly) - Auth: a TestOptim API key, sent as
Authorization: Bearer topt_...
Contents
- Before you start
- Create an API key
- Connect your client
- Agent skill and Claude Code plugin
- Tools
- Example prompts
- Security
- Limits and errors
- Troubleshooting
Before you start
- A TestOptim account with at least one project that has generated test cases. See Generate test cases.
- The Owner or Admin role in your organization, to create API keys.
- Runs started over MCP use your plan's test executions, the same as runs started in the app. They are attributed to the person who created the key.
Create an API key
- In TestOptim, open Settings, then API keys, and select New token.
- Give it a name you will recognise, such as
Claude Code - laptop. - Under Project access, choose All projects or a single project. A single project limits what a leaked key can reach.
- Keep only the permissions you need (see Tools for which tool needs which).
- Copy the token. It starts with
topt_and is shown once.
Then export it in the shell your client starts from, so it never lands in a config file:
The full guide, with screenshots, is Run TestOptim tests from CI with an API key.
To run tests from a GitHub Actions workflow instead, use TestOptim Run Tests.
Connect your client
Each snippet is also in examples/.
Claude Code
This stores the token in your local Claude Code config. Add --scope user to use it in every project.
To share the server with your team without sharing a token, commit a project .mcp.json instead. Claude Code expands ${TESTOPTIM_TOKEN} from each person's environment (examples/claude-code.mcp.json):
Cursor
Add to ~/.cursor/mcp.json, or .cursor/mcp.json in your project (examples/cursor.mcp.json):
Cursor reads TESTOPTIM_TOKEN from your shell or system environment; remote servers don't support envFile.
VS Code
Add to .vscode/mcp.json in your workspace, or run MCP: Open User Configuration for every workspace (examples/vscode.mcp.json). VS Code asks for the key the first time the server starts and stores it securely:
Windsurf
Add to your MCP config file (open it from Cascade's MCP settings). Remote servers use serverUrl (examples/windsurf.mcp_config.json):
Claude (claude.ai and Claude Desktop)
Add TestOptim as a custom connector:
- Open Customize > Connectors, select + Add, then Add custom connector.
- Name it
TestOptimand enterhttps://api.testoptim.com/api/mcpas the server URL. - Under Authentication, choose No sign in.
- Under Request headers, add
Authorizationwith the valueBearer topt_...(your key). - Select Add.
On Team and Enterprise plans an Owner adds it under Organization settings > Connectors, and everyone who uses the connector shares that one key. Use a key limited to one project, and leave out tests:run unless every member should be able to start runs. Claude's Research mode can call connector tools without asking first, which is another reason to keep write permissions off a shared key. To change the key later, remove the connector and add it again.
Other clients
Any client that supports Streamable HTTP with custom headers works. Point it at https://api.testoptim.com/api/mcp and send Authorization: Bearer <your key> on every request. The server is stateless: it doesn't issue session IDs, and it answers GET and DELETE with 405.
Agent skill and Claude Code plugin
The testoptim-qa skill teaches your coding agent the loop: after it changes a page or flow, it re-tests only that area, reads the critical and high issues, fixes them and re-tests. It follows the open Agent Skills format, so it works in Claude Code, Codex, Cursor, Copilot and other agents that read SKILL.md. Export TESTOPTIM_TOKEN first (see Create an API key).
Claude Code plugin
The plugin installs the skill and connects the MCP server in one step:
On Claude Code older than 2.1.275, add the marketplace first:
Other agents
Install the skill with the skills CLI, then connect the MCP server as shown in Connect your client:
Tools
The server only lists the tools your key's permissions allow, so a read-only key never sees start_test_run.
Results come back as JSON text, using the same field names as the TestOptim API.
Example prompts
- "Which TestOptim projects can I access?"
- "Run the QA suite on the checkout project and tell me when it's done."
- "List the critical and high issues on my project, then show the steps to reproduce the first one."
- "I just changed the signup form. Run the tests, and if anything fails, open the issue and fix the code."
- "I changed /checkout. Re-test only that with TestOptim and fix any critical issues."
- "I added a settings page. Explore the app again so TestOptim picks it up."
- "Stop the test run you started; it's on the wrong project."
Security
- Least privilege. Create a separate key per client and per machine, limited to one project and to the permissions it needs. A key without
tests:runcan't start or stop runs. - Project-scoped keys are refused for any other project, and tools never show another organization's data.
- Keep keys out of files you commit. Use the environment-variable or input-prompt forms above. Keys start with
topt_, so they are easy to search for in logs and repositories. - Revoke a key under Settings > API keys if it leaks or a device is lost. It stops working immediately.
- An assistant connected with
tests:runcan start runs that use your plan's test executions. Most clients ask before calling a tool; keep that confirmation on.
Limits and errors
- 120 requests per minute per client IP address, shared with the TestOptim REST API.
- A project runs one job at a time. Starting a run while another job is in progress on the same project is refused; wait for it to finish and try again.
- Like Run all in the app, a run is trimmed to your remaining test executions. Check
totalCaseson the run if you need the full suite.
Troubleshooting
Contributing
Spotted an outdated client config, or want to add one for another client? See CONTRIBUTING.md. For problems with your account or the TestOptim service itself, contact TestOptim support instead.
License
Source: README.md at commit 6d86c69
Tools
0Version history
1- v1.0.0LatestNov 3, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts