Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Alabasta

БесплатноНе проверен

Connects coding agents (Claude Code, Codex, Cursor) to Alabasta tasks, enabling agents to read tasks, start work, and submit structured resolutions for human re

GitHubEmbed

Описание

Connects coding agents (Claude Code, Codex, Cursor) to Alabasta tasks, enabling agents to read tasks, start work, and submit structured resolutions for human review.

README

MCP server that connects coding agents (Claude Code, Codex, Cursor, …) to Alabasta tasks. The agent can read a task, start work, and submit a structured resolution — what changed, verification, what's unverified, deferred work, references — which a human reviews inside Alabasta.

It never overwrites the task description and never marks a task done: submitting a resolution moves the task to review, and only a human Accept reaches Done.

This is a thin stdio adapter over Alabasta's /agent/v1/* HTTP API. The API key encodes the workspace and principal, so that plus the site URL is all the config it needs.

Setup

  1. In Alabasta, go to Workspace settings → Agent access and generate an API key (shown once).
  2. Note your deployment's site URL — the https://<deployment>.convex.site value (NEXT_PUBLIC_CONVEX_SITE_URL).

Claude Code

claude mcp add alabasta \
  --env ALABASTA_SITE_URL=https://<deployment>.convex.site \
  --env ALABASTA_API_KEY=alab_sk_... \
  -- npx -y @alabasta/mcp

Codex / manual (.mcp.json)

{
  "mcpServers": {
    "alabasta": {
      "command": "npx",
      "args": ["-y", "@alabasta/mcp"],
      "env": {
        "ALABASTA_SITE_URL": "https://<deployment>.convex.site",
        "ALABASTA_API_KEY": "alab_sk_..."
      }
    }
  }
}

Environment

Variable Required Purpose
ALABASTA_SITE_URL yes https://<deployment>.convex.site
ALABASTA_API_KEY yes Workspace API key (alab_sk_...)
ALABASTA_TASK_ID no Default task for this session (a launcher can export it, so tools work without a taskId argument)
ALABASTA_RUN_ID no Correlates a resolution to an agent run (used as externalRunId for idempotent resubmits)

Tools

Tool Does
alabasta_get_task Read a task by taskId or identifier (e.g. TOM-24)
alabasta_list_my_tasks List tasks assigned to you, optional status filter
alabasta_start_task_work Move a task to in progress
alabasta_collect_git_context Gather real diff stat, commits, PR state, and CI checks (git + gh) to enrich the resolution
alabasta_submit_task_resolution Submit the structured resolution (→ in review)
alabasta_mark_ready_for_review Move a task to in review without a full resolution
alabasta_report_blocker Record why the task couldn't be completed

Resolution submits are idempotent on (taskId, externalRunId, revision) — a resubmit updates the same record; a new revision creates a new attempt.

CLI launcher

Bind a coding-agent session to a task in one command:

alabasta work TOM-24 --agent claude   # or --agent codex
alabasta work TOM-24 --branch         # also cut a branch: tom/TOM-24-<slug>
alabasta work TOM-24 --print          # print the env + command instead of launching

It fetches the task, mints a run id, exports ALABASTA_TASK_ID + ALABASTA_RUN_ID, and launches the agent with a priming prompt — the installed plugin (skill + MCP + Stop hook) takes it from there. --print is what the Alabasta UI's "Copy agent command" produces. Needs ALABASTA_SITE_URL + ALABASTA_API_KEY in the environment.

Claude Code plugin (skill + enforcement)

claude-plugin/ bundles three layers so the feature is reliable, not just possible:

  • Hands.mcp.json wires the MCP server above (set ALABASTA_SITE_URL + ALABASTA_API_KEY in your env).
  • Trainingskills/task-resolution/SKILL.md teaches the agent the resolution protocol, format, and invariants (preserve scope; separate verified from unverified; no conversational text).
  • Enforcementhooks/stop.py (a Stop hook) blocks the agent from finishing when it edited code for a linked Alabasta task but never submitted a resolution. It nudges at most twice, then allows the stop, so it can never trap a session. Task linkage comes from ALABASTA_TASK_ID or a branch name containing an identifier (e.g. tom/TOM-24-fix).

Requires python3 (stdlib only). Install it via the bundled marketplace:

/plugin marketplace add cowboyshibuya/alabasta-agent-bridge   # or a local path to this repo
/plugin install alabasta@alabasta

The marketplace catalog is .claude-plugin/marketplace.json at the repo root; the plugin source is the self-contained claude-plugin/ directory. (Relative-path sources need a git or local marketplace add, not a bare URL to the JSON file.) Alternatively, copy hooks/hooks.json into your .claude/settings.json and the skill into .claude/skills/.

Develop

bun install      # or npm install
npm run build    # tsc -> dist/
node dist/index.js

Roadmap

Done: MCP server (hands), resolution skill (training), Stop-hook enforcement (Claude Code and Codex — see codex/), the alabasta work CLI launcher, Git/CI/PR enrichment (alabasta_collect_git_context), and the marketplace-installable Claude Code plugin bundle. Next: a remote HTTP transport (enabling per-user OAuth) and automated CI publishing — see DEVELOPMENT.md.

Contributing / maintaining this repo

See DEVELOPMENT.md — what MCP is, how the pieces fit together, how to add a new tool, and how to publish a new version (including the exact failure modes hit the first time and how to avoid them).

from github.com/cowboyshibuya/alabasta-agent-bridge

Установка Alabasta

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/cowboyshibuya/alabasta-agent-bridge

FAQ

Alabasta MCP бесплатный?

Да, Alabasta MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Alabasta?

Нет, Alabasta работает без API-ключей и переменных окружения.

Alabasta — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Alabasta в Claude Desktop, Claude Code или Cursor?

Открой Alabasta на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Alabasta with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development