What problem does it solve?
This Skill provides a universal MCP client that connects to any MCP server on demand, wrapping MCP tool schemas to avoid context window bloat and enabling on-demand tool discovery, execution, and integration with external MCP servers (Playwright, GitHub, filesystem, etc.).
Core Features & Use Cases
- On-demand tool discovery: list available tools from configured MCP servers without loading full schemas.
- Flexible execution: call tools with structured JSON arguments and receive parsed results.
- Multi-server integration: connect to Playwright, GitHub, filesystem, and other MCP servers, orchestrating workflows from a single client.
- Use Case: Design an automated QA workflow that discovers tests on a Playwright MCP server, runs selected tools, and aggregates results for reporting.
Quick Start
- Install required runtime and MCP libraries: pip install mcp fastmcp
- See available servers:
python scripts/mcp_client.py servers
- List tools for a server (e.g., playwright):
python scripts/mcp_client.py tools playwright
- Call a simple tool to navigate a page:
python scripts/mcp_client.py call playwright browser_navigate '{"url": "https://example.com"}'
- For multi-step interactions, use browser_run_code to keep the same browser session:
python scripts/mcp_client.py call playwright browser_run_code '{"code": "await page.goto("https://example.com"); return await page.title();"}'