Basic information
About REST API Tester MCP Server
REST API Tester is a command-line tool for API testing and debugging, offering customizable requests and responses—ideal for Postman API testing.
REST API Tester is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by dkmaker. Supported transport: stdio. Runtime: JavaScript. License: MIT. The repository has 99 GitHub stars. Source code is hosted on github.com. Related topics: anthropic, claude-3-5-sonnet, cline, community, developer-tools.
Setup
{
"mcpServers": {
"rest-api": {
"command": "npx",
"args": [
"-y",
"dkmaker-mcp-rest-api"
],
"env": {
"REST_BASE_URL": "https://api.example.com",
"AUTH_BASIC_USERNAME": "your-username",
"AUTH_BASIC_PASSWORD": "your-password",
"AUTH_BEARER": "your-token",
"AUTH_APIKEY_HEADER_NAME": "X-API-Key",
"AUTH_APIKEY_VALUE": "your-api-key",
"REST_ENABLE_SSL_VERIFY": "false",
"HEADER_X-API-Version": "2.0",
"HEADER_Custom-Client": "my-client",
"HEADER_Accept": "application/json"
}
}
}
}
{
"mcpServers": {
"rest-api": {
"command": "npx",
"args": [
"-y",
"dkmaker-mcp-rest-api"
],
"env": {
"REST_BASE_URL": "https://api.example.com",
"AUTH_BASIC_USERNAME": "your-username",
"AUTH_BASIC_PASSWORD": "your-password",
"AUTH_BEARER": "your-token",
"AUTH_APIKEY_HEADER_NAME": "X-API-Key",
"AUTH_APIKEY_VALUE": "your-api-key",
"REST_ENABLE_SSL_VERIFY": "false",
"HEADER_X-API-Version": "2.0",
"HEADER_Custom-Client": "my-client",
"HEADER_Accept": "application/json"
}
}
}
}
{
"servers": {
"rest-api": {
"command": "npx",
"args": [
"-y",
"dkmaker-mcp-rest-api"
],
"env": {
"REST_BASE_URL": "https://api.example.com",
"AUTH_BASIC_USERNAME": "your-username",
"AUTH_BASIC_PASSWORD": "your-password",
"AUTH_BEARER": "your-token",
"AUTH_APIKEY_HEADER_NAME": "X-API-Key",
"AUTH_APIKEY_VALUE": "your-api-key",
"REST_ENABLE_SSL_VERIFY": "false",
"HEADER_X-API-Version": "2.0",
"HEADER_Custom-Client": "my-client",
"HEADER_Accept": "application/json"
}
}
}
}
REST API Tester MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"rest-api": {
"command": "npx",
"args": [
"-y",
"dkmaker-mcp-rest-api"
],
"env": {
"REST_BASE_URL": "https://api.example.com",
"AUTH_BASIC_USERNAME": "your-username",
"AUTH_BASIC_PASSWORD": "your-password",
"AUTH_BEARER": "your-token",
"AUTH_APIKEY_HEADER_NAME": "X-API-Key",
"AUTH_APIKEY_VALUE": "your-api-key",
"REST_ENABLE_SSL_VERIFY": "false",
"HEADER_X-API-Version": "2.0",
"HEADER_Custom-Client": "my-client",
"HEADER_Accept": "application/json"
}
}
}
}
REST API Tester MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is 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 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 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 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
Frequently asked questions
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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In