Back to MCP directory
publicPublicdnsLocal runtime

publish-mcp-server

一个帮助用户发布MCP服务器的工具包,提供发布指导和自动化CI/CD工作流支持

article

README

🚀 发布MCP服务器

这是一个帮助你发布MCP服务器的工具包!它包含一个提示信息,用户可以根据此提示让客户端决定发布MCP服务器的最佳方式。该服务器使用Python构建。

🚀 快速开始

本工具包能为你提供MCP服务器发布的相关指引,帮助你轻松完成服务器的发布。

✨ 主要特性

  • 提供MCP服务器发布的专业指导。
  • 支持通过GitHub Actions实现自动化CI/CD工作流。
  • 推荐向MCP注册表发布的最佳实践。

📦 安装指南

使用以下命令安装本工具包:

pip install publish-mcp-server

💻 使用示例

基础用法

直接使用命令启动:

publish-mcp-server

高级用法

作为模块运行:

python -m publish_mcp_server
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client