MCP.so
登录

MCP server in Python

@mccartykim

基本信息

分类

其他

传输方式

stdio

作者

mccartykim

关于 MCP server in Python

Creating a barebones MCP server around python (plus uv), encapsulated in a nix flake

MCP server in Python 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP server in Python 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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.

常见问题

1

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.

2

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.

3

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`.

评论

其他 分类下的更多 MCP 服务器