test-guided-tool-run

Locate integration tests and generate custom test scripts for MCP tools.

43|21|Updated Jun 3, 2025
One-click install
npx skills add https://github.com/blockscout/mcp-server --skill test-guided-tool-run
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: test-guided-tool-run
Source: https://github.com/blockscout/mcp-server/tree/main/.claude/skills/test-guided-tool-run
Command: npx skills add https://github.com/blockscout/mcp-server --skill test-guided-tool-run

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps developers and testers debug individual tools by providing a structured way to find and use real integration test data, ensuring accurate mock context setup and understanding of tool behavior outside the MCP server.

Core Features & Use Cases

  • Test Discovery: Quickly locate integration test files for any given tool.
  • Data Identification: Guides users to examine real test data within the found test files.
  • Script Generation: Provides a template for creating custom test scripts.
  • Use Case: A developer needs to test the get_transaction_info tool directly. They use this skill to find the relevant integration test, examine its data and setup, and then write a small Python script to call the tool with similar parameters.

Quick Start

Use the test-guided-tool-run skill to find the integration test for the get_transaction_info tool.

Frequently Asked Questions about test-guided-tool-run

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug an MCP tool with real test data outside the server environment?▼

To debug an MCP tool, you locate its integration tests, examine the mock context setup, and generate a custom Python script to call the tool with real test data for isolated testing.

What is the best way to find integration tests for a specific tool?▼

Finding integration tests for a specific tool is done through test discovery, which locates relevant test files and guides you to examine the real test data and setup within them.

How do I set up a mock context for Python integration testing?▼

Setting up a mock context for Python integration testing involves examining the real test data found in existing integration test files and using a provided script template to replicate the parameters.

Can I run deterministic tool tests without the MCP server running?▼

Yes, you can run deterministic tool tests without the MCP server by generating a custom Python test script that uses mock context and real test data extracted from integration tests.

Do I need Python to create custom test scripts for tool development?▼

Python is used for creating custom test scripts based on the provided template, which allows you to call tools directly with similar parameters found in the integration tests.