Basic information
About Beans MCP Server
MCP (Model Context Protocol) server for Beans issue tracker. Provides programmatic and CLI interfaces for AI-powered interactions with Beans workspaces.
Beans MCP is a MCP server in the Other category listed in the AddMCP.net directory, published by selfagency. It exposes 14 tools, including beans_init, beans_archive, beans_view, beans_create and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: beans, issue-tracker, issues, markdown, memory.
Setup
{
"mcpServers": {
"beans": {
"command": "npx",
"args": [
"-y",
"@selfagency/beans-mcp@latest",
"/path/to/your/repo"
]
}
}
}
{
"mcpServers": {
"beans": {
"command": "npx",
"args": [
"-y",
"@selfagency/beans-mcp@latest",
"/path/to/your/repo"
]
}
}
}
{
"servers": {
"beans": {
"command": "npx",
"args": [
"-y",
"@selfagency/beans-mcp@latest",
"/path/to/your/repo"
]
}
}
}
Beans MCP config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"beans": {
"command": "npx",
"args": [
"-y",
"@selfagency/beans-mcp@latest",
"/path/to/your/repo"
]
}
}
}
Beans MCP tools
-
beans_init
— Initialize Beans in the current workspace, equivalent to the extension init command.
prefix:string -
beans_archive
— Archive completed or scrapped beans, equivalent to the beans CLI archive command.
(no parameters) -
beans_view
— Fetch full bean details by ID.
beanId:string, beanIds:array -
beans_create
— Create a new bean.
title:string*, type:string*, status:string, priority:string, body:string, description:string, parent:string -
beans_edit
— Update bean metadata fields (status/type/priority/parent/blocking).
(no parameters) -
beans_reopen
— Reopen a completed or scrapped bean into a non-closed status.
(no parameters) -
beans_update
— Update bean metadata fields (status/type/priority/parent/blocking). Consolidated replacement for per-field update tools.
(no parameters) -
beans_delete
— Delete a bean (intended for draft/scrapped beans).
beanId:string, beanIds:array, force:boolean -
beans_bulk_create
— Create multiple beans in one call. Optionally assign all of them (or a subset) to a shared parent.
beans:array*, parent:string -
beans_bulk_update
— Update multiple beans in one call. Optionally assign all of them (or a subset) to a shared parent.
beans:array*, parent:string -
beans_complete_tasks
— Mark all markdown checklist tasks within a bean as completed.
(no parameters) -
beans_query
— Unified query tool for refresh, filter, search, and sort operations.
operation:string, mode:string, statuses, types, search:string, includeClosed:boolean, tags, graphql:string, variables:object, writeToWorkspaceInstructions:boolean -
beans_bean_file
— Read, create, edit, or delete files under .beans (operation param).
operation:string*, path:string*, content:string, overwrite:boolean, fields:object -
beans_output
— Read extension output log or show guidance (operation param).
operation:string, lines:integer
Overview
What is Beans MCP?
Beans MCP is a Model Context Protocol server for the Beans issue tracker. It provides programmatic and CLI interfaces for AI-powered interactions with Beans workspaces, enabling AI assistants to read, create, update, and manage issue beans.
How to use Beans MCP?
Run npx @selfagency/beans-mcp /path/to/workspace from the command line. Optional parameters include --workspace-root, --cli-path, --port, and --log-dir. The server exposes 13 public MCP tools for interacting with beans.
Key features of Beans MCP
- Initializes, lists, views, and archives bean workspaces
- Creates and bulk-creates beans with parent support
- Updates bean metadata and body with concurrency control
- Supports bulk updates and batch delete operations
- Queries beans with filters, sort, and GraphQL passthrough
- Marks markdown checklist tasks complete automatically
Use cases of Beans MCP
- AI agents managing issue tracking workflows programmatically
- Batch creation or updating of related beans under a shared parent
- Automating closure or reopening of beans with cascading status on descendants
- Integrating Beans with VS Code via the companion extension
- Performing complex queries and generating Copilot instructions from workspace data
Frequently asked questions
1 What version of Beans CLI is supported?
The server checks against Beans CLI version 0.4.2 at startup. If versions differ, a warning is printed to stderr but startup continues.
2 How does Beans MCP handle path validation?
All file and log operations validate paths to stay within the workspace or VS Code log directory. The .beans/ prefix is automatically stripped from input paths.
3 Are bulk operations atomic?
No. beans_bulk_create and beans_bulk_update are best-effort: each item is processed sequentially and failures are reported per-item in the result array.
4 Does closing a parent bean affect its children?
Yes. Closing a parent bean via beans_update with status completed or scrapped cascades the same status to all descendants.
5 Does Beans MCP cache query results?
Unfiltered list results are cached with a short burst TTL and a timestamp-probe refresh strategy. Mutation tools immediately invalidate the cache.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In