L
Lifeup MCP
MCP Server for Anthropic Claude
创建于 1/3/2026
更新于 1 day ago
README
Repository documentation and setup instructions
LifeUp MCP Server
An MCP server that enables Claude to interact with LifeUp Cloud API on your local network. Supports task creation, querying, and achievement matching.
Quick Start
-
Install
npm install && npm run build -
Configure
cp .env.example .envUpdate
LIFEUP_HOSTto your Android device's IP (find it in LifeUp Settings → HTTP API) -
Run
npm run start
Available Tools
Task Management
create_task- Create a new task with rewardslist_all_tasks- List all taskssearch_tasks- Filter tasks by criteriaget_task_history- View completed tasksget_task_categories- List task categories
Achievements
list_achievements- List all achievementsmatch_task_to_achievements- Find matching achievements for a task
User Info
get_user_info- User profile and levellist_skills- Skills and progressionget_coin_balance- Current coins
Shop
list_shop_items- Browse itemsget_shop_categories- Item categoriessearch_shop_items- Search items
Safe Mutations
edit_task- Edit existing taskscreate_achievement- Create new achievementsupdate_achievement- Update achievementsdelete_achievement- Delete achievementsadd_shop_item- Create shop itemsedit_shop_item- Modify shop itemsapply_penalty- Apply resource penaltiesedit_skill- Manage skills
Environment Variables
LIFEUP_HOST=10.103.2.235 # Device IP
LIFEUP_PORT=13276 # API port
LIFEUP_API_TOKEN= # Optional auth token
DEBUG=false # Set to 'true' for logging
SAFE_MODE=false # Set to 'true' to disable edit/delete mutations
Troubleshooting
Connection failed?
- Ensure LifeUp is running with HTTP API enabled
- Verify both devices are on the same network
- Check and update
LIFEUP_HOSTin.env
Achievement data unavailable?
- This is expected for some LifeUp versions - the server falls back to categories
Debug errors?
DEBUG=true npm run start
Safe Mode
SAFE_MODE provides protection against accidental data modification:
- Enabled (SAFE_MODE=true): Allows read operations and creating new entities (tasks, achievements, shop items). Blocks editing and deleting existing data.
- Disabled (SAFE_MODE=false): Full access to all 20 tools including edits and deletions.
Useful for testing or when you want Claude to help plan/create but not modify existing data.
Links
- LifeUp Docs
- LifeUp SDK
- CLAUDE.md - Developer guide
License
MIT
快速设置
此服务器的安装指南
安装包 (如果需要)
npx @modelcontextprotocol/server-lifeup-mcp
Cursor 配置 (mcp.json)
{
"mcpServers": {
"derekprovance-lifeup-mcp": {
"command": "npx",
"args": [
"derekprovance-lifeup-mcp"
]
}
}
}