opentestmcp
v0.3.4
Published
Turn APIs into agent-callable MCP tools with auth, testing, and audit logs
Downloads
26
Maintainers
Readme
OpenTest MCP
Turn your APIs into MCP tools that coding agents can discover, call, test, and audit.
OpenTest is agent-first API infrastructure. It lets backend teams expose endpoints to AI coding agents through MCP, add an auth layer around those tools, and see exactly which agent called what.
Install
npx opentestmcp installThis writes an opentest MCP server into ~/.cursor/mcp.json:
{
"mcpServers": {
"opentest": {
"command": "npx",
"args": ["-y", "opentestmcp"],
"env": {
"OPENTEST_API_KEY": "ot_live_YOUR_API_KEY_HERE",
"OPENTEST_BACKEND": "https://flow.opentest.live",
"OPENTEST_FRONTEND": "https://www.flowtest.opentest.live"
}
}
}
}Replace ot_live_YOUR_API_KEY_HERE with an API key from OpenTest settings, then restart Cursor or toggle the MCP server off/on.
You can also pass the key directly:
npx opentestmcp install --api-key ot_live_xxxFor project-local installation:
npx opentestmcp install --projectWhat It Does
- Converts API endpoints into agent-callable MCP tools.
- Lets agents test real backend endpoints from the IDE.
- Syncs endpoint inventory across backend and frontend workflows.
- Adds API-key auth for OpenTest MCP access.
- Supports hosted MCPs with consumer tokens for customer-facing agent access.
- Records per-call observability so teams can audit which agent did what.
Common Agent Commands
After installing, ask your coding agent:
Use the OpenTest MCP to convert my login endpoint into an MCP tool.Use OpenTest to test POST /auth/login.Convert these endpoints into an MCP.Show me the audit log for this hosted MCP.Cursor
The installer targets Cursor by default:
npx opentestmcp installManual Cursor config:
{
"mcpServers": {
"opentest": {
"command": "npx",
"args": ["-y", "opentestmcp"],
"env": {
"OPENTEST_API_KEY": "ot_live_YOUR_API_KEY_HERE"
}
}
}
}Claude Code
claude mcp add opentest -- npx -y opentestmcpCLI
npx opentestmcp # Start the MCP server
npx opentestmcp install # Install Cursor MCP config
npx opentestmcp install --print # Print config without writing
npx opentestmcp install --project # Write .cursor/mcp.json in current repo
npx opentestmcp install --api-key KEY # Install with your OpenTest API keyOptions:
--api-key <key>: OpenTest API key.--backend <url>: OpenTest backend URL. Defaults tohttps://flow.opentest.live.--frontend <url>: OpenTest frontend URL. Defaults tohttps://www.flowtest.opentest.live.--name <name>: MCP server name. Defaults toopentest.--project: Write.cursor/mcp.jsonin the current project.--print: Print the generated MCP config without writing it.
Environment Variables
OPENTEST_API_KEY: OpenTest API key.OPENTEST_BACKEND: OpenTest backend URL.OPENTEST_FRONTEND: OpenTest frontend URL.
Product
OpenTest helps teams make APIs usable by agents without giving up control. Developers can turn endpoints into MCP servers, hand customers an install snippet or hosted MCP URL, and audit every tool call through OpenTest.
Dashboard: https://flowtest.opentest.live
License
MIT
