-
securityF
license-
qualityA Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.
Last updated -
48
4
TypeScript
Enables publishing the MCP server as an npm package that can be installed and run by other users
Provides a TypeScript-based framework for developing MCP tools with type safety and modern language features
Uses Zod schema validation for defining tool input parameters and ensuring proper data validation
使用 mcp-framework 构建的模型上下文协议 (MCP) 服务器。
该项目附带一个示例工具,位于src/tools/ExampleTool.ts
。您可以使用 CLI 添加更多工具:
示例工具结构:
name
唯一并遵循 npm 命名约定version
description
、 author
、 license
等。bin
指向正确的入口文件发布后,用户可以将其添加到他们的 claude 桌面客户端(见下文)或使用 npx 运行它
将此配置添加到您的 Claude Desktop 配置文件:
MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json
Windows : %APPDATA%/Claude/claude_desktop_config.json
npm run build
进行编译