k11 API Functional QA
Functional API test flows with database checks, negative cases and CI reports
k11 API Functional QA is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- What it can do
- Can change data (2 tools)
- Version
- 0.2.2
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add api-functional-qa -- uvx k11-api-functional-qa-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"api-functional-qa": {
"command": "uvx",
"args": [
"k11-api-functional-qa-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"api-functional-qa": {
"command": "uvx",
"args": [
"k11-api-functional-qa-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"api-functional-qa": {
"command": "uvx",
"args": [
"k11-api-functional-qa-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"api-functional-qa": {
"type": "stdio",
"command": "uvx",
"args": [
"k11-api-functional-qa-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add api-functional-qa -- uvx k11-api-functional-qa-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.api-functional-qa]
command = "uvx"
args = ["k11-api-functional-qa-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"api-functional-qa": {
"command": "uvx",
"args": [
"k11-api-functional-qa-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "api-functional-qa": { "command": "uvx", "args": [ "k11-api-functional-qa-mcp" ] } } }Or run: gemini mcp add -s user api-functional-qa uvx -- k11-api-functional-qa-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "api-functional-qa": { "command": "uvx", "args": [ "k11-api-functional-qa-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "api-functional-qa": { "command": "uvx", "args": [ "k11-api-functional-qa-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "api-functional-qa": { "command": "uvx", "args": [ "k11-api-functional-qa-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "api-functional-qa": { "command": "uvx", "args": [ "k11-api-functional-qa-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "api-functional-qa": { "command": "uvx", "args": [ "k11-api-functional-qa-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "api-functional-qa": { "command": "uvx", "args": [ "k11-api-functional-qa-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "api-functional-qa": { "command": "uvx", "args": [ "k11-api-functional-qa-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
QA_MCP_ROOTFolder with tests/api/ and .qa-mcp/api-test.yaml
About k11 API Functional QA
Where contract tests confirm an API's shape, this server checks whether it did the right thing, down to the database row. The README demonstrates this on a demo shop API: an order total that is wrong only in the response while the database is correct, and a server that returns HTTP 500 on malformed nested items.
Tests are YAML flows that chain calls, save values such as an order id, assert on JSON paths, headers and timing, and run read-only SQL against a test database. Negative and boundary cases are generated from an OpenAPI 3.x or Swagger 2.0 spec, and every case must return a 4xx rather than a 5xx. Each step records request, response, query and rows, written out as Markdown, JSON and JUnit XML, and any flow can be exported as plain pytest with httpx.
Guardrails are strict: data-changing calls are refused on production-like environments, database writes happen only in fixtures and cleanup on allowlisted databases, secrets come from environment variables and are masked, and requests cannot leave the environment's host. SQLite is built in; PostgreSQL, MySQL/MariaDB and SQL Server are optional extras.
Tools this server provides (8)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 8 tools change data; 3 names don't say.
From the server's own tool labels and tool names; not verified by us.
- list_environmentsName suggests: reads
- Environments, auth profiles, databases, fixtures and flows
- draft_flow
- Turn a user story into scenarios and a flow skeleton
- generate_negative_tests
- Negative and boundary cases for one operation
- write_flowName suggests: changes
- Validate and save a flow under tests/api/
- run_flowsName suggests: changes
- Run flows with evidence and reports
- call_api
- Send one guarded request
- query_dbName suggests: reads
- Run one read-only query on a test database
- export_pytestName suggests: reads
- Export a flow as pytest and httpx code
What it does
- Story to flow
- Turns a user story into scenarios and a YAML flow skeleton.
- Database assertions
- Read-only SQL checks after API calls, with masked columns.
- Generated negative tests
- Covers missing fields, wrong types, enum and length limits on nested fields.
- Evidence reports
- Markdown, JSON and JUnit XML output for each step.
- Production guardrails
- Refuses write calls on environments named like production.
- pytest export
- Writes any flow out as plain pytest and httpx code.
Good for
- Verify that cancelling an order really soft-deletes the row
- Find endpoints that crash with a 5xx on malformed input
- Post API test evidence as a pull request comment
- Run functional API suites in CI against staging
Pricing
Open source
Free Python package from PyPI.
k11 API Functional QA FAQ
Which spec formats are supported?
OpenAPI 3.x and Swagger 2.0.
Can k11 API Functional QA modify my production data?
No. POST, PUT, PATCH and DELETE are refused on production-like environments unless two explicit flags are set.
Which databases can k11 API Functional QA check?
SQLite built in, plus PostgreSQL, MySQL/MariaDB and SQL Server via optional extras.
How do I run k11 API Functional QA in CI?
Run k11-api-functional-qa-mcp run --env staging; it writes reports and exits non-zero on failure.
Is k11 API Functional QA free?
Yes. k11 API Functional QA is open source, so you can use and self-host it for free.
How do I add k11 API Functional QA to Claude Code?
Run this command in your terminal: claude mcp add api-functional-qa -- uvx k11-api-functional-qa-mcp
What are the best alternatives to k11 API Functional QA?
The closest alternatives to k11 API Functional QA are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


