chendatony31
MCP Serverchendatony31public

mcp request

一个用于通过 MCP 协议快速暴露 HTTP API 的工具,支持多服务集成。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
JavaScript
Language
-
License

About This Server

一个用于通过 MCP 协议快速暴露 HTTP API 的工具,支持多服务集成。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

mcp-request

A Model Context Protocol (MCP) server for making HTTP requests to different services.

Why mcp-request?

When working with multiple APIs in an MCP environment, creating individual MCP servers for each API can be:

  • Time-consuming
  • Resource-intensive
  • Unnecessary in many cases

This tool allows you to:

  • Quickly expose any HTTP API through MCP
  • Reuse existing HTTP APIs without additional server setup
  • Maintain a single MCP server for multiple APIs

Installation

{
  "mcpServers": {
    "wallet-mcp": {
      "command": "npx",
      "args": ["mcp-request"]
    }
  }
}

Usage

Tools

  • registerApi
  • deleteApi
  • beforeRequest
  • request

registerApi: register custom HTTP requests

  • For example, adding a weather query API:

Add a weather query interface to mcp-request https://wttr.in/Tokyo?format=j1 where Tokyo is the city's name

After added, you can query weather information of different cities

  • Or directly send the JSON definition
`Register this request: {
    "id": "sui_rpc",
    "name": "Sui RPC",
    "description": "Make RPC calls to Sui mainnet node",
    "params": {
      "method": {
        "type": "string",
        "description": "RPC method name",
        "example": "suix_getBalance"
      },
      "params": {
        "type": "array",
        "description": "Parameters for the RPC method",
        "example": [
          "0x317b2a1385c9f7115f4c227b512293e6a632762c7c4e79728b3ad743f656b8fe",
          "0x2::sui::SUI"
        ]
      }
    },
    "api": {
      "url": "https://wallet-rpc.mainnet.sui.io/",
      "method": "POST",
      "headers": {
        "Content-Type": "application/json"
      },
      "params": {
        "jsonrpc": "2.0",
        "id": 1
      }
    }
  }`

Query the balance of 0x317b2a1385c9f7115f4c227b512293e6a632762c7c4e79728b3ad743f656b8fe // ai knows which methods and params they need to use.

deleteApi

delete sui_rpc api

delete sui related api

beforeRequest

It will find if there are any api available to use before you query something.

You can also list all the apis you already registered

list all my api in request mcp or list my apis

request

Http request happens here.

TODO

  • Optimize data structure for easier API addition
  • Support single HTTP request without registration
  • Support remote API registration
  • Support API key configuration and management
  • ...

Quick Start

1

Clone the repository

git clone https://github.com/chendatony31/mcp-request
2

Install dependencies

cd mcp-request
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerchendatony31
Repomcp-request
LanguageJavaScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation