mcp-tester
БесплатноБез исполняемых скриптовНе проверенTest and evaluate MCP server tools in the current Claude Code session. Use when auditing MCP configurations, validating tool quality, testing MCP servers…
от ckorhonen★ 35 звёзд на GitHubОб этом скилле
MCP Tool Tester
A comprehensive skill for testing and evaluating MCP (Model Context Protocol) server tools available in the current Claude Code session.
When to Use
Use this skill when:
- Auditing MCP server configurations
- Validating tool quality and descriptions
- Generating test cases for MCP tools
- Checking tool naming conventions and parameter efficiency
- Analyzing tool redundancy across servers
- Evaluating response quality and format efficiency
- Debugging MCP integration issues
Prerequisites
MCP servers must be configured in your Claude Code settings. If the user asks to test tools that don't exist, guide them to add the MCP server to their configuration.
Workflow
Execute these phases in order for comprehensive testing:
Phase 1: Discovery
Identify all MCP tools available in the current session.
Steps:
- List all tools with
mcp__prefix - Group by server (namespace before second
__) - Generate inventory table
Output Format:
## Tool Inventory
| Server | Tool Name | Required Params | Optional Params | Description Preview |
|--------|-----------|-----------------|-----------------|---------------------|
| context7 | resolve-library-id | libraryName, query | - | Resolves package to Context7 ID... |
| context7 | query-docs | libraryId, query | - | Retrieves documentation... |
Metrics to Report:
- Total servers: [count]
- Total tools: [count]
- Tools per server breakdown
Phase 2: Quality Analysis
Evaluate each tool's design quality.
Naming Convention Analysis
Check for:
- Kebab-case consistency:
get-usernotgetUserorget_user - Verb-first naming:
create-item,list-users,delete-record - Clarity: Can purpose be understood from name alone?
- Namespace collisions: Similar names across servers
Description Quality Scoring
| Score | Criteria |
|---|---|
| Excellent | Clear purpose, usage context, examples, input/output expectations |
| Good | Clear purpose, some context, basic expectations |
| Fair | Purpose stated but lacking context or examples |
| Poor | Vague, missing, or misleading description |
Evaluate:
- Does it explain WHAT the tool does?
- Does it explain WHEN to use it?
- Are there example scenarios?
- Are edge cases documented?
Parameter Efficiency Analysis
Check:
- Required vs. optional balance: Are required params truly necessary?
- Type specificity:
enumvs genericstringwhere applicable - Default values: Are sensible defaults provided?
- Naming clarity: Can param purpose be understood from name?
- Token cost: Estimate description length impact on context
Token Efficiency Formula:
Efficiency = (Useful information conveyed) / (Token count)
Flag tools where description is verbose relative to complexity.
Severity Indicators
Use these indicators for findings:
- 🔴 Critical: Missing description, unclear purpose, broken schema
- 🟡 Warning: Overly verbose description, inefficient parameter schema, unclear naming
- 🔵 Suggestion: Minor naming improvements, optional enhancements
- ✅ Positive: Well-designed, clear, efficient
Analysis Output Format:
### Tool: `mcp__server__tool-name`
**Naming**: ✅ Clear verb-first naming
**Description**: 🟡 Warning - Verbose (450 tokens), could be reduced to ~200
**Parameters**: 🔵 Suggestion - Consider enum for `format` param
**Detailed Findings:**
- [Specific observations]
**Recommendations:**
- [Actionable improvements]
Phase 3: Test Design
Generate test cases for each tool using the AAA (Arrange-Act-Assert) pattern.
Test Categories
1. Valid Inputs (Happy Path)
- Minimal required parameters only
- All parameters with valid values
- Edge of valid ranges (max length strings, boundary numbers)
2. Invalid Inputs (Error Handling)
- Missing required parameters
- Wrong parameter types (string where number expected)
- Invalid values (negative IDs, malformed URLs)
- Malformed data structures
3. Edge Cases
- Empty strings
"" - Very long strings (1000+ chars)
- Special characters and unicode
- Null-like concepts (
null,undefined,None) - Boundary values (0, -1, MAX_INT)
- Whitespace only strings
Test Case Template
### Test: [Tool Name] - [Scenario Name]
**Category**: Valid / Invalid / Edge Case
**Arrange**:
- Context: [What setup is needed]
- Preconditions: [What must be true]
**Act**:
```json
{
"param1": "value1",
"param2": "value2"
}
Assert:
- Expected behavior: [What should happen]
- Expected response format: [Structure]
- Expected error (if invalid): [Error type/message]
#### Test Generation Guidelines
For each tool, generate at minimum:
1. 1 happy path test with minimal params
2. 1 happy path test with all params
3. 1 missing required param test
4. 1 wrong type test
5. 1 edge case test (empty/boundary)
### Phase 4: Test Execution
Execute generated tests and capture results.
#### Re
Установить mcp-tester в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mcp-tester?
Test and evaluate MCP server tools in the current Claude Code session. Use when auditing MCP configurations, validating tool quality, testing MCP servers end-to-end, generating test cases, checking tool descriptions and schemas, analyzing tool efficiency and redundancy, or debugging MCP integration issues. Covers tool discovery, quality analysis, test generation with AAA pattern, execution, rating, and cross-tool redundancy analysis.
Как установить скилл mcp-tester?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mcp-tester запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic