MCP Catalogs
Home

mcp-rest-api

by dkmaker·95·Score 47

TypeScript MCP server for testing REST APIs through MCP clients like Cline.

developer-toolsmonitoringweb-scraping
20
Forks
12
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server provides a convenient way to test and interact with REST API endpoints directly from your development environment. It supports various HTTP methods including GET, POST, PUT, DELETE, and PATCH, with comprehensive authentication options like Basic Auth, Bearer tokens, and API keys. The tool offers detailed response information and can handle custom headers, response size limits, and SSL verification settings, making it versatile for different API testing scenarios.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Testing API endpoints during development
you:Debugging API responses and error handling
you:Validating API sequences and request/response formats
you:What authentication methods does this server support?
you:Can I limit the response size?

When to choose this

Choose this tool when you need to directly test REST APIs from your development environment using various MCP clients, especially if you need support for multiple authentication methods.

When NOT to choose this

Avoid this if you need advanced API testing features like test suites, mocking, or performance testing as it focuses on basic endpoint testing functionality.

Tools this server exposes

1 tool extracted from the README
  • test_requestmethod, endpoint, body?, headers?

    Test and interact with REST API endpoints using various HTTP methods

Comparable tools

postman-mcpapi-mcphttp-mcpcurl-mcp

Installation

Installation

Install the package globally:

npm install -g dkmaker-mcp-rest-api

Configuration

Add to your MCP client configuration (example for Cline):

{
  "mcpServers": {
    "rest-api": {
      "command": "node",
      "args": [
        "C:/Users/<YourUsername>/AppData/Roaming/npm/node_modules/dkmaker-mcp-rest-api/build/index.js"
      ],
      "env": {
        "REST_BASE_URL": "https://api.example.com",
        "AUTH_BEARER": "your-token"
      }
    }
  }
}```

FAQ

What authentication methods does this server support?
It supports Basic Authentication (username/password), Bearer Token Authentication, and API Key Authentication (custom header).
Can I limit the response size?
Yes, you can set a response size limit using the REST_RESPONSE_SIZE_LIMIT environment variable (default is 10000 bytes).

Compare mcp-rest-api with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.