SS

supri11-sofi/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 0 forks 质量 14 趋势 0

MCP Server Basic Example This is a basic example of a Model Context Protocol (MCP) server implementation that demonstrates core functionality including tools and resources.

概览

MCP Server Basic Example This is a basic example of a Model Context Protocol (MCP) server implementation that demonstrates core functionality including tools and resources. Setup Steps Initialize the project (Go to any local folder and launch powershell or cmd): Create virtual environment and activate it uv venv .venv\Scripts\activate To run the server with the MCP Inspector for development: To install the server in Claude desktop app:

README

MCP Server Basic Example This is a basic example of a Model Context Protocol (MCP) server implementation that demonstrates core functionality including tools and resources.

Setup Steps Initialize the project (Go to any local folder and launch powershell or cmd):

uv init mcp-server-basic

cd mcp-server-basic

Create virtual environment and activate it uv venv

.venv\Scripts\activate

Install dependencies:

uv add “mcp[cli]” or

uv add -r requirements.txt

Running the Server

To run the server with the MCP Inspector for development:

uv run mcp dev main.py

To run the server normally:

uv run mcp run

To install the server in Claude desktop app:

uv run mcp install main.py

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →