# k11 API Functional QA

> k11 API Functional QA is an open-source MCP server for developer tools. Functional API test flows with database checks, negative cases and CI reports. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/k11-software-solutions/k11techlab-api-functional-qa-mcp
- **MCP Registry name:** io.github.K11-Software-Solutions/api-functional-qa
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add api-functional-qa -- uvx k11-api-functional-qa-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "api-functional-qa": {
      "command": "uvx",
      "args": [
        "k11-api-functional-qa-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "api-functional-qa": {
      "command": "uvx",
      "args": [
        "k11-api-functional-qa-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add api-functional-qa -- uvx k11-api-functional-qa-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.api-functional-qa]
command = "uvx"
args = ["k11-api-functional-qa-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```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 (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "api-functional-qa": {
      "command": "uvx",
      "args": [
        "k11-api-functional-qa-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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 (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "api-functional-qa": {
      "command": "uvx",
      "args": [
        "k11-api-functional-qa-mcp"
      ]
    }
  }
}
```

## Tools

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_environments` (name 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_flow` (name suggests: changes): Validate and save a flow under tests/api/
- `run_flows` (name suggests: changes): Run flows with evidence and reports
- `call_api`: Send one guarded request
- `query_db` (name suggests: reads): Run one read-only query on a test database
- `export_pytest` (name suggests: reads): Export a flow as pytest and httpx code

## 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.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/k11-api-functional-qa
