Token导航 LogoToken导航

MCP Server · 开发工具

Context Todos

Context-Todos是一个基于Model Context Protocol (MCP)的服务,用于扫描和管理代码库中的TODO/FIXME/HACK/XXX注释,提供查询、监控和分析功能。

stdio官方级别未说明来源级核验工具 7@eeymoo/context-todos
代码分析TypeScriptClaude开发工具Claude DesktopCursor

快速开始

作者 / 组织
Eeymoo
提供方
Eeymoo
运行时
Node.js

工具数量

7

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

0

仓库热度

收录来源

1 个

MCP World

选型结论

Context Todos 属于开发工具类 MCP Server,公开资料标注 7 个工具,通过stdio 本地进程接入,适配 Claude Desktop、Claude、Cursor,有可以直接复制的安装命令;接入前先确认权限范围。

分类

开发工具

传输方式

stdio

认证方式

无需认证

部署方式

公开资料未说明

安装与配置

安装命令

npx @eeymoo/context-todos mcp

客户端配置示例

{
  "mcpServers": {
    "context-todos": {
      "command": "npx",
      "args": [
        "@eeymoo/context-todos",
        "mcp"
      ]
    }
  }
}

按公开安装命令拼出来的示例,字段名和参数以仓库 README 为准;带 YOUR_API_KEY 这类占位符的位置记得换成自己的值。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 7 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

上下文全部

简体中文 |英语

A. 模型上下文协议(MCP) 扫描和管理代码库中TODO/FIXME/HAK/XXX注释的服务器。

它的作用

Context Todos可帮助您在整个项目中跟踪和管理代码注释。它扫描源文件以查找常见的注释标签,并提供工具通过MCP协议查询、监视和分析它们。

特性

  • 扫描文件:从单个文件中提取TODO注释
  • 扫描目录:递归扫描目录中所有支持的文件
  • 列表扩展:查看所有支持的文件扩展名
  • 观看模式:实时监控文件更改(最大/实验室模式)
  • TODO数据库:所有TODO项目的持久存储(最大/实验室模式)
  • 统计:按标签和文件获取TODO统计信息(实验室模式)

支持的TODO标签

标签用法
TODO需完成的一般任务
FIXME需要修复的代码
HACK临时解决方法
XXX警告或有问题的代码

TODO评论大会

我们建议对TODO注释使用结构化格式,以提高可读性并实现更好的分类:

TODO: Brief description
TODO(category): Brief description with category

这 (category) 部分是 可选的 但是 推荐 为了更好的组织。这两种格式都有效,将被检测到。

推荐分类
类别目的
bug需要修复的Bug
performance性能改进
security安全相关问题
ux用户体验改善
refactor代码重构需求
docs文档更新
test缺失或改进的测试
feat要实现的新功能
build构建/CI相关问题
按语言举例

JavaScript/Types/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.

锈

// 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.
 */

支持的文件扩展名

类别扩展
JavaScript/TypeScript.ts, .tsx, .js, .jsx, .mjs, .cjs
python .py
红宝石.rb
Java .java
去吧.go
生锈.rs
C/C++.c, .cpp, .h, .hpp
C .cs
PHP.php
Swift.swift
Kotlin/Scala.kt, .scala
壳牌.sh, .bash
前端.css, .scss, .less, .html, .vue, .svelte
配置.yaml, .yml, .toml, .ini, .cfg
数据库.sql, .lua
其他.r, .m, .mm, .pl, .pm, .ex, .exs, .erl, .hs, .elm, .clj, .cljs, .tf, .hcl, .dockerfile

如何使用

