MCP Integration Guide
Learn how to connect Workunit to your development tools using the Model Context Protocol (MCP)
Last updated: December 2025
Overview
The Model Context Protocol (MCP) allows AI development tools to access Workunit directly. Once connected, AI assistants can create workunits, manage tasks, organize projects, link assets, and track your development work—all without leaving your editor or chat interface.
This guide covers installation for supported tools and provides a complete reference for all available MCP tools.
Prerequisites
- • A Workunit account (sign up at workunit.app)
- • An MCP-compatible AI tool (Claude Code, Gemini CLI, or similar)
- • An active internet connection
Installation
Choose your AI development tool below for specific installation instructions.
Claude Code
Run this command in your terminal:
claude mcp add --transport http workunit https://workunit.app/mcpVerify the installation by opening Claude Code and asking:
"What Workunit tools do you have access to?"Gemini CLI
Run this command in your terminal:
gemini mcp add --transport http workunit https://workunit.app/mcpAfter installation, authenticate with:
/mcp auth workunitOther MCP Tools
For any MCP-compatible tool, use these connection details:
- Server URL:
- https://workunit.app/mcp
- Transport:
- HTTP (Streamable)
- Auth:
- OAuth 2.0
Authentication
Workunit uses OAuth 2.0 for secure authentication. The first time your AI tool uses a Workunit tool, you'll be prompted to authorize access through your browser.
- Your AI tool will request access to Workunit
- A browser window opens with the OAuth authorization screen
- Review the permissions and click "Authorize"
- Return to your terminal—you're now connected!
Your authorization persists across sessions. You only need to authenticate once per tool.
Available Tools
Once connected, your AI assistant has access to the following tools. These tools work identically across all MCP-compatible clients.
System
pingTest MCP server connectivity
get_authenticated_userGet details about the authenticated user
Projects
Projects organize related workunits and assets into logical groups.
create_projectCreate a project to organize workunits and assets
get_projectGet project details with optional assets, checkins, and workunits
list_projectsList projects with optional status/owner/tag filters and pagination
update_projectUpdate project fields via update_mask
remove_projectArchive (preserves data) or delete (permanent) a project
project_asset_linkLink or unlink assets to/from projects
Workunits
Workunits are focused pieces of work with problem statements and success criteria.
create_workunitCreate a workunit with problem statement and success criteria. Can link initial assets
get_workunitGet workunit details with optional tasks, assets, and AI context
update_workunitUpdate workunit fields. Status=completed/archived triggers special workflows. Supports AI context fields
Tasks
Tasks break workunits into actionable items with status tracking and dependencies.
create_taskCreate a task in a workunit with title, priority, and optional dependencies
get_taskRetrieve task details including status, assignee, dependencies, comments, and time logs
update_taskUpdate task fields including status, priority, assignment, and due date
Assets
Assets represent products, people, knowledge, and systems that your work involves.
create_assetCreate assets of any type: product, people, knowledge, or system
get_assetGet asset details by ID with type-specific fields
update_assetUpdate asset fields via update_mask. Requires asset_type specification
delete_assetDelete an asset by ID (auto-detects type)
Search
searchSearch workunits, tasks, and assets with optional result type filtering. Use to find IDs for linking
Troubleshooting
Connection Failed
Verify your internet connection and ensure https://workunit.app is accessible. If using a proxy or VPN, check that it allows connections to our domain.
Tools Not Available
Restart your AI tool after installation. If tools still don't appear, try removing and re-adding the MCP server. For Claude Code, use: claude mcp remove workunit && claude mcp add --transport http workunit https://workunit.app/mcp
Authentication Issues
Make sure you complete the OAuth flow in your browser. If authentication fails, check that third-party cookies are enabled for workunit.app or try in an incognito window.
Tool Errors
Most tool errors include helpful messages. Common issues: missing required fields, invalid IDs, or insufficient permissions. Check that you have access to the organization and resources you're trying to modify.