Skip to main content

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:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You'll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_brev_mcp-0.1.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_brev_mcp-0.1.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file mseep_brev_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: mseep_brev_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_brev_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6ab8075a40b47a0d427bb0d04e67c1edeff99da08a100f9f6ad232a8e92acdde
MD5 b02f33f0e7b729c0ae62bbea73cde6e6
BLAKE2b-256 c2f852d2f07b5c554202c2f6febd8a8533da5fd8b30b6708bc6f3e580a50b350

See more details on using hashes here.

File details

Details for the file mseep_brev_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mseep_brev_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_brev_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03cfa780d82c15dc4ea5ff1394e79e265a743599f7e7750361efc8252e11edc9
MD5 405e2370b64c43a638a93082d126f669
BLAKE2b-256 6867c60a525da99f8e71168067bf0b9958f1d8c757caffdf02faa00ffcb9ff1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page