BAND MCP Server
List bands and read, post, and comment on BAND posts through the BAND Open API.
BAND scores 37 (Limited), licensed GPL-3.0 and written in Ruby. It installs as a local process. It declares 9 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
37 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: gpl-3.0.
License, quality and maintenance
License: Grade C
GPL-3.0 is a strong copyleft license: derived works must use the same license.
How license is gradedQuality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 37 comes from
0 + 20 + 0 + 10 + 4 + 3 = 37. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "ktgeek-ruby-band-mcp-server": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/ktgeek/band-mcp-server:1.0.0" ], "env": { "BAND_ACCESS_TOKEN": "YOUR_BAND_ACCESS_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
BAND_ACCESS_TOKENSecret | Required | Access token for an app registered at developers.band.us |
Tools9Tool docs quality grade C
All capabilitiesReports which of posting, commenting and contentsdeletion the user has in a band.
create_commenttoolAdds a comment to a post. BAND does not return its key; find it with listcomments.
create_posttoolPublishes a text post to a band. Members are push-notified only if dopush is true.
get_posttoolFetches one post by bandkey and postkey, e.g. to confirm a createpost landed.
list_bandstoolLists the bands you have joined, with the bandkey the other tools need.
list_commentstoolLists a post's comments, oldest first unless newestfirst, paged with after.
list_poststoolLists a band's recent posts, newest-modified first, paged with an after cursor.
remove_commenttoolPermanently deletes a comment by commentkey. It cannot be undone.
remove_posttoolPermanently deletes a post by bandkey and postkey. It cannot be undone.
About
ruby-band-mcp-server
An MCP server for the BAND Open API,
written in Ruby on the official mcp gem and served over stdio.
Tools
| Tool | What it does |
|---|---|
ping | Reports that the server is up and whether BAND_ACCESS_TOKEN is configured (never its value). |
list_bands | Lists the bands you have joined, with the band_key the other tools need. |
create_post | Publishes a text post to a band. Members are push-notified only if do_push is true. |
get_post | Fetches one post by band_key and post_key, e.g. to confirm a create_post landed. |
list_posts | Lists a band's recent posts, newest-modified first, paged with an after cursor. |
check_permissions | Reports which of posting, commenting and contents_deletion the user has in a band. |
remove_post | Permanently deletes a post by band_key and post_key. It cannot be undone. |
list_comments | Lists a post's comments, oldest first unless newest_first, paged with after. |
create_comment | Adds a comment to a post. BAND does not return its key; find it with list_comments. |
remove_comment | Permanently deletes a comment by comment_key. It cannot be undone. |
A typical flow is list_bands to find the band, create_post to publish, then get_post with the returned
post_key to confirm. create_post is marked as not read-only, so MCP clients such as Claude Desktop can ask before
running it.
To browse what is already in a band, use list_posts. BAND picks the page size (20 posts); when the result's
next_after is not null, pass it back as after to get the next page.
To read the discussion on a post, use list_comments with the post's band_key and post_key. Comments come oldest
first; set newest_first to reverse that. BAND chose a page size of 20 when tested. Pass next_after back as after exactly as
returned: it remembers the order, so a page after the first needs no newest_first.
To join in, use create_comment. BAND confirms the comment without saying what its key is, so call list_comments
afterwards to confirm it landed and to get its comment_key.
To take a post down, use remove_post; it is marked destructive, so clients can ask before running it. Run
check_permissions with contents_deletion first. BAND's docs say that permission does not check authorship, so
removing someone else's post can still fail. remove_comment works the same way on a comment_key from
list_comments, and BAND's docs add that it can only remove comments made through this app.
Requirements
Ruby 4.0 or newer.
Install
gem install band-mcp-server
This puts a band-mcp-server executable on your PATH. To run it without installing, RubyGems can fetch and run it
on demand (the gem and executable share a name, but gem exec needs the gem named explicitly):
gem exec -g band-mcp-server band-mcp-server
Docker
If you would rather not manage a Ruby 4.0 install, a multi-architecture (amd64 and arm64) image of each release is
published to ghcr.io/ktgeek/band-mcp-server. The server speaks MCP over stdio, so run it with -i, and pass the
token through the environment (the image has no config file):
export BAND_ACCESS_TOKEN=your-token
docker run -i --rm -e BAND_ACCESS_TOKEN ghcr.io/ktgeek/band-mcp-server
Tags are the release version (for example 1.0.0) and latest. Register it with Claude Code:
claude mcp add band -e BAND_ACCESS_TOKEN=your-token -- \
docker run -i --rm -e BAND_ACCESS_TOKEN ghcr.io/ktgeek/band-mcp-server
Getting a BAND access token
Register an app on the BAND developer site and get an access token for it; the
API guide covers the details. The server only consumes the token and
sends it to BAND as an Authorization: Bearer header. It does not run any OAuth flow itself.
Configuring the token
Put the token in ~/.config/band-mcp-server/config (or $XDG_CONFIG_HOME/band-mcp-server/config if you set that):
mkdir -p ~/.config/band-mcp-server
echo 'BAND_ACCESS_TOKEN=your-token' > ~/.config/band-mcp-server/config
chmod 600 ~/.config/band-mcp-server/config
A value already set in the environment (for example through the MCP client's env setting) takes precedence over
the file.
Running
Register it with Claude Code:
claude mcp add band -- band-mcp-server
The server speaks MCP over stdio, so it is normally launched by a client rather than run by hand.
Claude Desktop
Claude Desktop starts servers with a minimal environment, so a version manager such as chruby is not active and
the installed executable's #!/usr/bin/env ruby finds the wrong Ruby (the system Ruby, if any). With chruby, launch
the server through chruby-exec, which selects the Ruby and its
GEM_HOME for you.
chruby-exec does that by running the command in a login shell ($SHELL -l -c), so two things must hold. chruby has
to be loaded by a startup file that a non-interactive login shell reads (for zsh, ~/.zprofile or ~/.zshenv, not
only ~/.zshrc). And those startup files must not print anything to stdout: it would land in front of the protocol
stream and Desktop could not parse the handshake.
-
Find where
chruby-execis installed withwhich chruby-exec. That depends on how you installed chruby, and the path has to be absolute because Desktop'sPATHis minimal. -
Open Settings → Developer → Edit Config (on macOS this is
~/Library/Application Support/Claude/claude_desktop_config.json) and add abandentry tomcpServers:{ "mcpServers": { "band": { "command": "/path/to/chruby-exec", "args": ["ruby-4", "--", "band-mcp-server"] } } }chruby matches
ruby-4against the installed Rubies by name, so it picks a 4.x Ruby; use a fuller name such asruby-4.0.5to pin one. Rungem install band-mcp-serverunder that same Ruby.Keep the token in the config file described above; it is loaded by absolute path, so the working directory does not matter. Setting
BAND_ACCESS_TOKENin anenvmap instead also works and takes precedence, but puts the secret in Desktop's config file.Without chruby, use the absolute path of the installed executable (
which band-mcp-server) ascommand. If that Ruby is not the firstrubyon Desktop's minimalPATH, use the absolute path of a Ruby 4.0 or newer ascommandinstead, put the executable inargs, and setGEM_HOMEto the directory holding the installed gems (gem env gemdirprints it):{ "mcpServers": { "band": { "command": "/path/to/ruby", "args": ["/path/to/band-mcp-server"], "env": { "GEM_HOME": "/path/to/gem/dir" } } } }With Docker, none of the above applies: Desktop only needs the absolute path of
docker(which docker), and the token goes in anenvmap, which puts the secret in Desktop's config file:{ "mcpServers": { "band": { "command": "/path/to/docker", "args": ["run", "-i", "--rm", "-e", "BAND_ACCESS_TOKEN", "ghcr.io/ktgeek/band-mcp-server"], "env": { "BAND_ACCESS_TOKEN": "your-token" } } } }To keep the secret out of that file, write
BAND_ACCESS_TOKEN=your-tokento a file only you can read, remove theenvmap and the"-e", "BAND_ACCESS_TOKEN"pair, and add"--env-file", "/path/to/that/file"before the image name inargs. -
Quit Claude Desktop completely (Cmd-Q) and reopen it. The
bandtools appear in the tools menu of a new chat.
Then ask Claude to run ping, which reports whether the token is set without showing it, and try "Which bands am I
in?" to confirm the connection. Desktop asks before it runs a tool unless you have set that tool to always allow.
Keep the prompt on for create_post and create_comment: they publish to every member of the band. Read the band and
the wording in the request before approving. For create_post, members are push-notified only if the request sets
do_push. Keep the prompt on for remove_post and remove_comment too: what they delete is gone for every member and
cannot be restored, so check the keys before approving.
To check the launch command outside Desktop, run it with a bare environment. A JSON initialize response means the
server starts under that Ruby with its gems; it does not check the token, which ping does:
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"check","version":"0"}}}' |
env -i HOME="$HOME" PATH=/usr/bin:/bin "$(which chruby-exec)" ruby-4 -- band-mcp-server
If the tools do not show up, read ~/Library/Logs/Claude/mcp-server-band.log:
| Symptom in the log or tool result | Cause |
|---|---|
spawn … ENOENT | command is not an absolute path to an existing chruby-exec (or Ruby). |
chruby: unknown Ruby: … | No installed Ruby matches the name in args; compare with the output of chruby. |
Could not find dotenv-…, mcp-… (gems missing) | gem install was run under a different Ruby; run it under the one in args. |
requires Ruby version >= 4.0 | The chosen Ruby is older than 4.0; point args (or command) at a 4.x Ruby. |
BAND_ACCESS_TOKEN is not set | No config file with the token, and no BAND_ACCESS_TOKEN in an env map. |
command not found: chruby | chruby is only loaded in ~/.zshrc; load it in ~/.zprofile or ~/.zshenv. |
| Desktop cannot parse the server's output | A shell startup file prints to stdout; chruby-exec runs a login shell. |
BAND API error 10401 | BAND's "Unauthorized" code: the token is missing, invalid or expired. |
Development
From a checkout, use Bundler instead of the installed gem. A .env in the checkout root takes priority over the
user config file, and bin/band-mcp-server (which sets up Bundler itself) replaces band-mcp-server:
chruby ruby-4.0.5 # or any manager that reads .ruby-version
bundle install
cp .env.example .env # then set BAND_ACCESS_TOKEN
claude mcp add band -- /path/to/ruby-band-mcp-server/bin/band-mcp-server
bundle exec rake # rubocop, rbs drift check, steep, rspec
bundle exec rake -T # every task, including audit
lib/ is typed with rbs-inline annotations and checked by
Steep; regenerate sig/generated/ with bundle exec rake rbs:generate after
changing them. See AGENTS.md for conventions and architecture.
main is protected: changes land through a pull request with green CI.
License
GPL-3.0. See LICENSE.
Frequently asked questions
What is BAND MCP Server?
List bands and read, post, and comment on BAND posts through the BAND Open API.
How do I install BAND MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. BAND MCP Server runs locally from the Docker image ghcr.io/ktgeek/band-mcp-server:1.0.0 with the command docker run -i --rm ghcr.io/ktgeek/band-mcp-server:1.0.0.
Is BAND MCP Server free and open source?
Yes. BAND MCP Server is released under the GPL-3.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does BAND MCP Server support remote (HTTP) connections?
No remote endpoint is listed for BAND MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does BAND MCP Server provide?
BAND MCP Server provides 9 tools, including check_permissions, create_comment, create_post, and get_post. See the full tool list for descriptions and parameters.
How is BAND MCP Server's trust score calculated?
BAND MCP Server scores 37 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.