beans-mcp MCP Server
Interact with the Beans CLI issue tracker agentically
beans-mcp scores 67 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 14 tools. Filed under Knowledge. GitHub shows 1 stars. Package registries report about 60 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
67 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
87/100 for listing completeness. Lost points: 2 of 14 tools barely described, short summary, no docs link.
How quality is graded
Where the 67 comes from
22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 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: 1 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: 10 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": { "voxslopuli-beans-mcp": { "command": "npx", "args": [ "-y", "@voxslopuli/beans-mcp@0.7.1" ] } }}
Environment variables
This server does not declare environment variables.
Tools14Tool docs quality grade C
All capabilitiesbeans_archivetoolArchive completed/scrapped beans.
beans_bean_filetoolRead/edit/create/delete files under .beans.
Create multiple beans in one call, optionally under a shared parent.
Update multiple beans in one call, optionally reassigning them to a shared parent.
Mark all markdown checklist tasks within a bean as complete.
beans_createtoolCreate a new bean (title/type + optional body/parent).
beans_deletetoolDelete one or many beans (beanId or beanIds, optional force).
beans_inittoolInitialize the workspace (optional prefix).
beans_outputtoolRead extension output logs or show guidance.
beans_querytoolUnified list/search/filter/sort/ready operations, with GraphQL passthrough.
beans_reopentoolReopen a completed or scrapped bean to an active status.
beans_updatetoolConsolidated metadata + body updates (status/type/priority/parent/clearParent/blocking/blockedBy/body/bodyAppend/bodyReplace) plus optional optimistic concurrency hint (ifMatch).
About
@voxslopuli/beans-mcp ๐ซ
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
npx @voxslopuli/beans-mcp /path/to/workspace
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:
# 1. Bump beansCli.version + optionalDependencies in package.json
pnpm fetch-beans-binaries --version <beans-version>
# 2. Verify staged binaries in build/beans-cli/, then publish
pnpm publish-beans-cli # add --dry-run to preview
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
| Tool | Description |
|---|---|
beans_init | Initialize the workspace (optional prefix). |
beans_archive | Archive completed/scrapped beans. |
beans_view | Fetch full bean details by beanId or beanIds. |
beans_create | Create a new bean (title/type + optional body/parent). |
beans_bulk_create | Create multiple beans in one call, optionally under a shared parent. |
beans_update | Consolidated metadata + body updates (status/type/priority/parent/clearParent/blocking/blockedBy/body/bodyAppend/bodyReplace) plus optional optimistic concurrency hint (ifMatch). |
beans_bulk_update | Update multiple beans in one call, optionally reassigning them to a shared parent. |
beans_complete_tasks | Mark all markdown checklist tasks within a bean as complete. |
beans_delete | Delete one or many beans (beanId or beanIds, optional force). |
beans_reopen | Reopen a completed or scrapped bean to an active status. |
beans_query | Unified list/search/filter/sort/ready operations, with GraphQL passthrough. |
beans_bean_file | Read/edit/create/delete files under .beans. |
beans_output | Read extension output logs or show guidance. |
- 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
Request:
{ "prefix": "project" }
Response (structuredContent):
{ "initialized": true }
Request:
{ "beanId": "bean-abc" }
Request (multiple beans):
{ "beanIds": ["bean-abc", "bean-def"] }
Response (structuredContent):
{
"bean": {
"id": "bean-abc",
"title": "Fix login timeout",
"status": "todo",
"type": "bug",
"priority": "critical",
"body": "...markdown...",
"createdAt": "2025-12-01T12:00:00Z",
"updatedAt": "2025-12-02T08:00:00Z"
}
}
Request:
{}
Response (example):
{ "archived": true, "archivedCount": 3 }
Request:
{
"title": "Add dark mode",
"type": "feature",
"status": "todo",
"priority": "normal",
"body": "Implement theme toggle and styles",
"parent": "epic-123"
}
descriptionis accepted as a deprecated alias forbody.
Response (structuredContent):
{
"bean": {
"id": "new-1",
"title": "Add dark mode",
"status": "todo",
"type": "feature"
}
}
Request:
{
"parent": "epic-123",
"beans": [
{ "title": "Design mockups", "type": "task" },
{ "title": "Implement API", "type": "task", "priority": "high" },
{ "title": "Write tests", "type": "task", "parent": "epic-456" }
]
}
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):
{
"requestedCount": 3,
"successCount": 3,
"failedCount": 0,
"results": [
{ "bean": { "id": "task-1", "title": "Design mockups" } },
{ "bean": { "id": "task-2", "title": "Implement API" } },
{ "bean": { "id": "task-3", "title": "Write tests" } }
]
}
Request (move a batch of tasks to in-progress and assign them to a parent):
{
"parent": "epic-123",
"beans": [
{ "beanId": "task-1", "status": "in-progress" },
{ "beanId": "task-2", "status": "in-progress" },
{ "beanId": "task-3", "status": "in-progress", "parent": "epic-456" }
]
}
Response (structuredContent):
{
"requestedCount": 3,
"successCount": 3,
"failedCount": 0,
"results": [
{ "beanId": "task-1", "bean": { "id": "task-1", "status": "in-progress" } },
{ "beanId": "task-2", "bean": { "id": "task-2", "status": "in-progress" } },
{ "beanId": "task-3", "bean": { "id": "task-3", "status": "in-progress" } }
]
}
Both bulk tools are best-effort: partial failures are reported per-item rather than aborting the whole batch.
Request (change status and add blocking):
{
"beanId": "bean-abc",
"status": "in-progress",
"blocking": ["bean-def"],
"ifMatch": "etag-value"
}
Request (atomic body modifications):
{
"beanId": "bean-abc",
"bodyReplace": [
{ "old": "- [ ] Task 1", "new": "- [x] Task 1" },
{ "old": "- [ ] Task 2", "new": "- [x] Task 2" }
],
"bodyAppend": "## Summary\n\nAll checklist items completed."
}
Note:
body(full replacement) cannot be combined withbodyAppendorbodyReplacein the same request.
Response (structuredContent):
{
"bean": {
"id": "bean-abc",
"status": "in-progress",
"blockingIds": ["bean-def"]
}
}
Request:
{ "beanId": "bean-old", "force": false }
Response:
{ "deleted": true, "beanId": "bean-old" }
Batch request:
{ "beanIds": ["bean-old", "bean-older"], "force": false }
Batch response (summary):
{
"requestedCount": 2,
"deletedCount": 2,
"failedCount": 0,
"results": [
{ "beanId": "bean-old", "deleted": true },
{ "beanId": "bean-older", "deleted": true }
]
}
Request:
{
"beanId": "bean-closed",
"requiredCurrentStatus": "completed",
"targetStatus": "todo"
}
Response:
{ "bean": { "id": "bean-closed", "status": "todo" } }
Request:
{ "beanId": "bean-abc" }
Response:
{
"bean": {
"id": "bean-abc",
"status": "todo"
},
"totalTaskCount": 5,
"updatedTaskCount": 3,
"unchangedTaskCount": 2
}
Refresh (list all beans):
{ "operation": "refresh" }
Response (partial):
{ "count": 12, "beans": [] }
Filter (statuses/types/tags):
{
"operation": "filter",
"statuses": ["in-progress", "todo"],
"types": ["bug", "feature"],
"tags": ["auth"]
}
Search (full-text):
{ "operation": "search", "search": "authentication", "includeClosed": false }
Sort (modes: status-priority-type-title, updated, created, id):
{ "operation": "sort", "mode": "updated" }
Ready (actionable beans only):
{ "operation": "ready" }
LLM context (generate Copilot instructions; optional write-to-workspace):
{ "operation": "llm_context", "writeToWorkspaceInstructions": true }
Response (structuredContent):
{
"graphqlSchema": "...",
"generatedInstructions": "...",
"instructionsPath": "/workspace/.github/instructions/beans-prime.instructions.md"
}
Raw GraphQL passthrough (CLI parity with beans query):
{
"operation": "graphql",
"graphql": "{ beans(filter: { type: [\"bug\"] }) { id title status } }"
}
With variables:
{
"operation": "graphql",
"graphql": "query($q: String!) { beans(filter: { search: $q }) { id title } }",
"variables": { "q": "authentication" }
}
Request (read):
{ "operation": "read", "path": "beans-vscode-123--title.md" }
Response:
{
"path": "/workspace/.beans/beans-vscode-123--title.md",
"content": "---\n...frontmatter...\n---\n# Title\n"
}
Request (atomic frontmatter update):
{
"operation": "update_frontmatter",
"path": "beans-vscode-123--title.md",
"fields": {
"status": "in-progress",
"pr": "123",
"branch": "feature/cascade-status-and-skills-npm"
}
}
Response:
{
"path": "/workspace/.beans/beans-vscode-123--title.md",
"bytes": 256,
"updatedFields": ["status", "pr", "branch"],
"frontmatter": {
"status": "in-progress",
"pr": "123",
"branch": "feature/cascade-status-and-skills-npm"
}
}
Request (read last 200 lines):
{ "operation": "read", "lines": 200 }
Response:
{
"path": "/workspace/.vscode/logs/beans-output.log",
"content": "...log lines...",
"linesReturned": 200
}
Programmatic usage
Installation
npm install beans-mcp
Example
import { createBeansMcpServer, parseCliArgs } from '@voxslopuli/beans-mcp';
const server = await createBeansMcpServer({
workspaceRoot: '/path/to/workspace',
cliPath: 'beans', // or path to beans CLI
});
// Connect to stdio transport or your own transport
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
Frequently asked questions
What is beans-mcp MCP Server?
Interact with the Beans CLI issue tracker agentically
How do I install beans-mcp 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. beans-mcp MCP Server runs locally from the npm package @voxslopuli/beans-mcp with the command npx -y @voxslopuli/beans-mcp@0.7.1.
Is beans-mcp MCP Server free and open source?
Yes. beans-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does beans-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for beans-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does beans-mcp MCP Server provide?
beans-mcp MCP Server provides 14 tools, including beans_archive, beans_bean_file, beans_bulk_create, and beans_bulk_update. See the full tool list for descriptions and parameters.
How is beans-mcp MCP Server's trust score calculated?
beans-mcp MCP Server scores 67 out of 100 (Good). 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.