MCP Server and Client
@iamSShan
关于 MCP Server and Client
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp_server_and_client": {
"command": "python",
"args": [
"-m",
"pip",
"install",
"uv"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Server and Client?
This project provides a minimal working example of the Model Context Protocol (MCP), demonstrating how to set up a FastMCP server with basic tools and interact with it using an MCP client. It serves as a simple reference for understanding MCP-based communication between agents and tools.
How to use MCP Server and Client?
Install uv, then initialize the project and install dependencies from requirements.txt. Run the server with uv run mcp dev server.py or python server.py. Run the client with python client.py.
Key features of MCP Server and Client
- Minimal MCP server using FastMCP framework.
- Pre‑defined tools:
summarize_text,cat_fact,execute_code present. - Official MCP SDK client that connects to the server.
- Designed as a learning reference for MCP.
Use cases of MCP Server and Client
- Learning how to set up a basic MCP server and client.
- Experimenting with tool calling between an agent and a server.
- Prototyping new MCP‑based integrations.
FAQ from MCP Server and Client
What does the server do?
The server provides agent tools (e.g., summarize_text, cat_fact, execute_code present) that can be called by the client.
How do I run the server?
Run uv run mcp dev server.py or directly python server.py.
How do I run the client?
Run python client.py.
What dependencies are required?
Python, uv, and the packages listed in requirements.txt (not enumerated in the README).
Where are the tool implementations?
Agent tools should be implemented in server.py.
其他 分类下的更多 MCP 服务器
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
评论