MCP REST API Tester logo

MCP REST API Tester

by dkmaker

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.

View on GitHub

Last updated: N/A

What is MCP REST API Tester?

The MCP REST API Tester is a tool designed to facilitate the testing and debugging of REST APIs directly from your development environment. It integrates with MCP implementations like Cline, allowing you to send requests to API endpoints and examine the responses.

How to use MCP REST API Tester?

To use the MCP REST API Tester, first install it either via Smithery or manually using npm. Then, configure your MCP client (e.g., Cline) to recognize the server, providing the necessary command and arguments. Finally, configure the environment variables to set the base URL, authentication details, and other settings. After configuration, you can use the test_request tool within your MCP client to send requests to your desired API endpoints.

Key features of MCP REST API Tester

  • Supports GET, POST, PUT, DELETE methods

  • Handles authentication (Basic, Bearer, API Key)

  • Normalizes endpoints automatically

  • Provides detailed response information

  • Configurable SSL verification and response limits

  • Custom Headers

  • Response Size Management

Use cases of MCP REST API Tester

  • Testing specific API endpoints

  • Debugging API responses

  • Verifying API functionality

  • Checking response times

  • Validating request/response formats

  • Testing local development servers

  • Testing API sequences

  • Verifying error handling

FAQ from MCP REST API Tester

How do I install the REST API Tester?

You can install it either via Smithery or manually using npm.

How do I configure the server for Cline?

Add the server configuration to your Cline's cline_mcp_settings.json file, specifying the command, arguments, and environment variables.

What authentication methods are supported?

The server supports Basic Authentication, Bearer Token Authentication, and API Key Authentication.

How do I disable SSL verification?

Set the REST_ENABLE_SSL_VERIFY environment variable to false.

How do I limit the response size?

Configure the REST_RESPONSE_SIZE_LIMIT environment variable to your desired size in bytes.