远程服务器部署工具

一个用于快速部署远程服务器的工具,支持从初始化到部署的全流程操作。

  • by Deepak-Leveledge
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 Deepak-Leveledge/Expenses-tracker-remote-mcp-server

使用说明

简单远程服务器的步骤

  1. 安装 uv
  2. 创建一个新文件夹
  3. 在 VS Code 中打开该文件夹
  4. 以...初始化 uv
    uv init
    
  5. 添加FastMCP
    uv add fastmcp
    
  6. 创建一个简单的服务器
    (编写你的服务器代码,例如,在 main.py)
  7. 运行服务器
    uv run main.py
    
  8. 使用MCP Inspector测试服务器
  9. 创建一个GitHub仓库
  10. 初始化 git
    git init
    
  11. 添加文件
    git add .
    
  12. 提交更改
    git commit -m "Initial commit: Simple MCP server"
    
  13. 添加远程仓库原点
    git remote add origin https://github.com/yourusername/simple-mcp-server.git
    
  14. 推送到GitHub
    git push -u origin main
    
  15. 在FastMCP云上创建一个账户
  16. 在FastMCP云上部署