Python依赖管理工具

一个用于管理Python项目依赖、创建虚拟环境并集成MCP CLI工具的工具。

  • by TANTELY00
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 tantely00/mcp-server-remote

使用说明

INSTALLATION DES DÉPENDANCES

  • Installation of uv Based on the above information, execute the following instruction: You are a professional translator responsible for translating Chinese content into English content. Please help me translate the original content

    pip install uv
    
  • Initialize a project with uv Based on the information above, execute the following instruction: You are a professional translator responsible for translating Chinese content into English content. Please help me translate the original content

    uv init
    
  • Install the dependencies defined in the project:

    uv sync
    

CREATION AND ACTIVATION OF THE VIRTUAL ENVIRONMENT

  • Create a virtual environment:

    uv venv
    
  • Activate the virtual environment:

    source .venv/bin/activate
    

ADDITION OF MCP COMMANDS

  • Add commands MCP CLI Based on the information above, execute the following instruction: You are a professional translator responsible for translating Chinese content into English content. Please help me translate the original content

    uv add "mcp[cli]"
    

ENVIRONMENT VARIABLE MANAGEMENT

  • Installer python-dotenv to access the variables defined in a file .env Based on the above information, execute the following instruction: You are a professional translator responsible for translating Chinese content into English content. Please help me translate the original content

    uv add python-dotenv
    

INSTALLATION DE LA DÉPENDANCE TAVILY

  • Installer tavily-python to perform web searches:

    uv add tavily-python
    

TEST DES TOOLS DU SERVEUR MCP

  • To test the tools available on the MCP server, install mcp-inspector Based on the information above, execute the following instruction: You are a professional translator responsible for translating Chinese content into English content. Please help me translate the original content

    npx @modelcontextprotocol/inspector@0.15