SideButton MCP Server

io.github.sidebutton由 GitHub 账号 sidebutton 发布v1.5.2更新于 Oct 25, 2026

Open-source MCP server with browser automation and knowledge packs for AI agents

概览

AI 生成的概览

本地运行的开源 MCP 服务器,为编程智能体提供浏览器控制、YAML 工作流执行和可安装的领域知识包。

可以做什么
运行与查看工作流:列出、读取、执行 YAML 定义的工作流并查看运行日志,发布截图或报告等会话产物。通过 Chrome 扩展控制浏览器:导航、点击、输入、填写、选择、悬停、滚动、按键、等待、检查元素、提取文本或结构化数据、生成快照与截图、注入 CSS、执行 JavaScript。管理浏览器会话:检查扩展连接状态、从当前页面捕获选择器、为已连接标签页设置或清除 HTTP Basic Auth。通过命令行和仪表盘安装与管理知识包(选择器、数据模型、状态机、角色手册)。
适用场景
适合需要让 AI 编程智能体驱动真实浏览器进行测试、抓取或检查网页的场景,也适合希望用 YAML 定义可重复的智能体工作流并在本地或通过 REST 触发的用户。希望为智能体提供特定网页应用领域知识的团队同样适用。
运行要求
以 Node.js 本地进程运行,可用 npx 或从源码启动;浏览器工具需要安装 Chrome 扩展并连接到某个标签页。仪表盘和 REST API 监听本地 9876 端口。LLM 工作流步骤需要 OPENAI_API_KEY 或 ANTHROPIC_API_KEY,或本地 Ollama。
安装前请注意
浏览器工具可在页面中点击、输入、填写并执行 JavaScript,工作流还能运行 shell 命令、创建或评论 issue 和拉取请求,会改动真实数据。可为标签页保存 HTTP Basic Auth 凭据。自动化第三方平台可能违反其条款并导致账号受限。设置相应密钥后,LLM 步骤会把提示发送给 OpenAI 或 Anthropic。

安装

在 SourceWeft 中

  1. 打开 控制台中的 SideButton MCP Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

SideButton

Open-source AI agent platform for agentic coding — MCP server, knowledge packs, and AI workflow automation.

[npm] [License]

sidebutton.com · docs.sidebutton.com

[SideButton open-source AI agent platform for agentic coding: MCP server, agentic workflows, knowledge packs]

Run AI coding agents with agentic workflows, knowledge packs, and real browser control. Connect Claude Code, Codex, Cursor, ChatGPT, or any MCP client.

bash
npx sidebutton@latest# Dashboard at http://localhost:9876

What you get

MCP ServerAI agent tools for browser control, workflow execution, and knowledge pack access. Stdio and SSE transports.
REST APITrigger workflows remotely from webhooks, cron jobs, mobile apps, or other agents.
Workflow EngineAI workflow automation with browser, git, issue-tracking, LLM, shell, and control-flow steps. Define agentic workflows in YAML.
Knowledge PacksInstallable domain knowledge — CSS selectors, data models, state machines. Role playbooks turn coding agents into an AI software engineer, QA, or PM.
Chrome ExtensionBrowser commands with real DOM access via WebSocket, not screenshots. Recording mode.
DashboardSvelte UI — workflow browser, run logs, skill pack manager, system status.

Quick Start

bash
# Install and startnpx sidebutton@latest
# Or from sourcepnpm install && pnpm build && pnpm start
# Open http://localhost:9876

CLI

bash
pnpm cli serve          # Start server with dashboardpnpm cli serve --stdio  # Start with stdio transport (for Claude Desktop)pnpm cli list           # List available workflowspnpm cli status         # Check server status
# Skill pack managementpnpm cli registry add <path|url>   # Install skill packs from a registrypnpm cli registry update [name]    # Update installed packspnpm cli registry remove <name>    # Uninstall packs and remove registrypnpm cli search [query]            # Search available skill packs
# Creating skill packspnpm cli init [domain]             # Scaffold a new skill packpnpm cli validate [path]           # Validate pack structurepnpm cli publish [source]          # Publish to a registry

MCP Server

SideButton is an open-source MCP server for AI coding agents. Agents connect to it directly for browser control, workflow automation, and domain knowledge.

Works with Claude Code, Codex, Cursor, Claude Desktop, VS Code, Windsurf, ChatGPT — any MCP client.

Claude Code

bash
claude mcp add sidebutton --transport http http://localhost:9876/mcp

Persists to ~/.claude.json; add --scope project to write ./.mcp.json instead. Full guide: Claude Code SideButton MCP setup.

Codex

Add to ~/.codex/config.toml:

toml
[mcp_servers.sidebutton]command = "sidebutton"args = ["serve", "--stdio"]

