使用说明
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
.envBased 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 contentuv 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
