mcp-md2poster
An MCP server built with FastMCP that currently provides a simple mathematical addition tool. It includes environment configurations for GitHub repository integration, suggesting future functionality for managing or uploading content.
README
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
项目结构
- [index.ts](file:///Volumes/SSD/_work/resend-mcp/index.ts): 主入口文件,初始化并启动 FastMCP 服务器
- [tools/add.ts](file:///Volumes/SSD/_work/resend-mcp/tools/add.ts): 实现了
add工具,支持两个数字相加操作 - [utils/logger.ts](file:///Volumes/SSD/_work/resend-mcp/utils/logger.ts): 日志工具模块
技术栈
- Bun - JavaScript/TypeScript 运行时
- FastMCP - MCP 框架
- Zod - TypeScript-first schema declaration and validation library
此项目使用 bun v1.2.19 创建。Bun 是一个快速的一体化 JavaScript 运行时。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.