MCP.so
登录

MCP Server Template

@tkc

基本信息

分类

开发工具

传输方式

stdio

作者

tkc

关于 MCP Server Template

MCP starter kit for building AI tools with Bun runtime - specialized for interactive quizzes

MCP Server Template 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-template-tkc": {
      "command": "bun",
      "args": [
        "start"
      ]
    }
  }
}

MCP Server Template 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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).

2

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.

3

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`.

4

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.

5

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 服务器