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:
- Create Dev Proxy configurations using natural language
- Get contextual help for working with Dev Proxy
- Discover Dev Proxy features and capabilities
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.
This package provides a Model Context Protocol (MCP) server interface to Dev Proxy. It allows AI assistants and other MCP-compatible clients to:
- Find Dev Proxy documentation using natural language queries
- Get the installed Dev Proxy version
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
.
This MCP server exposes the following tools:
Finds relevant Dev Proxy documentation related to a specific query.
{
"query": "How to simulate API errors"
}
Gets the currently installed Dev Proxy version. This is useful to ensure that the generated configuration is compatible with the installed version of Dev Proxy.
{}
# Clone the repository
git clone https://github.com/waldekmastykarz/dev-proxy-mcp.git
cd dev-proxy-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Run the server
npm start
# Run with MCP inspector for debugging
npm run inspect
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Dev Proxy - The core Dev Proxy tool
- Model Context Protocol (MCP) - Protocol specification for AI assistant tools