
Beans Mcp
io.github.selfagencyPublished by GitHub account selfagencyv0.1.4Updated Oct 24, 2026
Interact with the Beans CLI issue tracker agentically
Overview
A local MCP server that lets an assistant read and change issues in a Beans CLI issue tracker workspace, including creating, updating, querying and deleting.
- What you can do
- Initialize a workspace and read bean details by ID, singly or in batches, with full body and metadata returned as structured content. Create, bulk-create, update, bulk-update, reopen and delete beans, including status, type, priority, parent, blocking links and body edits. Query beans by listing, filtering, full-text search, sorting or ready-only views, and run raw GraphQL queries against the tracker. Read, create, edit and delete files under the .beans directory, including atomic frontmatter updates. Mark all markdown checklist tasks in a bean complete, archive completed or scrapped beans, and read extension output logs.
- When to use it
- Useful when your work is tracked in a Beans CLI workspace and you want the assistant to triage, search, create or close issues without leaving the conversation. Also fits generating Copilot instruction context from the tracker or scripting bulk issue changes.
- Requirements
- Runs as a local stdio process, typically via npx with a workspace root path argument. Needs the Beans CLI installed and reachable (default command beans, or a path given with --cli-path). Optional arguments set the port, log directory and workspace root. No accounts, API keys or environment variables are declared.
Installation
In SourceWeft
- Open Beans Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@voxslopuli/beans-mcp 🫘
[beans-mcp icon][Test & Build] [codecov] [NPM Version]
MCP (Model Context Protocol) server for Beans issue tracker. Provides programmatic and CLI interfaces for AI-powered interactions with Beans workspaces.
Documentation: beans-mcp.voxslopuli.org
🤖 Try Beans fully-integrated with GitHub Copilot in VS Code! Install the selfagency.beans-vscode extension.
Usage
Bundled beans CLI
The beans CLI binary is bundled via platform-specific optional dependencies
(@voxslopuli/beans-cli-darwin-arm64, -darwin-x64, -linux-arm64,
-linux-x64, -win32-x64), pinned to the supported Beans version (0.4.2).
At startup the server resolves the bundled binary first and falls back to the
beans command in PATH. An explicit --cli-path always wins.
To release new platform packages when Beans publishes a new version:
Or dispatch the Release beans CLI packages workflow on GitHub Actions.
Versioning
@voxslopuli/beans-mcp has its own package versioning. Compatibility with the
Beans CLI is tracked separately.
At startup, the server compares the installed beans CLI version against the
hardcoded supported Beans version: 0.4.2. If they differ, it prints a warning
to stderr and continues startup.
Parameters
--workspace-rootor positional arg: Workspace root path--cli-path: Path to Beans CLI--port: MCP server port (default: 39173)--log-dir: Log directory-h,--help: Print usage and exit
Summary of public MCP tools
Notes
- The
beans_querytool is intentionally broad: prefer it for listing, searching, filtering or sorting beans, and for generating Copilot instructions (operation: 'llm_context'). - All file and log operations validate paths to keep them within the workspace or the VS Code log directory. The
.beans/prefix is automatically stripped from paths — you can pass eithersome-bean.mdor.beans/some-bean.mdand the result is the same. beans_updatereplaces many fine-grained update tools; callers should use it to keep the public tool surface small and predictable.beans_archiveprovides CLI parity for archiving completed/scrapped beans.- Closing a parent bean via
beans_update(status: completedorstatus: scrapped) cascades the same status to all descendants. - Reopening a parent bean via
beans_reopencascades the target status to closed descendants (completed/scrapped). beans_bulk_createandbeans_bulk_updateare best-effort: they process each item sequentially and return a per-item result array with success/error entries rather than failing atomically.- Frontmatter
title:values are automatically double-quoted on write. Pass raw titles — quoting and escaping is handled for you. beans_bean_filesupportsupdate_frontmatterfor atomic frontmatter-only writes; supported fields includeprandbranch.- Unfiltered list results are cached with a short burst TTL and a timestamp-probe refresh strategy. Mutation tools (
beans_create,beans_update,beans_delete, etc.) invalidate the cache immediately. - Version mismatches between
beans-mcpand the Beans CLI are warning-only and non-blocking by design. - When
beanIdis missing in tool input, validation errors include a hint:Did you mean \beanId`?`.
Examples
beans_init
Request:
Response (structuredContent):
beans_view
Request:
Request (multiple beans):
Response (structuredContent):
beans_archive
Request:
Response (example):
beans_create
Request:
descriptionis accepted as a deprecated alias forbody.
Response (structuredContent):
beans_bulk_create
Request:
The top-level parent is applied as a default to any bean that does not specify its own parent. Here Design mockups and Implement API are assigned to epic-123; Write tests overrides with epic-456.
Response (structuredContent):
beans_bulk_update
Request (move a batch of tasks to in-progress and assign them to a parent):
Response (structuredContent):
Both bulk tools are best-effort: partial failures are reported per-item rather than aborting the whole batch.
beans_update
Request (change status and add blocking):
Request (atomic body modifications):
Note:
body(full replacement) cannot be combined withbodyAppendorbodyReplacein the same request.
Response (structuredContent):
beans_delete
Request:
Response:
Batch request:
Batch response (summary):
beans_reopen
Request:
Response:
beans_complete_tasks
Request:
Response:
beans_query examples
Refresh (list all beans):
Response (partial):
Filter (statuses/types/tags):
Search (full-text):
Sort (modes: status-priority-type-title, updated, created, id):
Ready (actionable beans only):
LLM context (generate Copilot instructions; optional write-to-workspace):
Response (structuredContent):
Raw GraphQL passthrough (CLI parity with beans query):
With variables:
beans_bean_file
Request (read):
Response:
Request (atomic frontmatter update):
Response:
beans_output
Request (read last 200 lines):
Response:
Programmatic usage
Installation
Example
API
createBeansMcpServer(opts)
Creates and initializes a Beans MCP server instance.
Options:
workspaceRoot(string): Path to the Beans workspacecliPath(string, optional): Path to Beans CLI executable (default: 'beans')name(string, optional): Server name (default: 'beans-mcp-server')version(string, optional): Server versionlogDir(string, optional): Directory for server logsbackend(BackendInterface, optional): Custom backend implementation
Returns: { server: McpServer; backend: BackendInterface }
startBeansMcpServer(argv)
CLI-compatible entrypoint for launching the server.
Utility Functions
parseCliArgs(argv: string[]): Parse CLI argumentsisPathWithinRoot(root: string, target: string): boolean: Check if path is contained within rootsortBeans(beans, mode): Sort beans by specified mode
Types & Schemas
Export of GraphQL schema, Zod validation schemas, and TypeScript types for Beans records and operations.
Agent Skills (skills-npm, skills.sh)
This package ships a built-in Agent Skill under skills/ and also publishes that skill in a format that fits the broader open skills ecosystem surfaced by skills.sh.
- Skill path in package:
skills/beans-mcp/SKILL.md - Published skill artifact:
https://beans-mcp.voxslopuli.org/.well-known/agent-skills/beans-mcp/SKILL.md - Published discovery index:
https://beans-mcp.voxslopuli.org/.well-known/agent-skills/index.json - Compatible with discovery tools that scan:
node_modules/**/skills/*/SKILL.md
That means you can use it with npm-based workflows such as skills-npm, while also pointing ecosystem tooling at the published skill artifact and discovery index used by skills catalogs like skills.sh.
To symlink installed npm-packaged skills into your agent workspace, you can use skills-npm in your consuming project.
License
MIT
Source: README.md at commit cde19dd
Tools
0Version history
1- v0.1.4LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts