Not loaded · from fastmcp-engineering
Evidence-first MCP protocol engineering for FastMCP servers and clients, including lifecycle, transports, capabilities, sessions, tools/resources/prompts, errors, compatibility, and protocol testing.
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.
Implement MCP integrations from the protocol contract outward. FastMCP is the implementation framework; MCP protocol semantics remain the interoperability contract.
Scope / When to use: MCP protocol engineering for FastMCP servers and clients, including lifecycle, transports, capabilities, sessions, tools/resources/prompts, errors, compatibility, and protocol testing.
Trigger: implementing or changing MCP integration, lifecycle, transports, capabilities, primitives, errors, compatibility, or protocol testing.
Upstream / Prerequisite: the exact MCP specification version targeted by the project; exact-version FastMCP documentation and examples; protocol assumptions and a compatibility matrix recorded.
Mission / Goal: implement MCP integrations from the protocol contract outward; FastMCP is the implementation framework; MCP protocol semantics remain the interoperability contract.
Research / Evidence: read the exact MCP specification version, including lifecycle, transports, authorization, tools, resources, prompts, notifications, capabilities, errors and version negotiation; read exact-version FastMCP documentation and relevant examples; inspect official FastMCP/MCP source and tests where documentation is ambiguous; identify supported/stable versus experimental/draft features; record protocol assumptions and compatibility matrix.
Decision / Selection rules: model lifecycle as explicit states and respect notification semantics; advertise only capabilities actually implemented; choose transport from deployment requirements and exact FastMCP support; design tools, resources and prompts per their distinct semantics; preserve the distinction between protocol-level and application/tool errors; keep application state explicit and independently scoped; treat protocol authentication/authorization as separate from application authorization; maintain a compatibility matrix of spec/FastMCP/transport/client/feature; treat extensions such as Tasks as versioned opt-in features.
Version / Compatibility: read the exact MCP specification version; never silently mix versions; for the modern 2026-07-28 protocol the core is stateless and requests are routable across instances; tool schemas use JSON Schema 2020-12.
Deliverables / Artifacts: protocol version/feature matrix, lifecycle state model, transport decision, capability contract, primitive contracts, error mapping, authorization boundary, compatibility plan, protocol test matrix, implementation and verification report. Verification / Testing: use protocol-level tests for lifecycle/discovery, capability negotiation, valid/invalid messages, notifications, tool/resource/prompt discovery and invocation, error mapping, cancellation, disconnect/reconnect, transport behavior and authorization; prefer official SDK/client test facilities; add interoperability tests for supported client combinations where practical. Failure / Stop conditions: reject if protocol version is implicit, capabilities are over-advertised, lifecycle assumptions contradict the target version, custom transport code duplicates native functionality, protocol/application errors are conflated, unsupported features are silently accepted, deprecated/draft behavior is hidden, or tests cover only application internals without protocol interoperability checks. Positive scenario: an MCP integration is implemented from the protocol contract and passes protocol-level tests. Negative scenario: capabilities are over-advertised or protocol/application errors are conflated.
Before design or code:
For handshake-era versions, model initialize/negotiation, capability agreement, normal operation and shutdown/disconnect as explicit states. For the modern 2026-07-28 protocol, do not invent a protocol-level initialize handshake or session requirement: the core is stateless and requests are designed to be routable across instances. Reject operations invalid for the targeted protocol lifecycle and respect notification semantics.
Advertise only capabilities actually implemented. Discovery/capability information is an interoperability contract, not a feature flag decoration. Unknown/unsupported capabilities must be handled according to the target specification.
Choose transport from deployment requirements and exact FastMCP support. For modern Streamable HTTP, account for Mcp-Method/Mcp-Name routing headers and ordinary load balancing. Define cancellation, disconnect behavior, proxy/load-balancer requirements, keepalive/streaming semantics where applicable and security boundaries. Do not write custom transport code when native FastMCP support satisfies the requirement.
Design tools, resources and prompts according to their distinct semantics. Tools perform operations; resources expose contextual data; prompts provide reusable prompt templates. Do not collapse these into one generic abstraction.
Tool schemas must be explicit and validated. Under 2026-07-28, tool schemas use JSON Schema 2020-12; bound validation depth/time and reject unsafe/unbounded schema processing. Resource URIs must have deterministic ownership and authorization semantics. Prompt arguments must be validated and must not become an authorization mechanism.
Preserve the distinction between protocol-level errors and application/tool errors as defined by the target MCP version. Map internal exceptions deliberately. Do not leak stack traces, credentials, SQL or internal topology. Error responses must remain useful to clients without exposing sensitive internals. Track version-specific error-code changes rather than matching obsolete literals blindly.
For handshake-era versions define session lifetime and per-session state explicitly. For modern stateless protocol versions keep application state explicit and independently scoped. Do not share mutable state across concurrent requests without synchronization and documented semantics. Cancellation must propagate to in-flight operations and release resources.
Protocol authentication/authorization is separate from application authorization. Validate identity, issuer, audience/resource and scopes according to the applicable authorization specification. Tool descriptions and model decisions never authorize access.
Maintain a matrix of MCP spec version, FastMCP version, transport, client implementation and feature availability. Test the minimum and target supported combinations where practical. Never claim interoperability from a single happy-path client test.
Treat extensions such as Tasks as explicitly versioned opt-in features. Do not silently depend on draft behavior. Avoid deprecated Roots, Sampling or Logging for new architecture unless compatibility requires them and document the reason.
Use protocol-level tests for lifecycle/discovery, capability negotiation, valid/invalid messages, notifications, tool/resource/prompt discovery and invocation, error mapping, cancellation, disconnect/reconnect, transport behavior and authorization. Prefer official SDK/client test facilities. Add interoperability tests for supported client combinations where practical.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (evgenygurin/fastmcp-engineering) — no native marketplace selected
npx claudepluginhub p/evgenygurin-fastmcp-engineering58 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.Other plugins' skills for the same job