Hanary MCP Server - Task management for Claude Code, OpenCode & OpenAI Codex
Project description
Hanary MCP Server
Hanary MCP Server for Claude Code & OpenCode - squad-bound task management.
Features
- MCP Server: Direct tool integration with Claude Code and OpenCode
- Slash Commands:
/hanary-status,/hanary-start,/hanary-done - Skills: Task management workflow with estimation patterns
- Agents: Task planner for complex work decomposition
- Full Compatibility: Works with both Claude Code and OpenCode
Installation
# Using uvx (recommended)
uvx hanary-mcp --squad my-project
# Or install globally
uv tool install hanary-mcp
Configuration
Claude Code Setup
- Set your API token as a system environment variable:
export HANARY_API_TOKEN='your-token-here'
- Add to your project's
.mcp.json:
{
"mcpServers": {
"hanary": {
"command": "uvx",
"args": ["hanary-mcp", "--squad", "your-squad-slug"]
}
}
}
Or add via CLI:
claude mcp add hanary -- uvx hanary-mcp --squad your-squad-slug
Environment Variables
Set these in your shell profile (.bashrc, .zshrc, etc.):
| Variable | Required | Description |
|---|---|---|
HANARY_API_TOKEN |
Yes | Your Hanary API token |
HANARY_API_URL |
No | API URL (default: https://hanary.org) |
Available Tools
Task Management
list_tasks- List tasks in the squadcreate_task- Create a new taskupdate_task- Update task title/descriptioncomplete_task- Mark task as completeduncomplete_task- Mark task as incompletedelete_task- Soft delete a taskget_top_task- Get highest priority incomplete task
Squad
get_squad- Get squad detailslist_squad_members- List squad members
Messages
list_messages- List squad messagescreate_message- Send a message
Development
# Clone and install
git clone https://github.com/hanary/hanary-mcp.git
cd hanary-mcp
uv sync
# Run locally
HANARY_API_TOKEN=your_token uv run hanary-mcp --squad test
Enhanced Features
Beyond the MCP tools, this project includes commands, skills, and agents for better UX.
Slash Commands
| Command | Description |
|---|---|
/hanary-status |
Show current task status and squad overview |
/hanary-start |
Begin working on top priority task |
/hanary-done |
Complete current task and get next |
Skills
- hanary-workflow: Complete task management workflow with estimation patterns and best practices
Agents
- task-planner: Decomposes complex work into structured tasks with estimates
Platform Setup
Claude Code
Files auto-discovered from .claude/ directory:
.claude/
├── commands/ # /hanary-status, /hanary-start, /hanary-done
├── skills/
│ └── hanary-workflow/
│ └── SKILL.md
└── agents/
└── task-planner.md
Add MCP server to .mcp.json in your project or use the CLI:
claude mcp add hanary -- uvx hanary-mcp
OpenCode
Files auto-discovered from .opencode/ directory:
.opencode/
├── commands/ # /hanary-status, /hanary-start, /hanary-done
└── agents/
└── task-planner.md
Skills are shared via .claude/skills/ (OpenCode reads both .opencode/skills/ and .claude/skills/).
Configuration in opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcpServers": {
"hanary": {
"command": "uvx",
"args": ["hanary-mcp"]
}
}
}
Note: HANARY_API_TOKEN must be set as a system environment variable.
Directory Structure
hanary-mcp/
├── .claude/ # Claude Code files
│ ├── commands/
│ │ ├── hanary-status.md
│ │ ├── hanary-start.md
│ │ └── hanary-done.md
│ ├── skills/
│ │ └── hanary-workflow/
│ │ ├── SKILL.md
│ │ └── references/
│ └── agents/
│ └── task-planner.md
├── .opencode/ # OpenCode files
│ ├── commands/
│ │ ├── hanary-status.md
│ │ ├── hanary-start.md
│ │ └── hanary-done.md
│ └── agents/
│ └── task-planner.md
├── .mcp.json # MCP server config
├── opencode.json # OpenCode config
└── src/hanary_mcp/ # MCP Server implementation
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hanary_mcp-0.17.0.tar.gz.
File metadata
- Download URL: hanary_mcp-0.17.0.tar.gz
- Upload date:
- Size: 611.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14e166b05215e84c9e7a2b2c99381f9304a2dcb0f1a1af396e786c30666f988c
|
|
| MD5 |
0705222d2be822f1208492c46998d8f5
|
|
| BLAKE2b-256 |
e7e6b3551fe5ce81372628b508bed12ff7284ad0859f561864bbf1c48e7aca68
|
File details
Details for the file hanary_mcp-0.17.0-py3-none-any.whl.
File metadata
- Download URL: hanary_mcp-0.17.0-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b745fdbee48c9a4529c4e7499f59da8719c8f21767ea721ca384c5e1324f71cb
|
|
| MD5 |
dd44a8b9966aaea9548b5c55424ed61a
|
|
| BLAKE2b-256 |
28fb474cf72b3f48edb4f97fa31227187dcd4ab7aafd218b60d1261a51e5355c
|