What problem does this project address?
It shows that unit tests on individual functions can miss asynchronous pitfalls like `asyncio.run` in MCP tools, and provides a better testing strategy using in-memory client sessions.
@junkmd
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-python-sdk-inmemory-server-tests": {
"command": "uv",
"args": [
"sync",
"--frozen"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
It is an example repository with code and tests for developing robust MCP tools. It demonstrates how unit tests on individual functions can miss asynchronous pitfalls like asyncio.run in tools, and showcases a more reliable testing approach using in-memory client sessions.
Set up the environment with Node.js via Volta and uv, then run npm install and uv sync --frozen. Execute tests with uv run pytest tests/.. Debug mcpserver.py using the MCP Inspector with uv run mcp dev mcpserver.py. Format code with uv run ruff format . and uv run ruff check --select I --fix ..
asyncio.run in toolsIt shows that unit tests on individual functions can miss asynchronous pitfalls like `asyncio.run` in MCP tools, and provides a better testing strategy using in-memory client sessions.
After setup, execute `uv run pytest tests/.` in the repository root.
The MCP Inspector is a debugging tool for MCP servers. Run `uv run mcp dev mcpserver.py` to start it and test `mcpserver.py`.
Node.js (installed via Volta), npm, and uv (installed via shell script). After that, run `npm install` and `uv sync --frozen`.
Modelglass turns "which model should I use?" into a lookup instead of a guess. Seven tools give your agent live pricing across image, language, video, and audio models. Sourced and versioned, not scraped once and forgott

The tools your AI needs to make your games. Turn prompts into production-ready game assets — animated characters with their weapons attached, seamless textures, terrain, VFX, HUDs — and playable game kits Unity, Godot, U

Compliance frameworks delivered to AI agents. Nizh gives your agent read access to your organization's compliance program — SOC 2, ISO 27001, CMMC 2.0, NIST, and more — as MCP tools, so it can check posture, read a contr

MCP server for AI Agents — exposes Yocoolab feedback threads and design selections as tools
econdSim provisions real UK mobile numbers (non-VoIP) via eSIM, built for freelancers, sole traders, small businesses, and enterprise teams. Unlike VoIP apps and virtual numbers, SecondSim numbers register as genuine phy
评论