Skip to main content
Glama
pidanmeng

mcp-md2poster

by pidanmeng

mcp-md2poster

这是一个基于 FastMCP 框架构建的 MCP (Model Context Protocol) 工具包。

功能

当前实现了一个简单的数学工具:

  • add: 用于执行两个数字相加的操作

部署 MCP

{ "mcpServers": { "mcp-md2poster": { "args": ["-y","@pidanmoe/mcp-md2poster"], "command": "npx", "env": { "GITHUB_TOKEN": "{{GITHUB_TOKEN}}", "GITHUB_OWNER": "{{GITHUB_OWNER}}", "GITHUB_REPO": "{{GITHUB_REPO}}", "GITHUB_BRANCH": "{{GITHUB_BRANCH}}", // 默认为 main "FOLDER": "{{FOLDER}}" // 默认为 uploads } } } }

使用说明

该项目遵循 Model Context Protocol 规范,可以通过标准 I/O 或其他传输方式与支持 MCP 的客户端进行通信。

工具介绍

add

用于执行两个数字相加的操作

  • 必填参数:

    • a: 第一个操作数

    • b: 第二个操作数

  • 返回: a + b 的值

安装依赖

bun install

运行项目

bun run dev

调试项目

bun run inspect

构建项目

bun run build

项目结构

技术栈

  • Bun - JavaScript/TypeScript 运行时

  • FastMCP - MCP 框架

  • Zod - TypeScript-first schema declaration and validation library


此项目使用 bun v1.2.19 创建。Bun 是一个快速的一体化 JavaScript 运行时。

-
security - not tested
F
license - not found
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pidanmeng/mcp-md2poster'

If you have feedback or need assistance with the MCP directory API, please join our Discord server