Context-Todos
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., "@Context-Todos scan this project for TODO and FIXME comments and summarize them"
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.
Context-Todos
简体中文 | English
A Model Context Protocol (MCP) server that scans and manages TODO/FIXME/HACK/XXX comments in your codebase.
What It Does
Context-Todos helps you track and manage code annotations across your entire project. It scans source files for common comment tags and provides tools to query, watch, and analyze them through the MCP protocol.
Features
Scan Files: Extract TODO comments from a single file
Scan Directories: Recursively scan all supported files in a directory
List Extensions: View all supported file extensions
Watch Mode: Real-time monitoring of file changes (max/labs mode)
TODO Database: Persistent storage of all TODO items (max/labs mode)
Statistics: Get TODO statistics by tag and file (labs mode)
Supported TODO Tags
Tag | Usage |
| General tasks to be done |
| Code that needs to be fixed |
| Temporary workarounds |
| Warning or problematic code |
TODO Comment Convention
We recommend using a structured format for TODO comments to improve readability and enable better categorization:
TODO: Brief description
TODO(category): Brief description with categoryThe (category) part is optional but recommended for better organization. Both formats are valid and will be detected.
Recommended Categories
Category | Purpose |
| Bugs that need to be fixed |
| Performance improvements |
| Security-related issues |
| User experience improvements |
| Code refactoring needs |
| Documentation updates |
| Missing or improved tests |
| New features to implement |
| Build/CI related issues |
Examples by Language
JavaScript / TypeScript / Node.js
// Simple format
// TODO: Add error handling for network timeouts
// With category
/*
* TODO(performance): Replace synchronous readdirSync with async fs.promises.readdir
* to avoid blocking the event loop when scanning large projects.
* See: https://nodejs.org/api/fs.html#fs_fspromises_readdir_path_options
*/Python
# Simple format
# TODO: Add type hints to this function
# With category
# TODO(security): Sanitize user input before database query
# Consider using parameterized queries instead of string formatting.Rust
// Simple format
// TODO: Implement Clone trait for this struct
// With category
/*
* TODO(security): Add input validation to prevent buffer overflow
* attacks in the packet parser.
*/Java
// Simple format
// TODO: Extract magic numbers to constants
// With category
/*
* TODO(performance): Cache the computed results to avoid
* recalculating on every request.
* Consider using Caffeine or Guava cache.
*/C++
// Simple format
// TODO: Add unit tests for edge cases
// With category
/*
* TODO(performance): Replace raw pointers with smart pointers
* to prevent memory leaks and improve ownership semantics.
*/Supported File Extensions
Category | Extensions |
JavaScript/TypeScript |
|
Python |
|
Ruby |
|
Java |
|
Go |
|
Rust |
|
C/C++ |
|
C# |
|
PHP |
|
Swift |
|
Kotlin/Scala |
|
Shell |
|
Frontend |
|
Config |
|
Database |
|
Other |
|
Related MCP server: modelroute
How to Use
Quick Start (npx)
# Run directly with npx (Stable Standard)
npx @eeymoo/context-todos mcp
# Stable Max (with watching)
npx @eeymoo/context-todos mcp --max
# Labs Standard
npx @eeymoo/context-todos mcp --labs
# Labs Max (all features including experimental)
npx @eeymoo/context-todos mcp --labs --maxInstallation
# Install globally
npm install -g @eeymoo/context-todos
# Or with pnpm
pnpm add -g @eeymoo/context-todos
# Then run
context-todos mcpConfigure MCP Client
Add to your MCP client configuration (e.g., Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"context-todos": {
"command": "npx",
"args": ["-y", "@eeymoo/context-todos", "mcp"]
}
}
}Or with max/labs mode:
{
"mcpServers": {
"context-todos": {
"command": "npx",
"args": ["-y", "@eeymoo/context-todos", "mcp", "--max"]
}
}
}Development
# Clone the repository
git clone https://github.com/eeymoo/context-todos.git
cd context-todos
# Install dependencies
pnpm install
# Build
pnpm build
# Run in development
pnpm devServer Modes
The product has two categories of features:
Stable: Production-ready features with
StandardandMaxvariantsLabs: Experimental features, also with
StandardandMaxvariants
Category | Mode | CLI | Description | Tools |
Stable | Standard | (default) | Basic scanning tools |
|
Stable | Max |
| Standard + file watching & database | All standard + |
Labs | Standard |
| Experimental standard mode | Same as Stable Standard |
Labs | Max |
| All features including experimental | All max + |
# Stable Standard (default)
npx @eeymoo/context-todos mcp
# Stable Max (with watching)
npx @eeymoo/context-todos mcp --max
# Labs Standard
npx @eeymoo/context-todos mcp --labs
# Labs Max (all features)
npx @eeymoo/context-todos mcp --labs --maxOutput Format
Use the --format option to change the output format:
# Default format (toon) - compact single-line format
npx @eeymoo/context-todos mcp --format toon
# JSON format - structured JSON output
npx @eeymoo/context-todos mcp --format json
# Pretty format - human-readable with indentation
npx @eeymoo/context-todos mcp --format prettyFormat | Description |
| Compact single-line format (default) |
| Full JSON structure for programmatic use |
| Multi-line format with indentation |
File Filtering
Use --filter to exclude files matching specific patterns:
# Exclude test files
npx @eeymoo/context-todos mcp --filter "*.test.ts,*.spec.ts"
# Exclude test directories and config files
npx @eeymoo/context-todos mcp --filter "__tests__/**,*.config.ts"
# Combine with gitignore (enabled by default)
npx @eeymoo/context-todos mcp --use-gitignore --filter "*.test.ts"Option | Description |
| Comma-separated glob patterns to exclude |
| Use .gitignore to filter files (default: true) |
| Custom gitignore file path |
MCP Tools
scan-file
Scan a single file for TODO comments.
{
"name": "scan-file",
"arguments": {
"path": "/path/to/file.ts"
}
}scan-directory
Recursively scan a directory for TODO comments.
{
"name": "scan-directory",
"arguments": {
"path": "/path/to/project",
"extensions": [".ts", ".js"]
}
}list-supported-extensions
List all supported file extensions.
{
"name": "list-supported-extensions",
"arguments": {}
}watch (max / labs --max)
Start watching a directory for file changes.
{
"name": "watch",
"arguments": {
"path": "/path/to/project",
"extensions": [".ts", ".js"]
}
}unwatch (max / labs --max)
Stop watching.
{
"name": "unwatch",
"arguments": {}
}list-todos (max / labs --max)
List all tracked TODOs from the database.
{
"name": "list-todos",
"arguments": {
"tag": "TODO",
"file": "src/index.ts"
}
}get-todo-stats (labs --max only)
Get TODO statistics grouped by tag and file.
{
"name": "get-todo-stats",
"arguments": {}
}Usage Prompts
Suggested prompts to use with an MCP client (e.g. Claude Desktop, Cursor, Codex) after connecting this server:
Review code annotations
Scan the "src" directory for all TODO/FIXME/HACK/XXX comments and review them.
For each item, assess its priority (high/medium/low), category (bug, performance,
security, refactor, docs, test, feat, build), and recommend an action.
Group results by tag and give a prioritized action list.Generate a TODO report
Scan the current project and generate a report including: total number of
annotations, breakdown by tag and category, top 5 hotspot files, and notable
FIXME/XXX items that may need immediate attention. Output as markdown.Write a well-structured TODO
Help me write a TODO comment for: "<describe what needs to be done>".
Use category "<category>" and <language> syntax.Triage from the database (max / labs --max)
List all FIXME items from the database, sorted by most recently updated.
For each, suggest the smallest fix to resolve it.Scripts
pnpm dev # Run in development mode
pnpm build # Build for production
pnpm test # Run tests
pnpm test:watch # Run tests with watch mode
pnpm inspector # Run with MCP inspector (for debugging)Requirements
Node.js >= 18.0.0
pnpm (recommended)
License
Available Tools
2 toolslist-supported-extensionsList Supported ExtensionsB
Lists all supported file extensions.
Inputs: no named parameters.
scan-fileScan File for TODOsA
Parse a single file and return all TODO/FIXME/HACK/XXX comments found in it.
Inputs: path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one scans a file for TODO-style comments, while the other lists supported file extensions. There is no overlap that could cause an agent to choose the wrong tool.
Both names follow the same kebab-case verb_noun convention: scan-file and list-supported-extensions. The pattern is predictable and easy to parse.
Two tools is borderline thin for a server meant to provide TODO context. The surface is minimal: one operational tool plus one metadata helper.
The core operation only scans a single file, so obvious gaps remain for directory/repository scanning, multi-file scans, and filtering by TODO type. The metadata tool is useful but does not compensate for those missing workflow operations.
Maintenance
Related MCP Connectors
Create, list, and complete todo items through MCP.
Simple, fast todo app: manage tasks, projects and tags from Claude and other MCP clients.
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Related MCP Servers
- AlicenseBqualityDmaintenanceManages #TODO comments in source code files, enabling you to add and query TODOs via MCP.11MIT

modelrouteofficial
FlicenseNot gradedqualityDmaintenanceEnables AI agents to scan code for TODO, FIXME, XXX issues via MCP, providing prioritized findings in table, JSON, or SARIF format.-- FlicenseNot gradedqualityDmaintenanceEnables AI agents to scan codebases for prioritized findings (TODO, FIXME, XXX) and retrieve results in table, JSON, or SARIF format via MCP.-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to scan codebases for TODO/FIXME/XXX patterns and get prioritized results over MCP, supporting CI gates and multiple output formats.-