What is the Model Context Protocol (MCP) and why does it matter?
The Model Context Protocol (MCP) is an open standard developed to allow Large Language Models and AI coding assistants to securely interact with external tools, databases, and services. Instead of confining an agent to the local files inside its immediate directory or relying on copy-pasting terminal output between separate browser tabs, MCP provides a structured, native protocol over encrypted JSON-RPC. This enables AI tools to query live data, execute specialized operations, and update external systems directly during their problem-solving loop.
Why connect Claude Code to fanTask?
Claude Code is a fast, capable terminal-based coding assistant. However, like all state-of-the-art LLMs, it operates under the strict constraints of finite context windows. When long terminal sessions get compacted, or when you start a fresh session tomorrow, Claude loses all recollection of yesterday's architectural decisions, test conventions, and debugging breakthroughs.
fanTask acts as a durable external project ledger and memory layer for autonomous coding agents. By connecting Claude Code to fanTask via MCP, your agent gains persistent superpowers:
- It reads your living project conventions and architectural boundaries (via the persistent AI Context field) before writing a single line of code.
- It searches past task histories and comments to inspect how strange edge cases and runtime bugs were solved previously.
- It picks up, updates, and documents tasks directly on a shared task board that human engineers and AI agents work from simultaneously.
Step 1: Get your ready-to-paste setup prompt from fanTask
If you just created your account, fanTask automatically shows you a "Connect your AI to fanTask" modal right on your workspace page, with a few options (Claude, Gemini CLI / Antigravity, ChatGPT, Gemini App, Other). Pick Claude — the platform mints a personal access token behind the scenes and hands you a complete, ready-to-paste prompt for Claude Code or Claude Desktop, token already included.
If you closed that modal, or you're on an existing account, you can pick this back up anytime from your workspace menu: Workspace → MCP / AI. It offers the same options and the same ready-to-paste prompt, generated with your current token.
Step 2: Register the fanTask server in Claude Code
The simplest path is to paste the Step 1 prompt directly into a Claude Code conversation — it already contains the registration command with your token filled in, and Claude runs it for you. If you'd rather run it yourself in a terminal, this is the exact command:
claude mcp add fantask --transport http https://api.fantask.ro/mcp --header "Authorization: Bearer YOUR_FANTASK_API_TOKEN" -s user
Replace YOUR_FANTASK_API_TOKEN with the token from Step 1. This registers the fantask MCP server at the user scope (-s user, available across all your Claude Code projects), with the required authorization header, pointed at the production endpoint https://api.fantask.ro/mcp.
Step 3: What changes once connected
When you launch Claude Code in your workspace, it automatically connects to fanTask in the background. You don't call anything directly or learn a new syntax — you just talk to Claude the way you always have, and it decides on its own when to check in with fanTask. In practice, that looks like:
- "Check fanTask for this project's AI Context and current tasks before we start." — Claude pulls up your architecture notes, gotchas, and open work on its own.
- "Have we hit this error before?" — Claude searches past fanTask tickets and comments for a prior fix instead of debugging from scratch.
- "Mark this as in review and note what you changed." — Claude updates the ticket status and leaves an audit comment listing the files it touched.
- "Log that as a follow-up task so we don't forget it." — Claude opens a new ticket on the board itself, no separate app required.
Recommended Collaborative Workflow
With fanTask connected, an effective session with Claude Code looks like this:
- Session Initialization: You start by telling Claude: "Review our project AI Context in fanTask and check active tasks." Claude reads your conventions and open work straight from fanTask before proposing anything.
- Active Implementation: Claude marks the target ticket as in progress on its own. If it hits an ambiguous error or unfamiliar SDK behavior, it checks fanTask's task history to see if your team solved it before.
- Review & Hand-off: Once the code is written and tests pass, Claude moves the ticket to in review and posts a concise changelog as a comment. You inspect the git diff and the fanTask web UI, then verify and mark the task as
doneyourself.
Get Started for Free
The fanTask Free plan gives you one complete project board with up to 3 team members, persistent AI Context, and full MCP read and write capability. Paid plans add additional seats and projects.
Create a free fanTask account and connect Claude Code today →