Skip to main content
Glama

TaskFlow MCP — Build Your First Production MCP Server

A hands-on lab for the AI Bridge cohort. You'll build, test, and deploy a real MCP server that any LLM can use — Claude, GPT, Gemini, or a free local model via Ollama. Total cost: $0.

What you'll learn

  • The three MCP primitives: tools (actions), resources (data), prompts (templates)

  • How type hints + docstrings become the LLM's instruction manual

  • The dev → prod transport story: stdio locally, Streamable HTTP in the cloud

  • Testing MCP servers with an in-memory client (no server process needed)

  • Deploying to a free public URL on Render

Related MCP server: mcp-task-manager

Prerequisites

  • Python 3.10+ (3.12 recommended)

  • uvpip install uv

  • Optional (free local LLM): Ollama with a tool-calling model, e.g. ollama pull qwen3:4b

Part A — Run it locally (5 min)

git clone <repo-url> taskflow-mcp
cd taskflow-mcp
uv sync
uv run taskflow          # starts on stdio, waiting for a client

Press Ctrl+C — stdio servers are meant to be launched by a client, which is next.

Part B — Inspect it (the debugging superpower)

npx @modelcontextprotocol/inspector uv run taskflow

Opens a web UI. Click through Tools → create_task → Run and watch your Python function execute via the protocol. Checkpoint: you can create and list a task in the Inspector.

Part C — Connect a FREE local LLM

pip install mcp-client-for-ollama
ollmcp                    # then add server: command = uv, args = run taskflow

Ask: "Create a high priority task called 'finish the MCP lab', then show me my task stats." Checkpoint: the model calls create_task, then reads tasks://stats.

Works identically with Claude Desktop, Cursor, LM Studio — that's the point of MCP.

Part D — Go to production (Streamable HTTP)

TASKFLOW_TRANSPORT=http uv run taskflow
# → serving at http://localhost:8000/mcp

One env var. Same code. Now it's a network service any client can reach by URL.

Part E — Deploy free on Render

  1. Push this repo to your GitHub

  2. On render.com: New → Blueprint → pick your repo (it reads render.yaml)

  3. Deploy → you get https://<your-app>.onrender.com/mcp

  4. Add that URL to any MCP client. Your server is live on the internet. 🎉

Note: free instances sleep when idle; first request after a nap takes ~30–60s.

Run the tests

uv run pytest

Project map

src/taskflow/
├── config.py      # env-driven settings (12-factor)
├── db.py          # SQLite persistence
├── tools.py       # @mcp.tool actions        ← start reading here
├── resources.py   # tasks:// read-only data
├── prompts.py     # user-invoked templates
└── server.py      # FastMCP app + transport switch

Stretch goals

  • Add a search_tasks tool with keyword matching

  • Add a tasks://overdue resource (you'll need a due_date column)

  • Add bearer-token auth for the HTTP transport

  • Point two different LLMs at your hosted URL at the same time

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    A task management MCP server that provides tools to create, list, complete, and delete tasks using pluggable storage backends. It enables users to interact with their task lists through natural language using MCP-compatible clients like Claude Desktop.
    Last updated
  • F
    license
    -
    quality
    D
    maintenance
    A local task management MCP server that enables users to create, update, and manage tasks through natural language conversations with Claude. It provides nine tools for comprehensive task management including creation, filtering, searching, and daily planning without requiring a separate UI or backend service.
    Last updated
  • F
    license
    -
    quality
    C
    maintenance
    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.
    Last updated

View all related MCP servers

Related MCP Connectors

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.

  • MCP server for generating rough-draft project plans from natural-language prompts.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AdarshVijay101/taskflow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server