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
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • dmayboroda
  • 带有可配置容器的本地对话抹布

  • paulwing
  • 使用MCP服务创建的测试存储库

    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!