RM

requestly/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

9 stars 2 forks 质量 75 趋势 27MIT

用于请求的上下文协议模型服务器

概览

这个项目是使用@modelcontextprotocol/sdk在TypeScript执行的模型上下文协议(MCP)服务器. 它为Requestly规则和组提供了完整的 CRUD 工具,可以作为 stdio MCP 服务器运行. - 创建、读取、更新和删除 Requestly 规则 - 创建、读取、更新和删除 Requestly 组 - 附加规则到组中 - 作为 stdio MCP 服务器运行,与 VS 代码或其他 MCP 客户端集成 - 节点:22.23.4+或24.22.1+。 老版本错过了2026年10月的Node.js安全修正. 要使用此服务器, 您需要请求 API 密钥 。 请填写这份简短的表格 我们的团队会审查你的请求 并很快提供访问 - MCP SDK: [[T0]- MCP 议定书: [[T1]-请求API文件: https://docs.requestly.com/public-apis/overview

概述(AI 翻译)

这个项目是使用@modelcontextprotocol/sdk在TypeScript执行的模型上下文协议(MCP)服务器. 它为Requestly规则和组提供了完整的 CRUD 工具,可以作为 stdio MCP 服务器运行.

□ 特性

  • 创建、阅读、更新和删除请求规则
  • 创建、阅读、更新和删除请求组
  • 将规则附加到各组中
  • 作为 stdio MCP 服务器运行,与 VS 代码或其他 MCP 客户端进行集成

□ 要求

  • 节点:22.23.4+或24.22.1+。 老版本错过了2026年10月的Node.js安全修正.

□ 使用量

作为 MCP 服务器(用于 VS 代码集成) 配置您的 .vscode/mcp.json 要使用 :

□ 获取您的 API 密钥 要使用此服务器, 您需要请求 API 密钥 。 请填写这份简短的表格 我们的团队会审查你的请求 并很快提供访问

^ 参考文献

本页由 AI 翻译,技术细节请以原文为准。

README

Requestly MCP Server

This project is a Model Context Protocol (MCP) server implemented in TypeScript using the @modelcontextprotocol/sdk. It provides full CRUD tools for Requestly rules and groups, and can be run as a stdio MCP server.

Features

  • Create, read, update, and delete Requestly rules
  • Create, read, update, and delete Requestly groups
  • Attach rules to groups
  • Run as a stdio MCP server for integration with VS Code or other MCP clients

Deleting rules and groups

delete_rule and delete_group ask you to approve every delete before anything is removed. The approval prompt comes from your MCP host (for example Claude Code or VS Code) through MCP elicitation, so the AI model can’t approve a delete on your behalf.

  • If you decline, cancel, or don’t answer within 5 minutes, nothing is deleted.
  • If your host doesn’t support elicitation, these tools can’t delete; delete the rule or group in the Requestly app instead.
  • Deleting a group keeps the rules inside it; they stay in your workspace without a group.

Requirements

  • Node.js 22.23.4+ or 24.22.1+. Older versions miss the October 2026 Node.js security fixes.

Usage

As an MCP server (for VS Code integration)

Configure your .vscode/mcp.json to use:

"Requestly Server": {
  "type": "stdio",
  "command": "npx",
  "args": ["@requestly/mcp"],
  "env": {
    "REQUESTLY_API_KEY": ""
  }
}
npx @requestly/mcp

Get Your API Key

To use this server, you’ll need a Requestly API key. Request yours by filling out this short form. Our team will review your request and provide access shortly

References

在 GitHub 查看完整 README

安装

npx @requestly/mcp
新手?先看 mcpskill.org 教程 →