The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Beans MCP listing page.
MCP (Model Context Protocol) server for Beans issue tracker. Provides programmatic and CLI interfaces for AI-powered interactions with Beans workspaces.
Documentation: beans-mcp.self.agency
🤖 Try Beans fully-integrated with GitHub Copilot in VS Code! Install the selfagency.beans-vscode extension.
@selfagency/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.
--workspace-root or 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| 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. |
beans_query tool is intentionally broad: prefer it for listing, searching, filtering or sorting beans, and for generating Copilot instructions (operation: 'llm_context')..beans/ prefix is automatically stripped from paths — you can pass either some-bean.md or .beans/some-bean.md and the result is the same.beans_update replaces many fine-grained update tools; callers should use it to keep the public tool surface small and predictable.beans_archive provides CLI parity for archiving completed/scrapped beans.beans_update (status: completed or status: scrapped) cascades the same status to all descendants.beans_reopen cascades the target status to closed descendants (completed / scrapped).beans_bulk_create and beans_bulk_update are best-effort: they process each item sequentially and return a per-item result array with success/error entries rather than failing atomically.title: values are automatically double-quoted on write. Pass raw titles — quoting and escaping is handled for you.beans_bean_file supports update_frontmatter for atomic frontmatter-only writes; supported fields include pr and branch.beans_create, beans_update, beans_delete, etc.) invalidate the cache immediately.beans-mcp and the Beans CLI are warning-only and non-blocking by design.beanId is missing in tool input, validation errors include a hint: Did you mean \beanId`?`.Request:
Response (structuredContent):
Request:
Request (multiple beans):
Response (structuredContent):
Request:
Response (example):
Request:
descriptionis accepted as a deprecated alias forbody.
Response (structuredContent):
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):
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.
Request (change status and add blocking):
Request (atomic body modifications):
Note:
body(full replacement) cannot be combined withbodyAppendorbodyReplacein the same request.
Response (structuredContent):
Request:
Response:
Batch request:
Batch response (summary):
Request:
Response:
Request:
Response:
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:
Request (read):
Response:
Request (atomic frontmatter update):
Response:
Request (read last 200 lines):
Response:
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 implementationReturns: { server: McpServer; backend: BackendInterface }
CLI-compatible entrypoint for launching the server.
parseCliArgs(argv: string[]): Parse CLI argumentsisPathWithinRoot(root: string, target: string): boolean: Check if path is contained within rootsortBeans(beans, mode): Sort beans by specified modeExport of GraphQL schema, Zod validation schemas, and TypeScript types for Beans records and operations.
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.
skills/beans-mcp/SKILL.mdhttps://beans-mcp.self.agency/.well-known/agent-skills/beans-mcp/SKILL.mdhttps://beans-mcp.self.agency/.well-known/agent-skills/index.jsonnode_modules/**/skills/*/SKILL.mdThat 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.
MIT