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`.
Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.

Turn Perfex CRM into an AI-ready workspace. This MCP server exposes your full REST API to Claude, ChatGPT and any AI agent, so leads, invoices and tasks are one prompt away.
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

Know when your AI agents, cron jobs and CI pipelines fail, stall or go quiet. Your agent sets up monitors from a plain description, tells you what is broken and why, reads run history and traces, and writes notes on inci
コメント