Habitica MCP server

Connect Habitica to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Habitica MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the cast skill tool in Habitica
  • Use the create task tool in Habitica
  • Use the list tasks tool in Habitica
  • Use the get game content tool in Habitica
  • Use the send message tool in Habitica
  • Use the delete task tool in Habitica

Supported Tools

cast_skill

Cast Skill

Cast a class-specific skill (spell) in Habitica. Skills consume mana and have various effects based on the user's class and stats. **Warrior** skills: smash, defensiveStance, valorousPresence, intimidate **Mage** skills: fireball, mpheal, earth, frost **Rogue** skills: pickPocket, backStab, toolsOfTrade, stealth **Healer** skills: heal, brightness, protectAura, healAll Some skills require a target (task ID or user ID), while others are self-cast or party-wide.

create_task

Create Task

Create a new task in Habitica. Supports all four task types: **Habit**, **Daily**, **To-Do**, and **Reward**. Configure difficulty, notes, checklists, tags, due dates (To-Dos), repeat schedules (Dailies), and habit scoring directions.

list_tasks

List Tasks

Retrieve the authenticated user's tasks from Habitica. Optionally filter by task type (habits, dailies, todos, rewards). Returns task details including title, notes, difficulty, completion status, due dates, and checklist items.

get_content

Get Game Content

Retrieve Habitica's game content data including gear definitions, quest details, pet/mount info, food, hatching potions, spells, and appearance options. This read-only summary reports available content sections, item counts, and valid skill identifiers.

send_message

Send Message

Send a chat message in Habitica. Send a message to a party or an available private group or a private message to another user.

delete_task

Delete Task

Permanently delete a task from Habitica. This removes the task entirely and cannot be undone.

get_user_profile

Get User Profile

Retrieve the authenticated user's profile and character stats from Habitica. Returns character level, class, HP, XP, Mana, Gold, and profile information.

update_task

Update Task

Update an existing task in Habitica. Modify the title, notes, difficulty, due date, repeat schedule, checklist visibility, tags, and other properties. Only the provided fields will be updated; omitted fields remain unchanged.

manage_inventory

Manage Inventory

Manage the user's Habitica inventory and equipment. Equip or unequip gear, buy gear, hatch pets, feed pets, purchase items, and sell items.

manage_challenge

Manage Challenge

List, get, create, update, delete, join, or leave challenges in Habitica. Challenges are community-driven task sets where participants compete or collaborate within guilds or parties.

score_task

Score Task

Score a task up or down in Habitica. For **Habits**, this clicks the + or - button. For **Dailies** and **To-Dos**, scoring up marks them complete and scoring down marks them incomplete. Scoring affects the user's stats (HP, XP, Gold, Mana) based on task value and difficulty.

manage_quest

Manage Quest

Manage quests in Habitica. Invite party members to a quest, accept or reject quest invitations, force-start, cancel, or abort an active quest.

manage_tags

Manage Tags

Create, list, update, or delete tags used to organize and filter tasks in Habitica. Tags can be applied to any task type.

manage_group

Manage Group

Retrieve, create, or update a Habitica group (party or guild). Use "party" as the groupId to access your current party. Guild operations are available only where Habitica still permits them.

get_task

Get Task

Retrieve a Habitica task by its ID or alias, including its checklist item IDs, tags, due date, and completion state. Use list_tasks to discover task IDs.

manage_checklist

Manage Checklist

Add, update, toggle completion, or remove an individual checklist item on a Habitica Daily or To-Do. Returns the updated task and checklist item IDs.

Connect Habitica to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Habitica in Metorial. In your Metorial portal, enable the Habitica MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Habitica tools.

Run Habitica through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Habitica and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Habitica tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Habitica

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Slack

Slack: connect with bot OAuth or user OAuth to work with messages, conversations, search, files, Canvases, Lists, profiles, reactions, reminders, and workspace productivity settings.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Subscribe to webhook notifications for changes to messages, calendar events, and contacts. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Linear

Create, read, update, and delete issues across teams with support for priorities, labels, assignees, due dates, and workflow states. Manage projects that group related issues, and organize work into time-boxed cycles (sprints). Create and manage documents, comments, and file attachments. Search issues using vector similarity or rich filters. Configure teams, workflow states, and labels. Track customers and link them to issues.

Technical notes for Habitica

Manage gamified tasks, habits, and productivity goals in Habitica's RPG-style task manager. Create, update, delete, and score tasks across four types: Habits, Dailies, To-Dos, and Rewards. Retrieve and update user profiles, character stats (HP, XP, Gold, Mana), class, equipment, and appearance. Manage inventory including pets, mounts, eggs, hatching potions, food, and quest scrolls. Cast class-specific skills and spells. Manage social groups (parties and guilds), send chat messages, and handle private messaging. Create, join, and manage challenges. Invite to, accept, start, and cancel quests. Create and organize tags for task filtering. Retrieve game content data for gear, quests, pets, and mounts. Configure webhooks for task activity, group chat, user activity, and quest events.

Frequently asked questions

Common questions about connecting Habitica to AI agents with Metorial.

  1. How many tools does the Habitica MCP server have?
    The Habitica MCP server exposes 16 tools, including Cast Skill, Create Task, List Tasks. Each one is governed and traced through Metorial.
  2. Habitica exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Habitica MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Habitica and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Habitica MCP server yourself or use the hosted gateway.

Connect Habitica to production AI agents

See how Metorial gives your team governed access to Habitica, with tracing and security controls built in.