Brev
A MCP server for managing Brev development environments using the Brev CLI.
Brev MCP server
This is a MCP server implementation for Brev.
Configuration
The MCP server uses the Brev CLI's API access token and currently set org.
Follow the Brev documentation to download the CLI and login if you haven't already.
If you want to switch your Brev org, run brev set <org-name>
The CLI access token expires every hour. If you have any 403 errors, simply run brev ls to refresh the access token.
Quickstart
Setup repository locally
git clone [email protected]:brevdev/brev-mcp.git
Install uv
Follow the uv installation guide
Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Add the following to your claude_desktop_config.json:
Development/Unpublished Servers Configuration
"mcpServers": {
"brev_mcp": {
"command": "uv",
"args": [
"--directory",
"<path-to-repo>",
"run",
"brev-mcp"
]
}
}
Development
Building and Publishing
To prepare the package for distribution:
- Sync dependencies and update lockfile:
uv sync
- Build package distributions:
uv build
This will create source and wheel distributions in the dist/ directory.
- Publish to PyPI:
uv publish
Note: You'll need to set PyPI credentials via environment variables or command flags:
- Token:
--tokenorUV_PUBLISH_TOKEN - Or username/password:
--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm with this command:
npx @modelcontextprotocol/inspector uv --directory /Users/tmontfort/Brev/repos/brev_mcp run brev-mcp
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Vibe Stack MCP
Helps developers choose the right tech stack for their projects with personalized recommendations.
Glide API
Interact with the Glide API to build applications from data sources like Google Sheets.
AAP Enterprise MCP Server
An MCP server that allows AI assistants to interact with Ansible Automation Platform (AAP) and Event-Driven Ansible (EDA) infrastructure.
Azure DevOps
Integrate with Azure DevOps services to manage work items, repositories, and pipelines.
Graph Tools
An interactive graph analysis toolkit with web visualizations and AI-powered analysis capabilities.
GoDoc MCP
Access real-time Go package documentation from pkg.go.dev.
MCP Stdio-HTTP Proxy
A TypeScript proxy that connects stdio MCP clients to HTTP SSE MCP servers, handling OAuth authentication.
MCP Utils
A Python package with utilities and helpers for building MCP-compliant servers, often using Flask and Redis.
Ilograph MCP Server
Create and validate Ilograph diagrams with access to documentation and guidance.
Swift Package Index
Search for Swift packages and retrieve their READMEs and metadata from the Swift Package Index.