Full guide: OpenAI Codex SideButton MCP setup.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "sidebutton": {      "command": "npx",      "args": ["sidebutton", "--stdio"]    }  }}

Cursor

Add to ~/.cursor/mcp.json:

json
{  "mcpServers": {    "sidebutton": {      "url": "http://localhost:9876/mcp"    }  }}

MCP Tools

ToolDescription
run_workflowExecute a workflow by ID
get_run_logGet execution log for a run
list_workflowsList all available workflows
get_workflowGet workflow YAML definition
list_run_logsList recent workflow executions
publish_artifactPublish evidence (screenshots, reports) from a session
get_browser_statusCheck browser extension connection
capture_pageCapture selectors from current page
navigateNavigate browser to URL
snapshotGet page accessibility snapshot
clickClick an element
typeType text into an element
press_keySend keyboard keys
scrollScroll the page
extractExtract text from element
screenshotCapture page screenshot (pass path to write a PNG file instead of returning image bytes)
select_optionSelect dropdown option
fillFill input value (React-compatible)
waitWait for element or delay
existsCheck if element exists
extract_allExtract all matching elements
extract_mapExtract structured data from repeated elements
scroll_into_viewScroll element into viewport
hoverHover over element
inject_cssInject CSS into the page (blur/hide elements before a screenshot)
evaluateExecute JavaScript in browser
browser_batchRun a sequence of browser actions in one call
set_basic_authSet HTTP Basic Auth credentials for the connected tab
clear_basic_authClear stored HTTP Basic Auth credentials

REST API

JSON endpoints for external integrations. The same workflows are available via MCP locally and via REST remotely.

bash
# Run a workflowcurl -X POST http://localhost:9876/api/workflows/check_ticket/run \  -H "Content-Type: application/json" \  -d '{"params": {"ticket_id": "PROJ-123"}}'
# List workflowscurl http://localhost:9876/api/workflows
# Get run logcurl http://localhost:9876/api/runs/latest

Trigger workflows from webhooks, cron jobs, mobile apps, or other agents on different machines.

Workflow Engine

YAML-first orchestration for agentic workflows. Step types by family:

Step Types

FamilySteps
browser.*navigate, click, type, fill, extract, extractAll, extractMap, snapshot, screenshot, wait, exists, hover, key, scroll, scrollIntoView, select_option, injectCSS, injectJS
git.*createPR, getPR, listPRs, getIssue, listIssues
issues.*create, get, search, comment, attach, transition
llm.*classify, decide, generate
control.*if, foreach, retry, stop
shell / terminalshell.run, terminal.open, terminal.run
data.*first, get
workflow.callCall another workflow with parameters

LLM steps work with Ollama (local), OpenAI, and Anthropic.

Example

yaml
id: check_ticket_statustitle: "Check Jira ticket and classify"steps:  - type: browser.navigate    url: "https://your-org.atlassian.net/browse/{{ticket_id}}"  - type: browser.extract    selector: "[data-testid='status-field']"    as: current_status  - type: control.if    condition: "{{current_status}} != 'Done'"    then:      - type: llm.classify        prompt: "Should this ticket be closed? Context: {{current_status}}"        classes: [close, keep_open]        as: decision

Variable Interpolation

Use {{variable}} syntax to reference extracted values or parameters:

yaml
steps:  - type: browser.extract    selector: ".username"    as: user  - type: shell.run    cmd: "echo 'Hello, {{user}}!'"

Knowledge Packs

Installable domain knowledge (skill packs) per web app or domain. Knowledge packs power AI code review, automated testing, and enterprise AI agent deployments.

Also referred to as skill packs in code and CLI commands.

  • Selectors — CSS selectors for UI elements
  • Data models — entity types, fields, relationships, valid states
  • State machines — valid transitions per state
  • Role playbooks — role-specific procedures (QA, SE, PM, SD)
  • Common tasks — step-by-step procedures, gotchas, edge cases
bash
sidebutton install github.comsidebutton install atlassian.net

Open registry with published packs for popular web apps. Build and share packs for any domain.

Chrome Extension

Install the SideButton Chrome Extension from the Chrome Web Store.

  • Browser commands — navigate, click, type, extract, scroll, wait, snapshot
  • Real DOM access via CSS selectors — not pixel coordinates, not screenshots
  • Recording mode — capture manual actions as workflows
  • Embed buttons — inject action buttons into any web page
  • WebSocket connection — stable reconnection, works with local or remote server

After installing:

  1. Navigate to any website
  2. Click the SideButton extension icon
  3. Click "Connect This Tab"

Dashboard & Observability

