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 git@github.com: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:
"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
XcodeBuild MCP
A server providing tools for Xcode project management, simulator management, and app utilities.
Figma Context MCP
Extract code, assets, and component structures from Figma designs to use within AI workflows.
cli-mcp
A command-line interface (CLI) client for calling tools from local and remote MCP servers.
MCP Manager
A full-stack application for managing Model Context Protocol (MCP) servers for Claude Desktop with a modern web interface.
Manual Tests MCP Server
A YAML-based server for managing manual test cases with tools for test automation workflows.
MCP Agentic Framework
An agentic communication framework for multi-agent collaboration using MCP.
CAD-MCP
Control CAD software with natural language instructions to perform drawing operations.
ContextKeeper
Provides perfect memory for AI-assisted development by capturing project context snapshots, enabling natural language search, evolution tracking, and code intelligence.
Second Opinion MCP Server
An AI-powered coding assistant that combines insights from Gemini, Stack Overflow, and Perplexity AI to help solve programming problems.
SSH Rails Runner
Execute Rails console commands remotely and securely over SSH.