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

iflow_mcp_brevdev_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.

iflow_mcp_brevdev_brev_mcp-0.1.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iflow_mcp_brevdev_brev_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_brevdev_brev_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6fad3dcdc57d881285b46f2b97edcc77cbe4736b1e7a438a3f01a040f7a60054
MD5 eb452ffdcaf54a756345e0b46dc4550c
BLAKE2b-256 56f7173f0840ba0872da881e878da7ea215c3bce0bb50152a6bb98c3133a294b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iflow_mcp_brevdev_brev_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_brevdev_brev_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb9d390862b4e213916714de03628de4ac8d19d496016855dd16392e5adec35e
MD5 04a80b00bb3642633b6d78bd551ea738
BLAKE2b-256 23c3d7338912faf119018b0ee9d43f7984b9f979e26df967b7254708d1b4e7d1

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