MCP.so
ログイン

MCP Api Tester

@xingonliu

基本情報

カテゴリ

開発者ツール

ライセンス

MIT

トランスポート

stdio

作者

xingonliu

投稿者

xingon liu

MCP Api Tester について

一键测试任意 API,自动生成 TypeScript 类型定义! 还在手动调用接口、复制响应、再粘贴到 quicktype.io 生成类型? 现在,只需在 Cursor 或 Claude 中输入一条指令,即可: ✅ 发送 GET/POST/PUT 等任意 HTTP 请求 ✅ 查看实时响应状态与数据预览 ✅ 自动将返回的 JSON 转换为精准的 TypeScript 接口 ✅ 支持自定义 Headers、请求体和期望状态码

MCP Api Tester の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "api-tester": {
      "command": "npx",
      "args": [
        "mcp-api-tester"
      ]
    }
  }
}

MCP Api Tester のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

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 apiTester MCP 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.

よくある質問

1

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.

2

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.

3

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

4

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

5

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.

コメント

「開発者ツール」の他のコンテンツ