mcp-rest-api
by dkmaker·★ 95·Score 47
TypeScript MCP server for testing REST APIs through MCP clients like Cline.
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:
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 READMEtest_requestmethod, endpoint, body?, headers?Test and interact with REST API endpoints using various HTTP methods
Comparable tools
Installation
Installation
Install the package globally:
npm install -g dkmaker-mcp-rest-apiConfiguration
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
Last updated · Auto-generated from public README + GitHub signals.