Cover image
Try Now
2025-04-14

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

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
  • ...

相关推荐

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • 1Panel-dev
  • 🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • rulego
  • ⛓️Rulego es un marco de motor de regla de orquestación de componentes de alta generación de alto rendimiento, de alto rendimiento y de alto rendimiento para GO.

  • sigoden
  • Cree fácilmente herramientas y agentes de LLM utilizando funciones Plain Bash/JavaScript/Python.

  • hkr04
  • SDK liviano C ++ MCP (Protocolo de contexto del modelo)

  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 Qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 DiFy 、 Claude 、 Gemini 、 Xai 、 PPIO 、 Ollama 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 Chatglm 、 SillyTraven 、 MCP 等 LLM 的机器人 / Agente | Plataforma de bots de mensajería instantánea basada en LLM, admite Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack

  • dmayboroda
  • Trapo conversacional local con contenedores configurables

  • modelscope
  • Iniciar aplicaciones de múltiples agentes empoderadas con Building LLM de manera más fácil.

  • evilsocket
  • El kit de desarrollo de agentes simples.

    Reviews

    3.2 (6)
    Avatar
    user_IRxRPVVT
    2025-04-24

    I've been using mcp-request by chendatony31, and it has significantly improved my workflow. Its intuitive interface and robust functionality make complex requests easier to manage. Highly recommend it to anyone looking for a reliable request management tool.

    Avatar
    user_I0YfQvKQ
    2025-04-24

    As a dedicated user of the mcp-request application by chendatony31, I must say it has greatly simplified my work process. The intuitive design and seamless functionality make API requests a breeze. The welcoming message sets a positive tone from the start. This tool is a true asset for anyone needing efficient and reliable API management. Highly recommended!

    Avatar
    user_hCgO9Lmj
    2025-04-24

    As a dedicated user of mcp-request, I must say this is a phenomenal tool created by chendatony31. It simplifies the process with its intuitive interface and robust functionality. Whether you are a beginner or an expert, mcp-request is indispensable for efficient project management. Highly recommended for anyone looking to streamline their workflow!

    Avatar
    user_5GeV7cWJ
    2025-04-24

    As a loyal user of the mcp-request application, I have been thoroughly impressed by its functionality and ease of use. Developed by chendatony31, this product has greatly streamlined my workflow. The intuitive interface and reliable performance make it a must-have for anyone in need of an efficient request handling tool. Highly recommended!

    Avatar
    user_2LJdzxmm
    2025-04-24

    As a loyal user of the mcp application, I highly recommend the mcp-request product by chendatony31. It's incredibly user-friendly and seamlessly integrates with my workflow. The welcome information is clear and helpful. This tool has made managing my requests so much more efficient. Definitely worth checking out!

    Avatar
    user_uXJajwWo
    2025-04-24

    I've been using mcp-request by chendatony31, and it truly revolutionizes my workflow. The simplicity and efficiency of this tool make handling multiple requests a breeze. Highly recommended for anyone looking to streamline their processes!