MCP.so
Sign In

mcp-api-tester Tools & Interfaces

@TinyMurky

About mcp-api-tester Tools & Interfaces

mcp server for llm to test api

Basic information

Category

Developer Tools

License

MIT

Runtime

go

Transports

stdio

Publisher

TinyMurky

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is mcp-api-tester Tools & Interfaces?

mcp-api-tester Tools & Interfaces is a set of MCP tools that enable a Large Language Model (LLM) to perform automated API testing. It provides interfaces for reading API documentation, selecting endpoints, and sending real HTTP requests via the net/http package, targeting developers who want to quickly identify potential issues in their APIs.

How to use mcp-api-tester Tools & Interfaces?

The tools are invoked via MCP tool calls. For example, to use the ReadOpenAPIDocument tool, send a JSON-RPC request with method: "tools/call" and parameters including the tool name and arguments such as an absolute path to the OpenAPI file. Similarly, ListAllAPIFromDocument can be called without arguments. The README recommends first integrating the three minimal viable tools (listAllAPIFromDocument, getSingleAPIDetail, callNetHTTP), then connecting the LLM to use them, and optionally adding validation, logging, environment management, and fuzz testing tools.

Key features of mcp-api-tester Tools & Interfaces

  • Minimal viable tools: list endpoints, get API details, send HTTP requests
  • Supports reading OpenAPI documents via ReadOpenAPIDocument tool
  • Advanced tools for schema validation and JSON parsing
  • Test result logging and historical test querying
  • Authentication credential management and test data reset
  • Fuzz/edge case input generation for stress testing

Use cases of mcp-api-tester Tools & Interfaces

  • Listing all available APIs from documentation and browsing endpoints
  • Retrieving detailed parameter and response schemas for a specific API
  • Executing real HTTP test calls against development/sandbox environments
  • Validating response bodies against documented schemas for correctness
  • Conducting security and stress tests with automatically generated extreme inputs

FAQ from mcp-api-tester Tools & Interfaces

What are the minimal viable tools to get started?

The three essential tools are listAllAPIFromDocument (lists available APIs), getSingleAPIDetail (retrieves detailed documentation for an endpoint), and callNetHTTP (sends real HTTP requests and returns responses).

How does the server handle authentication?

An optional advanced tool getAuthToken(username, password) -> token is provided for APIs that require a token or cookie. The LLM can call this first to obtain credentials before making test calls.

Can these tools completely replace traditional testing?

No. The README explicitly notes that while the LLM can quickly produce boundary and abnormal test cases, traditional unit tests remain essential for thorough coverage and cannot be replaced.

What security considerations are mentioned?

All API tests should be run in a safe environment (development or sandbox) to avoid compromising sensitive data. The README also warns that the LLM may produce invalid or incorrect parameters, so additional validation or error handling may be needed.

How are test results tracked?

Advanced tools include storeTestResult to log execution details and outcomes, and getTestHistory to query past results for a given endpoint, helping to identify regressions over time.

Comments

More Developer Tools MCP servers