MCP API Requester
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP API RequesterGET https://jsonplaceholder.typicode.com/posts/1"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP API Requester
A Model Context Protocol (MCP) server that enables LLMs to make arbitrary HTTP API requests (GET, POST, PUT, DELETE, etc.) with custom headers and bodies. Works with Claude Desktop and other MCP-compatible AI tools.
Features
🌐 HTTP Operations: Make any HTTP request (GET, POST, PUT, DELETE, PATCH, etc.)
🔧 Custom Configuration: Full control over headers, query parameters, and request body
📄 JSON Support: Native handling of JSON request and response bodies
🛠 Robust Error Handling: Returns 4xx/5xx responses as structured data instead of failing, allowing the LLM to inspect errors
🔒 Safe Execution: Useful for testing APIs, webhooks, and interacting with external services
Related MCP server: Web Request MCP Server
Installation
Using npx (Recommended)
No installation needed! Just configure Claude Desktop to use npx:
{
"mcpServers": {
"api-requester": {
"command": "npx",
"args": [
"-y",
"github:yryuu/mcp-api-requester"
]
}
}
}Local Installation
git clone <repository-url>
cd mcp-api-requester
npm install
npm run buildConfiguration
Claude Desktop
Edit your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Add the server configuration:
{
"mcpServers": {
"api-requester": {
"command": "node",
"args": ["/absolute/path/to/mcp-api-requester/dist/index.js"]
}
}
}Available Tools
make_request
Make an arbitrary HTTP request.
Parameters:
url(string): The full URL to make the request to.method(string): HTTP method (GET, POST, PUT, DELETE, PATCH, etc.). Defaults to GET.headers(object, optional): Key-value pairs of HTTP headers.params(object, optional): Key-value pairs of URL query parameters.cookies(object, optional): Key-value pairs of cookies to be included in the request.body(object/string, optional): The request body. Content-Type header should match this body.
Example (GET):
Make a GET request to https://api.example.com/users?id=123Example (POST):
POST to https://api.example.com/data with content-type application/json and body {"key": "value"}Example (Cookies):
Make a GET request to https://api.example.com/profile with cookies {"session": "abc", "theme": "dark"}Development
Setup
cd mcp-api-requester
npm installBuild
npm run buildTesting
Run the included manual test script:
npm testNote: uses
tsxto run the TypeScript test file directly.
Debugging
Use the MCP Inspector to test the server:
npx @modelcontextprotocol/inspector node dist/index.jsSecurity
Warning: This tool enables the LLM to make requests to any URL you provide or it discovers.
Ensure you only use this in a trusted environment.
Be cautious when asking the LLM to interact with sensitive APIs or internal services.
License
MIT
Author
yryuu
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants to make HTTP requests (GET, POST, PUT, DELETE) to external APIs through standardized MCP tools.Last updated42MIT
- AlicenseAqualityDmaintenanceA TypeScript-based MCP server that enables AI assistants to execute HTTP requests with full control over methods, headers, and body content. It facilitates seamless interaction with web APIs and endpoints through a versatile tool that handles automatic JSON formatting and response truncation.Last updated1MIT
- Alicense-qualityDmaintenanceA powerful MCP server for making HTTP requests, GraphQL queries, and TCP/Telnet connections from AI assistants.Last updated7MIT
- FlicenseAqualityBmaintenanceUniversal HTTP client tool for LLM agents. Enables Claude and other MCP-compatible agents to perform GET, POST, PUT, DELETE, and other HTTP requests to any URL, including localhost and internal network addresses.Last updated2
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yryuu/mcp-api-requester'
If you have feedback or need assistance with the MCP directory API, please join our Discord server