
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
mcp-code-todo
Advanced tools
A Model Context Protocol (MCP) server that scans codebases for TODO comments and exposes them as structured data to LLMs. This enables AI assistants to inspect outstanding work, propose fixes, prioritize tasks, and generate patches.
Add to your MCP client configuration:
{
"mcpServers": {
"code-todo": {
"args": [
"-y",
"mcp-code-todo@latest"
],
"command": "npx"
}
}
todo://listReturns all TODOs in the project with metadata.
{
"todos": [
{
"id": "abc123",
"text": "Implement error handling",
"filePath": "src/utils.ts",
"line": 42,
"language": "typescript",
"meta": {
"owner": "ash",
"priority": "high",
"estimate": "2h"
}
}
],
"meta": {
"scannedAt": "2024-01-17T22:00:00.000Z",
"fileCount": 15
}
}
todo://file/{path}Returns TODOs for a specific file.
scan_todosScan the codebase for TODO comments.
Parameters:
root (string, optional): Root directory to scan (defaults to workspace root)include (string[], optional): Glob patterns for files to includeexclude (string[], optional): Glob patterns for files to excludeExample:
{
"root": "/path/to/project",
"include": ["*.ts", "*.js"],
"exclude": ["test/**", "node_modules/**"]
}
explain_todoGet more context for a specific TODO item.
Parameters:
id (string): The unique ID of the TODO itemcontextLines (number, optional): Number of context lines (default: 5)Returns:
{
"todo": { "id": "abc123", "text": "...", ... },
"context": " 39: function example() {\n> 42: // TODO: Implement error handling\n 43: return data;\n 44: }"
}
group_todos_by_topicGroup TODOs by various criteria.
Returns:
{
"by-file": {
"src/utils": [todo1, todo2],
"src/components": [todo3]
},
"by-priority": [high_priority_todos],
"with-owner": [assigned_todos],
"unassigned": [unassigned_todos]
}
// TODO: Implement error handling
# TODO: Add validation
/* TODO: Refactor this function */
// TODO(ash): Implement error handling
// TODO[@ash][priority=high][est=2h]: Fix performance issue
// TODO(priority=medium): Add unit tests
owner: Assignee name (TODO(owner) or TODO[@owner])priority: Priority level ([priority=low|medium|high])estimate: Time estimate ([est=2h])The scanner automatically excludes:
node_modules, .git, .svn, .hgdist, build, out.next, .nuxt, coverage__pycache__, .pytest_cachevenv, .venv, envvendor, target, bin, obj.idea, .vscode).DS_Store)# Install dependencies
pnpm install
# Build the project
pnpm run build
# Run in development
node ./build/index.js
mcp-code-todo/
├── src/
│ ├── index.ts # MCP server entry point
│ ├── scanner.ts # TODO extraction and caching
│ ├── languages.ts # Language comment syntax registry
│ ├── types.ts # TypeScript interfaces
│ └── utils.ts # File system utilities
├── build/ # Compiled JavaScript
├── package.json
├── tsconfig.json
└── README.md
ISC
scan_todos to get all TODOsexplain_todo for context on specific items// Input file src/utils.ts
export function processData(data: any) {
// TODO(ash)[priority=high][est=1h]: Add input validation
return data.map(item => {
// TODO: Handle null values
return item.value;
});
}
// Output from scan_todos
{
"todos": [
{
"id": "abc123",
"text": "Add input validation",
"filePath": "src/utils.ts",
"line": 2,
"language": "typescript",
"meta": {
"owner": "ash",
"priority": "high",
"estimate": "1h"
}
},
{
"id": "def456",
"text": "Handle null values",
"filePath": "src/utils.ts",
"line": 5,
"language": "typescript"
}
]
}
FAQs
MCP Server tool to scan code for TODOs in codebases.
The npm package mcp-code-todo receives a total of 1 weekly downloads. As such, mcp-code-todo popularity was classified as not popular.
We found that mcp-code-todo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.