Svelte UI at http://localhost:9876:

  • Workflow browser — list, search, run
  • Run logs — step-by-step execution traces with timing, variables, errors
  • Skill pack manager — install, browse, inspect
  • System status — extension connection, LLM config, server health

SideButton handles multi-agent orchestration — from workflow execution to knowledge injection.

Architecture

┌──────────────────────────────────────────────────────────────────────────┐│                          @sidebutton/server                               ││                                                                          ││  ┌─────────────────────┐   ┌──────────────────────────────────────────┐  ││  │  stdio Transport    │   │    Fastify HTTP + WebSocket (port 9876)  │  ││  │  ─────────────────  │   │    ────────────────────────────────────  │  ││  │  stdin → JSON-RPC   │   │  GET  /        → Dashboard (Svelte)      │  ││  │  stdout ← JSON-RPC  │   │  GET  /ws      → Chrome Extension WS     │  ││  │  (Claude Desktop)   │   │  POST /mcp     → MCP JSON-RPC (SSE)      │  ││  └──────────┬──────────┘   │  GET  /api/*   → REST API                │  ││             │              └──────────────────────┬───────────────────┘  ││             │                                     │                      ││             └──────────────────┬──────────────────┘                      ││                                ▼                                         ││  ┌────────────────────────────────────────────────────────────────────┐  ││  │                       @sidebutton/core                              │  ││  │                                                                     │  ││  │  - Workflow types & parser (YAML)                                  │  ││  │  - Step executors (YAML step types)                                │  ││  │  - Variable interpolation                                          │  ││  │  - Execution context & events                                      │  ││  └────────────────────────────────────────────────────────────────────┘  │└──────────────────────────────────────────────────────────────────────────┘      ▲                ▲                      ▲                      ▲      │ stdio          │ WebSocket            │ HTTP POST            │ REST      ▼                ▼                      ▼                      ▼┌──────────────┐ ┌─────────────────┐ ┌─────────────────┐ ┌───────────────────┐│Claude Desktop│ │ Chrome Extension│ │   Claude Code   │ │   Mobile App      ││ (MCP stdio)  │ │ (Browser Auto)  │ │   (MCP SSE)     │ │   (REST Client)   │└──────────────┘ └─────────────────┘ └─────────────────┘ └───────────────────┘

Project Structure

sidebutton/├── packages/│   ├── core/              # @sidebutton/core — workflow engine│   │   └── src/│   │       ├── types.ts       # Workflow types│   │       ├── parser.ts      # YAML loader│   │       ├── executor.ts    # Workflow runner│   │       └── steps/         # Step implementations│   ├── server/            # @sidebutton/server — MCP + HTTP + CLI│   │   ├── bin/               # CLI entry point│   │   └── src/│   │       ├── server.ts      # Fastify HTTP server│   │       ├── stdio-mode.ts  # stdio transport entry point│   │       ├── extension.ts   # WebSocket client│   │       ├── mcp/           # MCP handlers│   │       │   ├── handler.ts    # MCP JSON-RPC logic│   │       │   ├── stdio.ts      # stdio transport adapter│   │       │   └── tools.ts      # Tool definitions│   │       └── cli.ts         # Commander CLI│   └── dashboard/         # Svelte web UI│       └── src/│           ├── App.svelte│           └── lib/├── extension/             # Chrome extension├── workflows/             # Public workflow library├── actions/               # User-created workflows├── skills/                # Installed skill packs└── run_logs/              # Execution history

Environment Variables

VariableRequired ForDescription
OPENAI_API_KEYllm.* stepsOpenAI API key for LLM workflows
ANTHROPIC_API_KEYllm.* stepsAnthropic API key (alternative)

Development

bash
pnpm install       # Install dependenciespnpm build         # Build all packagespnpm start         # Start serverpnpm cli list      # List workflowspnpm cli status    # Check status

Watch Mode

bash
pnpm dev              # Full dev mode (all packages)pnpm dev:server       # Server with auto-restart on :9876pnpm dev:dashboard    # Dashboard watch buildpnpm dev:core         # Core library watch build

Platform Automation Disclaimer

SideButton is a general-purpose browser automation framework. When automating third-party platforms:

  • Review Terms of Service: Many platforms prohibit or restrict automation. You are responsible for complying with the terms of any platform you automate.
  • Account Risk: Automation may result in account restrictions or suspension on some platforms.
  • Use Responsibly: Only automate actions you would perform manually. Respect rate limits and platform guidelines.

The authors do not endorse or encourage violations of third-party terms of service.

License

This project uses mixed licensing — see LICENSING.md:

  • Engine, server, CLI, dashboard — Apache-2.0
  • Browser extension — FSL-1.1-Apache-2.0 (converts to Apache-2.0 on 2029-03-15)

来源:README.md,提交 1d21564

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.5.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分