Skip to main content
Glama
HacknPlan MCP Server

HacknPlan MCP Server

HacknPlan MCP Server

TypeScript Version License

A Model Context Protocol (MCP) server that provides a pure API wrapper for the HacknPlan project management API. Enables AI assistants like Claude to manage game development projects, sprints, tasks, and design documents.

Fork of Lint111/hacknplan-mcp (MIT), with fixes and token-efficient output.


✨ Key Features

  • πŸ›‘οΈ Deletion Recovery - 30-day recovery cache with crash resilience (v7.2.0)

  • ⏱️ Automatic Time Tracking - Zero-effort time logging (v7.1.0+)

  • πŸš€ Context Optimization - 75-85% token reduction with slim mode + tool search

  • πŸ“¦ Batch Operations - Update 1-100 items in a single call

  • πŸ” Advanced Search - Multi-criteria filtering with name resolution

  • πŸ’Ύ Smart Caching - 80% fewer API calls with automatic 5-minute cache

Full feature list: Documentation β†’


Related MCP server: HacknPlan MCP Server

πŸš€ Quick Start

1. Install

git clone https://github.com/ThomasVINADELLE/hnp-mcp.git
cd hnp-mcp
npm install
npm run build

β†’ Full Installation Guide


2. Configure

claude mcp add hacknplan -s user \
  -e HACKNPLAN_API_KEY=your-api-key \
  -- node /path/to/hacknplan-mcp/dist/index.js

β†’ Configuration Guide


3. Use

// Create a task
await callTool('create_work_items', {
  items: [{
    title: 'Implement OAuth',
    categoryId: 'programming',    // Name resolution
    importanceLevelId: 'high',   // Name resolution
    tagIds: ['backend', 'security']  // Auto-creates tags
  }]
});

// Start working (automatic time tracking)
await callTool('start_task', { workItemId: 123 });

// Complete (auto-logs hours)
await callTool('complete_task', {
  workItemId: 123,
  comment: 'OAuth implementation complete'
});

β†’ Quick Start Guide


πŸ“š Documentation

β†’ Complete Documentation Index

Essential Guides

Guide

Description

Quick Start

Your first API calls (5 min)

Work Items

Task management reference

Time Tracking

Automatic time logging

Deletion Safety

Recovery system

Common Patterns

Real-world recipes

By Experience Level

Beginner: Installation β†’ Configuration β†’ Quick Start β†’ Work Items

Intermediate: Time Tracking β†’ Workflow Shortcuts β†’ Batch Operations

Advanced: Slim Mode β†’ Tool Search β†’ Caching β†’ Best Practices


🎯 Use Cases

Sprint Planning

// Create sprint
const sprint = await callTool('create_boards', {
  boards: [{
    name: 'Sprint 4: Authentication',
    startDate: '2026-01-01T00:00:00Z',
    endDate: '2026-01-14T23:59:59Z'
  }]
});

// Get backlog and assign to sprint
const backlog = await callTool('get_backlog', {});
await callTool('update_work_items', {
  items: backlog.items.slice(0, 10).map(item => ({
    workItemId: item.workItemId,
    boardId: sprint.items[0].boardId
  }))
});

β†’ More Sprint Patterns


Automatic Time Tracking

// Start task (begins tracking)
await callTool('start_task', { workItemId: 123 });

// ... work for 2.5 hours ...

// Complete (auto-logs 2.5h)
await callTool('complete_task', {
  workItemId: 123,
  comment: 'Feature complete, tests passing'
});
// βœ… Automatically logged 2.5 hours

β†’ Time Tracking Guide


Batch Operations

// Create multiple tasks at once
await callTool('create_work_items', {
  items: [
    { title: 'Design API', categoryId: 'design', estimatedCost: 4 },
    { title: 'Implement endpoints', categoryId: 'programming', estimatedCost: 8 },
    { title: 'Write tests', categoryId: 'programming', estimatedCost: 6 }
  ]
});
// βœ… 3 tasks created in 1 API call

β†’ Array-Based API Guide


πŸ›‘οΈ Safety Features

Deletion Recovery (v7.2.0)

All deletions automatically stored in recovery cache for 30 days:

// Delete with automatic recovery
await callTool('delete_work_items', { workItemIds: [123, 124, 125] });

// Later, recover if needed (up to 30 days)
await callTool('recover_deleted_items', { workItemIds: [123, 124, 125] });

β†’ Deletion Safety Guide


⚑ Performance

Context Optimization

Slim Mode (75% token reduction):

HACKNPLAN_SLIM_MODE=true
HACKNPLAN_OUTPUT_VERBOSITY=slim

Tool Search (85% reduction on tool loading):

Smart Caching (80% fewer API calls):


πŸ“– Complete Documentation

β†’ Documentation Index (docs/INDEX.md)

Core API

Features

Advanced

Reference


πŸ”§ Configuration

Environment Variables

HACKNPLAN_API_KEY=your-key              # Required: API authentication
HACKNPLAN_DEFAULT_PROJECT=123456        # Optional: Default project ID
HACKNPLAN_SLIM_MODE=true                # Optional: Enable 26-tool slim mode
HACKNPLAN_OUTPUT_VERBOSITY=slim         # Optional: Minimal response fields
HACKNPLAN_DELETION_CACHE_SIZE=1000      # Optional: Recovery cache capacity

β†’ Complete Configuration Guide


🀝 Contributing

Contributions welcome! Please see:

  • Issues: GitHub Issues

  • Pull Requests: Follow standard GitHub PR workflow

  • Documentation: Help improve docs/


πŸ“„ License

MIT License - See LICENSE for details



πŸ†˜ Support

Need help?

  1. Quick Start Guide - Get running in 5 minutes

  2. Common Patterns - Real-world recipes

  3. Error Handling - Troubleshooting guide

  4. GitHub Issues - Report bugs or request features


Version: 7.2.0 | Last Updated: December 21, 2025

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Provides comprehensive project management capabilities through the Helios-9 API, enabling AI agents to create and manage projects, tasks, initiatives, and documents with full hierarchy support and AI-optimized metadata.
      65
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to manage projects, tickets, tags, and relative weight prioritization calculations, with revision history and multi-project support.
      248 npm
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI coding assistants to access documentation, live API tools, and workflow prompts for integrating a game/app backend service into Godot, Unity, and Unreal Engine projects, including auth, leaderboards, cloud saves, remote config, localization, news, gift codes, feedback, logs, crash reporting, email, and admin dashboard management.
      140
      649 npm
      MIT