tasks-mcp
Provides tools for managing tasks, projects, and courses in Notion databases, including retrieving pending tasks, creating tasks with due dates and priorities, and accessing active projects and courses.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tasks-mcpshow my tasks for today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Tasks MCP is a Model Context Protocol (MCP) server that provides seamless integration with your Notion workspace for task management. It enables AI assistants to create, retrieve, and manage tasks, projects, and courses directly from your Notion databases.
NOTE: Tasks MCP is currently in active development. Features may evolve, and we're continually working to enhance the experience.
Features
With Tasks MCP, you can:
Retrieve Tasks: Get pending tasks filtered by time range (today, tomorrow, or this week) with "Not Started" status
Create Tasks: Add new tasks with title, due date, priority, and optional project/course associations
Manage Projects: Fetch active projects from your Notion workspace for task organization
Manage Courses: Access active courses to associate academic tasks
Smart Filtering: Automatically filters tasks based on status and time ranges
Rich Context: Tasks include associated project and course information for better context
Related MCP server: Obsidian Tasks MCP Server
Available Tools
The MCP server provides four main tools:
get-tasks
Fetches pending tasks from Notion based on time range filtering.
Parameters:
time_range(required) - One of "today", "tomorrow", or "week_from_today"Returns: List of tasks with title, due date, and associated project/course information
create-task
Creates a new task in your Notion Tasks database.
Parameters:
title(required) - Task descriptiondue_date(required) - ISO date format (YYYY-MM-DD)priority(required) - Integer 1-3 (1=highest, 3=lowest)project_id(optional) - Related project IDcourse_id(optional) - Related course ID
Returns: URL to the created task in Notion
get-projects
Fetches active projects from your Notion workspace.
Parameters: None
Returns: List of active projects with ID and title
get-courses
Fetches active courses from your Notion workspace.
Parameters: None
Returns: List of active courses with ID, title, and description
uv run python src/__main__.pyMotivation
Tasks MCP was created to bridge the gap between AI assistants and personal productivity systems. By providing direct access to Notion task databases through the Model Context Protocol, it enables AI assistants to understand your task context and help manage your workflow more effectively.
Technical Overview
Tasks MCP is built using modern Python technologies and follows MCP best practices:
MCP Framework: Built on the official MCP Python SDK for reliable protocol compliance
Notion Integration: Uses the official Notion API client for robust database interactions
Starlette Web Framework: Provides HTTP endpoints with CORS support and authentication
Authentication: Bearer token authentication for secure API access
Environment Configuration: Flexible configuration through environment variables and .env files
Error Handling: Comprehensive error handling with detailed logging
Data Source Management: Automatic retrieval of Notion database data source IDs
Setup
Environment Variables:
API_AUTH_TOKEN=your-api-auth-token NOTION_AUTH_TOKEN=your-notion-integration-token TASK_DATABASE=your-notion-tasks-database-id PROJECT_DATABASE=your-notion-projects-database-id COURSE_DATABASE=your-notion-courses-database-idInstallation:
uv syncRunning:
uv run python -m src --port 8000
Docker Deployment
Prerequisites
# Login to gcloud
gcloud auth login
# Configure Docker to use gcloud credentials for Artifact Registry
gcloud auth configure-docker us-west1-docker.pkg.devDeploy Steps
Build the image (for linux/amd64 since Cloud Run runs on Linux):
docker buildx build --platform linux/amd64 . -t tasks-mcpTag for Artifact Registry:
docker tag tasks-mcp:latest us-west1-docker.pkg.dev/stanford-mcp/stanford-mcp/tasks-mcp:latestPush to Artifact Registry:
docker push us-west1-docker.pkg.dev/stanford-mcp/stanford-mcp/tasks-mcp:latest
MCP Endpoint
The server is deployed and available at: https://tasks-mcp-280200773515.us-west1.run.app/mcp/
For MCP client configuration, use this endpoint with proper authentication headers.
Client Usage
For MCP Inspector
Use these headers when connecting to the MCP server:
{
"Authorization": "Bearer YJAna9RQePF@-uVw7_qBQt*apMF4*bZZfbTcybLobw*nGKCwteJMGh",
"Accept": "application/json, text/event-stream"
}For Claude Desktop
Add this configuration to your Claude Desktop claude_desktop_config.json:
"mcpServers": {
"stanford-mcp": {
"command": "npx",
"args": [
"mcp-remote",
"https://tasks-mcp-280200773515.us-west1.run.app/mcp/",
"--header", "Authorization: Bearer YJAna9RQePF@-uVw7_qBQt*apMF4*bZZfbTcybLobw*nGKCwteJMGh",
"--header", "Accept: application/json, text/event-stream"
]
}
},Made with 🫶 by @markmusic27
Available Tools
2 toolscreate-taskC
Creates a new task in my Notion Tasks database
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional body content for additional details, relevant links, notes, or context about the task | |
| title | Yes | Task description (what needs to be done. Example: 'Complete the project report') | |
| due_date | Yes | Task due date in ISO format (YYYY-MM-DD or YYYY-MM-DDTHH:MM). Example: '2026-10-25' or '2026-10-25T15:00' to add time. | |
| priority | Yes | Task priority: 1 (highest) .. 3 (lowest) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations at all, the description carries the full behavioral burden, yet it only says a task is created in a named database. It says nothing about required permissions, whether the write is reversible, what happens on duplicate titles, or what the call returns. This is a significant gap for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single efficient sentence with the action front-loaded and no filler. It is appropriately sized for what it attempts, though the extreme brevity contributes to the missing behavioral detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a write tool with no annotations and no output schema, the description is too thin: it omits auth requirements, side effects, and return behavior. The rich schema covers inputs, but nothing compensates for the absent behavioral context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so all four parameters (title, due_date, priority, body) are already well documented in the schema with formats and examples. The description adds no parameter meaning beyond that, which is the expected baseline when the schema does the work.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource ('Creates a new task') and scopes the target ('my Notion Tasks database'), which is enough to distinguish it from the read-only get-tasks sibling. It is clear and unambiguous, though it does not explicitly name the sibling as a contrast.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no prerequisites, and no mention of the get-tasks alternative. Usage is only implied by the verb 'Creates'. An agent gets no routing help beyond the obvious create-vs-read distinction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get-tasksC
Fetches tasks from my Notion based on filtering criteria
| Name | Required | Description | Default |
|---|---|---|---|
| time_range | Yes | The time range to get tasks for. One of 'today', 'tomorrow', or 'week_from_today' |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. 'Fetches' implies a read, but the description says nothing about pagination, result limits, ordering, or what happens when no tasks match the criteria — meaningful gaps for a retrieval tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One short sentence, front-loaded with the verb and resource, with no wasted words. It is efficient, though minimal rather than richly structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter tool with full schema coverage and no output schema, the description is minimally adequate. However, with no annotations and no behavioral detail on returns or limits, an agent lacks enough context to anticipate results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single enum parameter is fully documented in the schema, so the baseline is 3. 'filtering criteria' gestures at the time_range parameter but adds no syntax or semantic detail beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a clear verb ('fetches') and resource ('tasks') with the source ('Notion'), which lets an agent distinguish it from the sibling create-task. The qualifier 'based on filtering criteria' is vague, but the core operation is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this versus alternatives — the obvious sibling create-task is never mentioned, nor are any prerequisites or exclusions. The agent must infer usage from the name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
v0.1.0- First observed
create-task - First observed
get-tasks
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: get-tasks retrieves/filters tasks, while create-task creates a new task. There is no overlap or ambiguity in selecting between them.
Both names follow a consistent verb-noun hyphenated pattern (get-tasks, create-task). The only minor inconsistency is plural 'tasks' in get-tasks versus singular 'task' in create-task.
Two tools is thin for a task management server, even if the scope is limited to fetching and creating tasks. It is usable but lacks the breadth expected for the domain.
The surface covers creating and retrieving tasks, but lacks update, delete, complete, or status-change operations. These are notable gaps for a task management lifecycle.
Maintenance
Related MCP Connectors
- mcpOAuthnet.todoist
Official Todoist MCP server for AI assistants to manage tasks, projects, and workflows.
Manage Superlist tasks and lists in plain language from any MCP-compatible AI agent.
Manage tasks, Focus Zone, notes, projects, and task history from compatible AI assistants.
- DazbenchOAuthapp.dazbench
Task management your AI agents can actually run. One line becomes a context-ready task over MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Notion workspaces, allowing users to search, query databases, create/update pages, and manage content via natural language through MCP.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Obsidian tasks with full CRUD operations, querying, and date-based filtering via MCP.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search, read, and query Notion workspaces, databases, and pages through an MCP gateway.188 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to create, read, and manage tasks and projects in a personal todo system through MCP tools.MIT