interview-mcp-bank
v1.0.1
Published
面试题库MCP服务器,支持标准MCP协议
Readme
面试题生成工具(MCP)
本工具支持本地化、自动化生成面试题,支持多格式题库解析、条件筛选、随机抽取、导出多种格式,适配命令行、代码、chat/IDE对话、Cursor等多种场景。
快速开始
1. 命令行调用
node src/mcp.js --file your-bank.md --category HTML --difficulty easy --count 5 --format markdown --out output.md- 支持所有参数,自动生成题目并导出
2. 代码/脚本调用
import { mcpHandler } from './src/mcp';
const input = {
filePath: 'your-bank.md',
filter: { category: 'JavaScript', difficulty: 'hard', count: 10 },
export: { format: 'txt', outPath: 'output.txt' }
};
await mcpHandler(input);依赖
- Node.js 16+
- 依赖包见 package.json
- https://github.com/CavsZhouyou/Front-End-Interview-Notebook
- https://github.com/paddingme/Front-end-Web-Development-Interview-Question
- https://github.com/febobo/web-interview
- https://github.com/lgwebdream/FE-Interview
