A MCP server project
Project description
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:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mseep_brev_mcp-0.1.1.tar.gz.
File metadata
- Download URL: mseep_brev_mcp-0.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2125c0215097e01d55eb7daeab656e84c7bc758b5095767d39b62cf8cb1a3311
|
|
| MD5 |
28c21c1a77967024e9b2e9ba5344c8cc
|
|
| BLAKE2b-256 |
643e34e85b94eb541892e741885b21c0d7657bf441167b8f9dfc498ca172a17c
|
File details
Details for the file mseep_brev_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mseep_brev_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
505474f89c082a1eb1d5c261755dbefc8bf8415ffa48766185dcb2e3613894db
|
|
| MD5 |
c1d7a521980539833dfb7c17a8dba96c
|
|
| BLAKE2b-256 |
240e6e8c9d1839ba83575a64d957b077613343cf66b2a28c6266875aafae8088
|