FernandoFdezdC/mcp-server
3.1
If you are the rightful owner of mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Model Context Protocol (MCP) server is a framework designed to facilitate the development and deployment of machine learning models in a structured and efficient manner.
For starting the MCP server in Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
, or in Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
$env:PATH += ";C:\Users\ferfd\.local\bin"
Then, for creating the MCP server, execute:
# Create a new directory for our project
uv init mcp
cd mcp
# Create virtual environment and activate it
uv venv
source .venv/bin/activate
# Install dependencies
uv add "mcp[cli]" httpx
# Create our server file
touch mcp.py
Or in windows:
# Create a new directory for our project
uv init mcp-server
cd mcp-server
# Create virtual environment and activate it
uv venv
.venv\Scripts\activate
# Install dependencies
uv add mcp[cli] httpx
# Create our server file
new-item mcp-server.py
Finally, remove boilerplate files:
# Remove boilerplate files
# On Windows:
del main.py
# On Unix or macOS:
rm main.py