DP

dev-proxy-tools/mcp

开发工具

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

4 stars 2 forks 质量 72 趋势 19MIT

dev-proxy-tools/mcp 是从 https://github.com/dev-proxy-tools/mcp. 导入的 MCP 服务器候选

概览

dev-proxy-tools/mcp 是从 https://github.com/dev-proxy-tools/mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

一个用于开发代理的模型上下文协议(MCP)服务器,使AI助手能够使用MCP标准与开发代理功能交互。使用该服务器:

  1. 使用自然语言创建开发代理配置
  2. 获取使用Dev Proxy的上下文帮助
  3. 探索开发代理的功能和能力

什么是Dev Proxy?

Dev Proxy 是一个 API 模拟器,帮助你轻松测试应用超出正常路径。它允许你:

  • 测试API错误处理:查看你的应用如何响应API错误,而无需更改代码
  • 验证速率限制处理:模拟API速率限制以改善用户体验
  • 测试慢速API响应:查看你的应用如何处理慢速API以实现必要的功能
  • 创建模拟API:快速搭建模拟API,无需编写你不会发布的代码

开发代理支持任何类型的应用和技术栈,因为它在代理层面拦截网络请求。

这个包的作用

该软件包为开发代理提供模型上下文协议(MCP)服务器接口。它允许AI助手及其他兼容MCP的客户端:

  1. 使用自然语言查询查找开发代理文档

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

README

以下为原文 README 节选,完整内容请查看原文。

Dev Proxy MCP Server

A Model Context Protocol (MCP) server for Dev Proxy that enables AI assistants to interact with Dev Proxy capabilities using the MCP standard. Use this server to:

  1. Create Dev Proxy configurations using natural language
  2. Get contextual help for working with Dev Proxy
  3. Discover Dev Proxy features and capabilities

What is Dev Proxy?

Dev Proxy is an API simulator that helps you effortlessly test your app beyond the happy path. It allows you to:

  • Test API error handling: See how your app responds to API errors without changing your code
  • Verify rate limit handling: Simulate API rate limits to improve user experience
  • Test slow API responses: See how your app handles slow APIs to implement necessary affordances
  • Create mock APIs: Quickly stand up mock APIs without writing code you won’t ship

Dev Proxy works with any type of app and tech stack as it intercepts network requests at the proxy level.

What This Package Does

This package provides a Model Context Protocol (MCP) server interface to Dev Proxy. It allows AI assistants and other MCP-compatible clients to:

  1. Find Dev Proxy documentation using natural language queries
  2. Get the installed Dev Proxy version

Prerequisites

Usage

To set up and use the MCP server, refer to the instructions for your MCP host, such as Visual Studio Code. The Dev Proxy MCP server is published on npm under @devproxy/mcp.

Use the following values:

  • Type: stdio
  • Command: npx
  • Arguments:
    • -y
    • @devproxy/mcp
  • Environment: none

[!TIP] If you want to test the preview version of the server using @devproxy/mcp@next.

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →