MCP.so
登录

MCP REST API Tester

@dkmaker

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

dkmaker

关于 MCP REST API Tester

A TypeScript-based MCP server that enables testing of REST APIs through Cline. This tool allows you to test and interact with any REST API endpoints directly from your development environment.

MCP REST API Tester 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-rest-api": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "dkmaker-mcp-rest-api",
        "--client",
        "claude"
      ]
    }
  }
}

MCP REST API Tester 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is MCP REST API Tester?

A TypeScript-based MCP server that enables testing of REST APIs through Claude, Cline and other MCP clients. It allows developers to test and interact with any REST API endpoints directly from their development environment.

How to use MCP REST API Tester?

Install globally via npm install -g dkmaker-mcp-rest-api, then configure the MCP client settings with environment variables for base URL, authentication, SSL verification, and custom headers. Use the test_request tool with parameters method, endpoint, optional body, and optional headers.

Key features of MCP REST API Tester

  • Supports GET, POST, PUT, DELETE, and PATCH methods
  • Handles Basic, Bearer, and API Key authentication
  • Normalizes endpoints automatically
  • Provides detailed response information (status, headers, body)
  • Configurable SSL verification and response size limit
  • Custom global headers via HEADER_* environment variables

Use cases of MCP REST API Tester

  • Testing specific API endpoints during development
  • Debugging API responses and verifying functionality
  • Checking response times and validating request/response formats
  • Testing local development servers and API sequences
  • Verifying error handling and authentication flows

常见问题

1

What authentication methods are supported?

Basic Authentication (username/password), Bearer Token, and API Key (custom header). Only one method should be configured at a time.

2

How do I configure custom headers?

Set environment variables with the prefix `HEADER_` (case-insensitive) followed by the header name. For example, `HEADER_X-API-Version=2.0`. Per-request headers override these global headers.

3

Can I disable SSL verification for self-signed certificates?

Yes, set the environment variable `REST_ENABLE_SSL_VERIFY` to `false` to disable SSL verification.

4

What is the default response size limit?

The default response size limit is 10000 bytes (10 KB). It can be changed via the `REST_RESPONSE_SIZE_LIMIT` environment variable.

5

Does this server work with any MCP client?

The README provides configuration examples for Cline but states the server should work with any MCP implementation.

评论

开发工具 分类下的更多 MCP 服务器