task-manager-mcp

task-manager-mcp

A task manager MCP server that demonstrates all three MCP primitives (tools, resources, prompts). Enables users to manage tasks, read task summaries and details, and run structured planning/review prompts through natural language.

Category
Visit Server

README

Task Manager MCP Server

A Python MCP server that demonstrates all 3 MCP primitives — built as a portfolio project after completing the Anthropic MCP course.

What's inside

Primitive What it does Examples
Tools Model-controlled actions — Claude calls these to do things create_task, complete_task, delete_task, list_tasks, update_task
Resources App-controlled read-only data — Claude reads these for context tasks://all, tasks://summary, tasks://{id}
Prompts User-controlled templates — structured starting points for conversations daily_planning, end_of_day_review, weekly_summary

Setup

1. Clone / copy this project

git clone <your-repo-url>
cd task-manager-mcp

2. Create a virtual environment

python -m venv .venv
source .venv/bin/activate      # Windows: .venv\Scripts\activate

3. Install dependencies

pip install -r requirements.txt

4. Run the server

python server.py

Test with the MCP Inspector

The MCP Inspector lets you test all your tools, resources, and prompts in the browser — no client needed.

mcp dev server.py

Then open http://localhost:5173 in your browser.

From there you can:

  • Call any tool and see the response
  • Read any resource by URI
  • Preview and run any prompt

Connect to Claude Desktop

Add this to your Claude Desktop config file:

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "task-manager": {
      "command": "python",
      "args": ["/absolute/path/to/task-manager-mcp/server.py"]
    }
  }
}

Restart Claude Desktop — you'll see the task manager tools available in the chat.


Example conversations with Claude

Once connected, try these:

Using tools:

"Create a high-priority task: finish portfolio README, due 2025-07-01"

"What tasks do I have pending?"

"Mark task abc12345 as complete"

Using resources:

"Read tasks://summary and tell me how I'm doing"

"Show me the details of task abc12345 using its resource URI"

Using prompts:

Run the daily_planning prompt to get your morning briefing

Run end_of_day_review in the evening


Project structure

task-manager-mcp/
├── server.py          # All MCP logic — tools, resources, prompts
├── requirements.txt   # Single dependency: mcp[cli]
├── README.md
└── tasks/
    └── tasks.json     # Auto-created on first task

Key concepts demonstrated

Tools (model-controlled)

Claude decides when to call these based on what the user asks. The decorator pattern means you write a plain Python function — no JSON schema needed:

@mcp.tool()
def create_task(title: str, priority: str = "medium") -> str:
    ...

Resources (app-controlled)

Exposed as URIs. Claude can read these to ground its responses in real data:

@mcp.resource("tasks://summary")
def get_task_summary() -> str:
    ...

Templated resources use {variable} in the URI:

@mcp.resource("tasks://{task_id}")
def get_task_by_id(task_id: str) -> str:
    ...

Prompts (user-controlled)

Pre-crafted conversation starters. They read live data and return a structured message:

@mcp.prompt()
def daily_planning() -> str:
    # reads current tasks, builds a structured prompt string
    ...

Built with FastMCP · Anthropic MCP course graduate project

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured