Mcp Api Tester
@xingonliu
About Mcp Api Tester
一键测试任意 API,自动生成 TypeScript 类型定义! 还在手动调用接口、复制响应、再粘贴到 quicktype.io 生成类型? 现在,只需在 Cursor 或 Claude 中输入一条指令,即可: ✅ 发送 GET/POST/PUT 等任意 HTTP 请求 ✅ 查看实时响应状态与数据预览 ✅ 自动将返回的 JSON 转换为精准的 TypeScript 接口 ✅ 支持自定义 Headers、请求体和期望状态码
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"api-tester": {
"command": "npx",
"args": [
"mcp-api-tester"
]
}
}
}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?
Mcp Api Tester is an MCP server that tests arbitrary HTTP APIs and automatically generates TypeScript type definitions from the responses. It is built for developers using MCP clients to quickly inspect and type-check API endpoints.
How to use Mcp Api Tester?
Install globally or locally via npm, then run the mcp-api-tester command (or use npx). For development, you can start the server in HTTP mode (npm run dev) on http://localhost:3000/mcp or in stdio mode (npm run dev:stdio). Add the server to your MCP client configuration with the command mcp-api-tester or a path to the compiled stdio-server.js.
Key features of Mcp Api Tester
- Tests any HTTP API with custom URL, method, headers, and body.
- Automatically generates TypeScript interfaces from API responses.
- Supports both HTTP and stdio transport modes.
- Easy installation via npm (global or local).
- Includes a dedicated
apiTesterMCP tool.
Use cases of Mcp Api Tester
- Rapidly prototype API integrations by testing endpoints from an MCP client.
- Generate TypeScript type definitions for undocumented or third-party APIs.
- Validate API responses and debug issues directly within your MCP environment.
FAQ from Mcp Api Tester
What does the apiTester tool do?
The apiTester tool accepts a URL, HTTP method, headers, and body, then sends the request and returns the API response along with automatically generated TypeScript type definitions.
How do I install Mcp Api Tester?
Install globally with npm install -g mcp-api-tester, or locally with npm install mcp-api-tester. You can also clone the repository and build from source.
What transport modes does it support?
Mcp Api Tester supports two transport modes: HTTP (defaults to http://localhost:3000/mcp) and stdio (the standard MCP transport).
How do I configure it in my MCP client?
Add an entry to your mcpServers configuration with the command mcp-api-tester (for global install) or using node with the path to dist/stdio-server.js. You can also use npx mcp-api-tester.
Can I test any HTTP API?
Yes, any HTTP API can be tested by providing the URL, method, headers, and request body as inputs to the apiTester tool.
More Developer Tools MCP servers
test
prysmaticlabsGo implementation of Ethereum proof of stake
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
sentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
Golf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents
Comments