
ibreaker/habitica-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A Model Context Protocol (MCP) 서버는 Habitica API와 완벽하게 상호 작용할 수 있는 AI 보조 서버를 만들고, 작업, 트랙 습관을 만들고, 애완 동물을 올리고 gamified 생산성을 즐기십시오.
개요
A Model Context Protocol (MCP) 서버는 Habitica API와 완벽하게 상호 작용할 수 있는 AI 보조 서버를 만들고, 작업, 트랙 습관을 만들고, 애완 동물을 올리고 gamified 생산성을 즐기십시오. - - 생성 /보기 / 업데이트 / 모든 작업 유형 삭제 - ✅ - 추가, 업데이트, 삭제 및 작업 내에서 점수 체크리스트 항목 - - 기록 습관 완료 및 건강한 일상을 구축 - h - 해치 및 피드 애완 동물, 그들을 성장 - - 관리하고 모든 종류의 마운트를 갖는다 - ≯️ - 검색하고 게임 아이템을 구입 - ⚡ - 게임 플레이를 강화하는 던지기 클래스 기술 - Я - 상세한 사용자 정보와 통계를 잡아 - ️️ - 더 나은 조직에 대한 태그를 만들고 관리 - – 읽기 및 시스템 알림 관리 - ☸ - 당신이 소유하는 장비의 모든 항목 및 조각 목록 - Ha - 대화를 통해 Habitica 운영 - AI는 수요에 작업을 만들 수 있습니다 - 📈 - 자동으로 트랙 및 요약 진행 - ✪ - 당신의 습관을 기반으로 맞춤 권장 사항 - Node.js 18+ - npm 또는 원사 - 유효한 Habitica 계정 1. Habitica 2.로 로그인.
개요(AI 번역)
中文文m README.zh-CN.md
A Model Context Protocol (MCP) 서버는 Habitica API와 완벽하게 상호 작용할 수 있는 AI 보조 서버를 만들고, 작업, 트랙 습관을 만들고, 애완 동물을 올리고 gamified 생산성을 즐기십시오.
✨ 특징
# # # # # 핵심 게임 플레이 기능
- Smart task management – create / view / update / 모든 작업 유형 삭제
- ✅ 체크리스트 관리 - 추가, 업데이트, 삭제 및 점수 체크리스트 항목
- Ha Habit tracking - 기록 습관 완료 및 건강한 일상을 구축
- ¿Pet raise** - 해치와 먹이 애완 동물, 그들을 성장
- ** 마운트 컬렉션 ** - 모든 종류의 마운트를 관리하고 장비
- ∅️ 쇼핑 및 보상 - 게임 아이템 찾기
- ⚡ **Skill 시스템 ** - 게임 플레이를 강화하는 던지기 클래스 기술
자료 중심 특징
- Я **사용자 프로필 ** - 상세한 사용자 정보 및 통계를 fetch
- T️ Tag Management - 더 나은 조직을위한 태그 생성 및 관리
- Notification center – 시스템 알림을 읽고 관리
- ☸ **Inventory ** - 당신이 소유하는 장비의 모든 항목 및 조각
를 통해 AI 통합 하이라이트
- N Natural-language control – 대화를 통해 Habitica 운영
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Habitica MCP Server
中文文档请阅读 README.zh-CN.md
A Model Context Protocol (MCP) server that lets AI assistants seamlessly interact with the Habitica API – create tasks, track habits, raise pets and enjoy gamified productivity.
✨ Features
🎮 Core Gameplay Features
- 📋 Smart task management – create / view / update / delete all task types
- ✅ Checklist management – add, update, delete and score checklist items within tasks
- 🎯 Habit tracking – record habit completions and build healthy routines
- 🐾 Pet raising – hatch and feed pets, watch them grow
- 🏇 Mount collection – manage and equip all kinds of mounts
- 🛍️ Shop & rewards – browse and buy in-game items
- ⚡ Skill system – cast class skills to enhance gameplay
📊 Data-oriented Features
- 👤 User profile – fetch detailed user information and stats
- 🏷️ Tag management – create and manage tags for better organisation
- 📬 Notification centre – read and manage system notifications
- 📦 Inventory – list every item and piece of equipment you own
🤖 AI Integration Highlights
- 🧠 Natural-language control – operate Habitica via conversation
- 📝 Task suggestions – AI can create tasks on demand
- 📈 Progress reporting – automatically track and summarise progress
- 🎨 Personalised experience – tailored recommendations based on your habits
🚀 Quick Start
Prerequisites
- Node.js 18+
- npm or yarn
- A valid Habitica account
Installation
- Clone the repo
git clone https://github.com/ibreaker/habitica-mcp-server.git
cd habitica-mcp-server
- Install dependencies
npm install
-
Set API credentials (see next section)
-
Start the server
npm start
⚙️ Configuration
Get Habitica API credentials
- Log into Habitica
- Click your avatar → Settings
- Open the API tab
- Copy User ID and API Token
Environment variables
Method A: export variables
export HABITICA_USER_ID="your-user-id"
export HABITICA_API_TOKEN="your-api-token"
Method B: .env file
HABITICA_USER_ID=your-user-id
HABITICA_API_TOKEN=your-api-token
⚠️ Security tip: never commit your API keys to version control.
🎯 Usage
Start the server
# Production
npm start
# Development (with reload)
npm run dev
MCP client integration
The server follows the MCP spec and works with any AI client that supports MCP. Example Claude Desktop config:
{
"mcpServers": {
"habitica-mcp-server": {
"command": "npx",
"args": ["-y", "habitica-mcp-server"],
"env": {
"HABITICA_USER_ID": "your-id",
"HABITICA_API_TOKEN": "your-token",
"MCP_LANG": "en" // or zh-CN
}
}
}
}
Example dialogue
User: "Create a habit for learning Python"
AI: "Sure, the habit has been created!"
User: "Show me today's tasks"
설치
npx -y habitica-mcp-server설정
{
"mcpServers": {
"habitica-mcp-server": {
"command": "npx",
"args": ["-y", "habitica-mcp-server"],
"env": {
"HABITICA_USER_ID": "your-id",
"HABITICA_API_TOKEN": "your-token",
"MCP_LANG": "en" // or zh-CN
}
}
}
}