MCP Server Template
@tkc
关于 MCP Server Template
MCP starter kit for building AI tools with Bun runtime - specialized for interactive quizzes
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-server-template-tkc": {
"command": "bun",
"args": [
"start"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Server Template?
MCP Server Template is a starter kit for building AI tools with the Bun runtime, specifically providing a specialized quiz-focused Model Context Protocol (MCP) server implementation. It is intended for developers who want to create interactive quiz tools integrated with AI assistants via the MCP protocol.
How to use MCP Server Template?
Clone the repository, install dependencies with bun install, then run the server using bun start (production) or bun dev (development with auto-restart). For Claude Desktop integration, add a JSON entry specifying the Bun command and path to the server entry point (src/index.ts).
Key features of MCP Server Template
- Specialized quiz-focused MCP server implementation
- Quiz tool with multiple categories (general, science, history, geography, entertainment)
- Three difficulty levels: easy, medium, hard
- Jest testing setup with MCP integration tests
- Comprehensive test coverage
Use cases of MCP Server Template
- Build educational quiz tools for AI assistants using MCP
- Integrate multi-category, multi-difficulty quizzes into Claude Desktop
- Extend the template with custom quiz categories and questions for domain-specific learning
- Test MCP server implementations with a ready-made Jest test suite
FAQ from MCP Server Template
What are the runtime requirements for MCP Server Template?
Bun v1.0.0 or higher is required; Node.js v18.0.0+ is needed for some dependencies. Supported operating systems are macOS 12+, Linux with glibc 2.31+, and Windows 10+ (via WSL).
How do I add new quiz categories?
Modify the quizQuestions object in src/index.ts by adding a new key with arrays for each difficulty level, then update the QuizSchema enum to include the new category name.
What tests are available and how do I run them?
The project includes Jest integration tests located in tests/cli-mcp.test.ts. Run all tests with bun test.
What MCP tools does the server provide?
The server provides one tool called get_quiz, which accepts a category and difficulty argument and returns quiz questions from the specified category and difficulty level.
How do I configure MCP Server Template with Claude Desktop?
Add an entry to your Claude Desktop configuration JSON with command set to the Bun binary path and args containing ["run", "<full path to src/index.ts>"]. The server is then available as an MCP tool.
开发工具 分类下的更多 MCP 服务器
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
Burp Suite MCP Server Extension
PortSwiggerMCP Server for Burp
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
评论