快速入门(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 --max

安装

# Install globally
npm install -g @eeymoo/context-todos

# Or with pnpm
pnpm add -g @eeymoo/context-todos

# Then run
context-todos mcp

配置MCP客户端

添加到您的MCP客户端配置中(例如,Claude Desktop、Cursor等):

{
  "mcpServers": {
    "context-todos": {
      "command": "npx",
      "args": ["-y", "@eeymoo/context-todos", "mcp"]
    }
  }
}

或者使用最大/实验室模式:

{
  "mcpServers": {
    "context-todos": {
      "command": "npx",
      "args": ["-y", "@eeymoo/context-todos", "mcp", "--max"]
    }
  }
}

发展

# 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 dev

服务器模式

该产品有两类功能:

  • 稳定:具有生产就绪功能 Standard 和 Max 变体
  • 实验室:实验功能,也有 Standard 和 Max 变体
类别模式命令行界面描述工具
稳定标准(默认)基本扫描工具scan-file, scan-directory, list-supported-extensions
稳定最大--max标准+文件监视和数据库全部标准+ watch, unwatch, list-todos
实验室标准--labs实验标准模式与稳定标准相同
实验室Max--labs --max所有功能,包括实验全部最大+ get-todo-stats
# 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 --max

输出格式

使用 --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 pretty
格式描述
toon压缩单行格式(默认)
json用于编程的完整JSON结构
pretty带缩进的多行格式

文件筛选

使用 --filter 要排除与特定模式匹配的文件:

# 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"
选项描述
`--filter
`要排除的逗号分隔的glob模式
--use-gitignore使用.gitignore过滤文件(默认值:true)
`--gitignore-path
`自定义gitignore文件路径

MCP工具

scan-file

扫描单个文件以查找TODO注释。

{
  "name": "scan-file",
  "arguments": {
    "path": "/path/to/file.ts"
  }
}
scan-directory

递归扫描目录中的TODO注释。

{
  "name": "scan-directory",
  "arguments": {
    "path": "/path/to/project",
    "extensions": [".ts", ".js"]
  }
}
list-supported-extensions

列出所有支持的文件扩展名。

{
  "name": "list-supported-extensions",
  "arguments": {}
}
watch (最大值/实验室--最大值)

开始查看目录中的文件更改。

{
  "name": "watch",
  "arguments": {
    "path": "/path/to/project",
    "extensions": [".ts", ".js"]
  }
}
unwatch (最大值/实验室--最大值)

别看了。

{
  "name": "unwatch",
  "arguments": {}
}
list-todos (最大值/实验室--最大值)

列出数据库中所有跟踪的TODO。

{
  "name": "list-todos",
  "arguments": {
    "tag": "TODO",
    "file": "src/index.ts"
  }
}
get-todo-stats (仅限实验室)

获取按标签和文件分组的TODO统计信息。

{
  "name": "get-todo-stats",
  "arguments": {}
}

脚本

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)

需求

  • Node.js>=18.0.0
  • pnpm(推荐)

许可证

ISC

工具与能力

工具数量

7

资源数量

0

提示词数量

0

能力标签

代码注释管理TypeScript本地部署开发工具项目管理代码分析实时监控

支持客户端

Claude DesktopClaudeCursor

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

让助手直接读代码

把仓库、提交记录和 issue 交给模型检索,补全和重构时不用来回复制文件。

在对话里跑命令

触发构建、测试和脚本,执行结果直接回到上下文,省去切终端。

接进开发流程

把 PR、CI 状态和代码审查接进助手,减少在几个工具之间跳。

选择建议

值得选的地方

  • 只提供 7 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已经适配 Claude Desktop、Claude、Cursor,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好 Node.js,换机器要重新装一遍。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在开发工具场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Context Todos

MCP World · 本页

7stdio有1 个2026-05-17
Git 838e2ec1

MCP World

12stdio有2 个2026-05-17
Markitdown MCP 2c653a5f

MCP World

1stdio有1 个2026-05-17
Context7 MCP C671e75a

MCP World

0stdio有1 个2026-05-17
Context7 831acf40

MCP World

0stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Context Todos 怎么安装?

公开资料给出的安装命令是 npx @eeymoo/context-todos mcp,运行环境为 Node.js。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Context Todos 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Node.js;保存后完全退出客户端再打开,配置才会生效。

Context Todos 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Context Todos 需要 API Key 吗?

公开资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

Context Todos 支持哪些客户端?

公开资料标注支持 Claude Desktop、Claude、Cursor;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP