
Technical Answer Validator
io.github.Christofer566v0.1.1更新于 Oct 2, 2026
Rubric-based technical answer feedback for AI agents. Human review required; not an official grade.
概览
一个本地 MCP 工具,按调用方提供的评分标准对单份技术答案进行评分并给出反馈。
- 功能
- Technical Answer Validator 是一个小型确定性答案评审工具,通过 MCP stdio 和 REST API 提供。每次评估由调用方提供概念、可接受的同义词、数值要求和答案文本,工具据此返回基于评分标准的反馈。它不包含题库或答案语料库,所有评分标准都来自调用方。
- 适用场景
- 当助手需要按照你自定义的评分标准,对技术答案给出快速、可重复的练习反馈时使用。它是辅助练习工具,不是官方认证考试评分器,结果应视为提示而非成绩。
- 运行要求
- 在用户机器上以本地进程运行,仅支持桌面端。需要 Python 3.10+;REST 服务使用标准库,MCP 适配器使用官方 Python SDK 2.2.0。服务默认监听 127.0.0.1:8080,可通过 TAV_HOST 和 TAV_PORT 修改。本地单密钥模式要求 TAV_API_KEY 至少 24 个字符;多客户端部署使用 TAV_API_KEYS。
安装
在 SourceWeft 中
- 打开 控制台中的 Technical Answer Validator,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Technical Answer Validator
A tiny, deterministic answer review tool for AI agents, available over MCP stdio and as a REST API. Each caller supplies the concepts, accepted synonyms, numeric requirements, and answer text for a single evaluation. It does not include a question bank or answer corpus.
This is an assistive practice tool, not an official certification exam grader. Keyword matching can miss semantically correct paraphrases and can accept misleading surface matches. Users should review the supplied rubric and every result.
Run locally
Python 3.10+; the REST server uses the standard library. The MCP adapter uses the official Python SDK 2.2.0.
The service listens on 127.0.0.1:8080 by default. To change it, set TAV_HOST and TAV_PORT. Local single-key mode refuses to start without a TAV_API_KEY of at least 24 characters. For deployment, create a distinct key per caller with python scripts/create_api_key.py CLIENT_ID and configure TAV_API_KEYS as a JSON object mapping each client ID to the generated SHA-256 digest. Store the one-time raw key with that client; do not store or commit it in this repository. When TAV_API_KEYS is set, it takes precedence over TAV_API_KEY.
来源:README.md,提交 4485301
工具
0版本历史
1- v0.1.1最新Oct 2, 2026
