MCP Lab
@LPFerreira33
关于 MCP Lab
This repository contains a modular setup for experimenting with MCP in Python. It includes both a server and a client, as well as reusable tool modules.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-lab-lpferreira33": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Lab?
MCP Lab is a modular Python project for experimenting with the Model Context Protocol (MCP). It provides both an MCP server and client, along with reusable tool modules that are automatically registered by the server. It is intended for developers who want to explore or build MCP-based applications.
How to use MCP Lab?
Clone the repository, then set up and run the server by navigating to mcp_server, creating a virtual environment, installing dependencies with uv pip install -r requirements.txt, and running uv run server.py. For the client, navigate to mcp_client, similarly install dependencies, edit the .env file to match the server’s IP and port, then run python client.py.
Key features of MCP Lab
- Modular Python setup for MCP experimentation
- Includes both server and client implementations
- Reusable tool modules are auto-registered
- Easy to add custom tools as Python functions
- Uses uv for fast dependency management
- MIT licensed
Use cases of MCP Lab
- Testing and prototyping MCP server-tool interactions
- Learning how to build MCP servers with Python
- Developing and debugging MCP clients
- Experimenting with custom tool integrations
FAQ from MCP Lab
What does MCP Lab do?
MCP Lab provides a complete modular environment for experimenting with the Model Context Protocol in Python, including a server, client, and pluggable tool modules.
What runtime requirements does MCP Lab have?
It requires Python 3 with venv and uv installed. Dependencies are listed in requirements.txt files for both server and client.
How can I add my own tools to the server?
Create new Python functions inside the mcp_server/tools/ directory; they are automatically registered by the server.
Is a client included?
Yes, a client implementation is provided in the mcp_client/ directory, with its own setup and configuration.
How does the client connect to the server?
You must edit the .env file in the client directory to specify the server's IP address and port. The default values may need to be changed to match your setup.
其他 分类下的更多 MCP 服务器
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
评论