What is MCP?
MCP (Model Context Protocol) lets you build servers that expose data and functionality to LLM applications in a secure, standardized way. It separates the concerns of providing context from the actual LLM interaction.
@abhimvp
基本信息
build a custom MCP server in Python and connect that to an AI agent.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"CustomMCPServer": {
"command": "uv",
"args": [
"init",
"."
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
CustomMCPServer is a tutorial and code example for building a custom MCP (Model Context Protocol) server in Python. It demonstrates how to create a server that exposes data and functionality to LLM applications in a secure, standardized way, similar to a web API but designed for LLM interactions.
Start by creating a uv‑managed project with uv init ., then add the MCP CLI dependency with uv add "mcp[cli]". Activate the virtual environment, run uv run mcp install main.py to install the server in Claude Desktop, and restart the Claude app to see the server appear. For an advanced server, add black and then run uv run mcp install adv_main.py.
MCP (Model Context Protocol) lets you build servers that expose data and functionality to LLM applications in a secure, standardized way. It separates the concerns of providing context from the actual LLM interaction.
You need Python, `uv` (the project manager), and the `mcp[cli]` package. For the advanced server, `black` is also added.
Run `uv run mcp install main.py` (or `uv run mcp install adv_main.py` for the advanced version). This adds the server to Claude’s configuration file (`claude_desktop_config.json`).
Close the Claude app completely (use Task Manager to end the process), wait a moment, then reopen the app. The MCP server should spin up and appear.
Yes. The tutorial shows how to add tools (e.g., to connect to a database) and then ask Claude to use them, such as creating 100 fake users automatically.
This 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,
Senso MCP turns a Joomla 5 or 6 site into a remote MCP server. It runs inside Joomla itself (no extra server, no Node.js bridge) and is secured with OAuth 2.1 and Joomla's own ACL. The free pack lets an AI assistant crea
不止于 CSS
MCP Toolbox for Databases is an open source MCP server for databases.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
评论