Not loaded · from fastmcp-engineering
Build evidence-first FastMCP verification using the official Client, protocol-level integration tests, transport tests, security tests, and deterministic architecture verification.
Claude Code won't load this skill
It ships in fastmcp-engineering at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Verify an MCP server at the correct abstraction level. Unit tests prove local logic; FastMCP Client tests prove MCP-facing contracts; transport tests prove deployment boundaries; security and lifecycle tests prove operational guarantees.
Scope / When to use: FastMCP verification using the official Client, protocol-level integration tests, transport tests, security tests, and deterministic architecture verification.
Trigger: verifying an MCP server at the correct abstraction level; before implementation or test design.
Upstream / Prerequisite: AGENTS.md and all engineering contracts read; identified exact FastMCP and Python versions; evidence recorded before writing tests.
Mission / Goal: verify an MCP server at the correct abstraction level — unit tests prove local logic, Client tests prove MCP-facing contracts, transport tests prove deployment boundaries, security and lifecycle tests prove operational guarantees.
Research / Evidence: read official FastMCP testing/client documentation; inspect relevant official PrefectHQ/fastmcp examples; inspect source/tests where semantics are ambiguous; check MCP specification/SEP material for protocol assertions; check first-party dependency testing guidance; never invent Client APIs, transport semantics, session behavior, or lifecycle guarantees from memory.
Decision / Selection rules: use the cheapest test that proves the requirement but do not substitute lower-level tests for protocol behavior; use the documented FastMCP Client as the primary MCP contract seam; test only transports the product actually supports; use fixtures with explicit ownership and avoid global mutable state; do not weaken assertions merely to eliminate flakiness.
Version / Compatibility: identify exact FastMCP and Python versions; verify the exact target-version Client methods and lifecycle behavior first.
Deliverables / Artifacts: a verification report recording exact versions, sources inspected, test layers executed, exact commands, pass/fail results, known gaps, flaky behavior and diagnosis, architecture verification, security verification, and transport limitations. Verification / Testing: test initialize/session negotiation, tools/list and tools/call, resources and templates, prompts, schemas and structured output, errors, authentication, progress/cancellation/tasks, subscriptions/streaming, and pagination where applicable; never claim a test passed unless it was actually executed. Failure / Stop conditions: reject tests that only assert private implementation details for MCP contracts, mocking FastMCP so extensively that no MCP behavior is exercised, sleep-based synchronization when an observable readiness primitive exists, shared global state across unrelated tests, weakened assertions, coverage percentage treated as proof of correctness, calling an in-process test an E2E test, and testing auth only at the service layer while leaving MCP discovery/invocation untested. Positive scenario: an MCP server is verified at the correct abstraction level with Client and transport tests that actually pass. Negative scenario: an in-process test is called an E2E test and protocol/transport/security behavior goes unverified.
Before implementation or test design:
AGENTS.md and all engineering contracts.Never invent Client APIs, transport semantics, session behavior, or lifecycle guarantees from memory.
E2E / deployed
▲
transport tests
▲
MCP Client integration
▲
component/application tests
▲
domain unit tests
Use the cheapest test that proves the requirement, but do not substitute lower-level tests for protocol behavior.
Use the documented FastMCP Client as the primary MCP contract seam where practical. Verify the exact target-version methods and lifecycle behavior first.
Test protocol-visible behavior including:
Test only transports that the product actually supports, but establish the transport contract explicitly:
| Boundary | What it proves |
|---|---|
| In-process | server behavior without network noise |
| stdio | process/stream protocol integration |
| Streamable HTTP | HTTP transport, sessions/auth/lifecycle |
| deployed HTTP | real deployment boundary |
Do not claim an in-process test proves HTTP deployment correctness.
Fixtures must have explicit ownership and cleanup. Avoid global mutable state. Prefer isolated server instances, unique test data, deterministic clocks/IDs where needed, and controlled dependency overrides.
Do not weaken assertions merely to eliminate flakiness. Diagnose shared state, timing, concurrency, network, or lifecycle causes.
For each MCP-facing component define:
Test the contract rather than implementation details.
At the MCP boundary test:
Where applicable test startup/shutdown, resource cleanup, cancellation, timeout, concurrent requests, background tasks, and graceful termination. Never rely on process-local tests to prove distributed durability.
Use property-based or fuzz testing where input-space risk justifies it: schema validation, URI parsing, pagination tokens, malformed protocol inputs, authorization edge cases, and serialization boundaries. Do not add property tests solely for coverage metrics.
Reject:
Every implementation session must report:
Never claim a test passed unless it was actually executed.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
58 skills in this plugin
/pydantic-ai-agent-integrationEngineer PydanticAI agents behind explicit application boundaries and integrate them with FastMCP without leaking agent state, prompts, model concerns, or provider details into domain logic./api-contract-schema-engineeringEvidence-first API and MCP contract engineering with Pydantic v2 and JSON Schema./api-lifecycle-versioningEvidence-first API lifecycle, schema evolution and compatibility engineering for FastMCP/MCP servers./api-tool-engineeringEvidence-first design of production MCP tools, resources and prompts as stable public APIs./application-architecture-usecasesEvidence-first layered application architecture for FastMCP services using explicit use cases, dependency inversion and domain boundaries./application-domain-architectureEvidence-first design of layered Python application/domain architecture for FastMCP and PydanticAI systems, with explicit use cases, ports, adapters, policies, transaction ownership and dependency direction.Generated from the plugin's indexed repository (evgenygurin/fastmcp-engineering) — no native marketplace selected
npx claudepluginhub p/evgenygurin-fastmcp-engineering