MCP server in Python
@mccartykim
MCP server in Python について
Creating a barebones MCP server around python (plus uv), encapsulated in a nix flake
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP server in Python?
MCP server in Python is a minimal MCP (Model Context Protocol) demo server. It provides a stub location tool that reports where the demo is being presented and a tool to return the current time. The project is built with Python and uv, and is packaged as a Nix flake for easy execution.
How to use MCP server in Python?
Add the following entry to your Claude Desktop configuration file:
"minimal-mcp-in-nix": {
"command": "nix",
"args": [
"run",
"github:mccartykim/minimal-mcp-in-nix",
]
}
No manual installation or virtual environment setup is required—Nix handles everything.
Key features of MCP server in Python
- Stub location tool for demo presentations.
- Tool to get the current time.
- Nixified Python project using uv.
- Minimal demonstration of MCP server capabilities.
Use cases of MCP server in Python
- Showcasing MCP tools in a live presentation.
- Testing MCP integration with Claude Desktop.
- Demonstrating how to package a Python MCP server with Nix and uv.
FAQ from MCP server in Python
What does MCP server in Python actually do?
It offers two tools: one returns a fixed string indicating where the demo is being presented, and the other returns the current time.
How do I run MCP server in Python?
Add the configuration shown above to your Claude Desktop config file. The server will be launched automatically by Claude when needed using the nix run command.
Where is MCP server in Python derived from?
The project is derived from a Nix flake template for uv projects, available at github:nulladmin1/nix-flake-templates#uv.
「その他」の他のコンテンツ
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Codelf
unbugA search tool helps dev to solve the naming things problem.
🚀 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,
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Nginx UI
0xJackyYet another WebUI for Nginx
コメント