Not loaded · from fastmcp-engineering
Design FastMCP tools, resources, and prompts as thin MCP adapters — use for MCP component architecture and API version-sensitive implementation.
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.
Design Tools, Resources, Resource Templates, and Prompts as thin MCP adapters over explicit application capabilities. Exact APIs are version-sensitive: research the target release first.
AGENTS.md and engineering contracts.FastMCP currently documents Tools as executable capabilities, Resources as readable data, and Prompts as reusable message templates. Official docs must be rechecked for the target release.
Scope / When to use: MCP component architecture and API version-sensitive implementation for Tools, Resources, Resource Templates, and Prompts.
Trigger: designing or changing a FastMCP Tool, Resource, Resource Template, or Prompt as a thin MCP adapter.
Upstream / Prerequisite: AGENTS.md and engineering contracts read; identified exact FastMCP/Python versions; evidence recorded before coding.
Mission / Goal: design Tools, Resources, Resource Templates, and Prompts as thin MCP adapters over explicit application capabilities.
Research / Evidence: read official docs for every component type involved; inspect relevant official PrefectHQ/fastmcp examples; inspect source/tests for ambiguous identity, registration, schema, execution, and error semantics; check MCP specification/SEP material for protocol claims; check first-party dependency docs for Pydantic and directly involved libraries.
Decision / Selection rules: choose the component by semantics — Tool for an operation, Resource for addressable data, Resource Template for parameterized data, Prompt for message templates; the adapter owns MCP-facing naming, descriptions, schemas, result shaping, Context access and protocol error translation; application/domain layers must not depend on FastMCP decorators or runtime Context.
Version / Compatibility: identify exact FastMCP/Python versions; exact APIs are version-sensitive — research the target release first and recheck official docs for the target release.
Deliverables / Artifacts: research package, component decision record, public MCP contract, application boundary map, implementation, Client/in-process tests, security/error verification, architecture re-check, evidence ledger.
Verification / Testing: use fastmcp.Client/in-process testing where appropriate; test discovery, schemas, success/error paths, authorization, malformed input, URI/template behavior, prompt rendering, identity/collision behavior, and cancellation/timeouts where applicable.
Failure / Stop conditions: reject thin database dumps, domain logic coupled to decorators, public schemas exposing persistence models, LLM-only authorization, guessed identity semantics, and implementations not verified against the target FastMCP version.
Positive scenario: a FastMCP component is a thin adapter over an application capability and passes Client/in-process tests.
Negative scenario: a component exposes a persistence model or delegates authorization to the LLM.
Do not force a requirement into a component when its semantics do not fit.
MCP client / LLM
↓
FastMCP component adapter
↓
Application port / use case
↓
Domain
↓
Infrastructure adapter
The adapter owns MCP-facing naming, descriptions, schemas, result shaping, Context access where required, and protocol error translation. Application/domain layers must not depend on FastMCP decorators or runtime Context merely because an MCP component invokes them.
Define a stable semantic name, model-facing description, typed input/output contract, authorization boundary, side effects/idempotency, and error semantics. Do not expose internal CRUD methods one-to-one unless that is genuinely the desired agent capability. Avoid giant tools containing unrelated workflows.
Resources are readable data capabilities, not disguised actions. Define stable URIs and explicit template semantics. Hidden mutations are prohibited unless deliberately justified. Verify binary content, MIME types, structured content, cache hints, and resource-template APIs for the target version.
Prompts are reusable message templates. Keep business operations and data access outside them unless explicitly part of the verified contract. Arguments require clear descriptions and deterministic serialization.
FastMCP derives schemas from Python signatures and validates boundary inputs/outputs. Use Pydantic for complex/reusable boundary contracts and ordinary annotations for simple contracts. Treat required fields, defaults, enums, output shapes and descriptions as compatibility-sensitive API changes. Never expose ORM entities, DB sessions, secrets, or infrastructure structures accidentally.
Determine canonical component identity for the target version. When composing Providers, Transforms, mounts, or programmatic registration, verify collision, deduplication, precedence, and visibility semantics from first-party evidence. FastMCP repository guidance identifies FastMCPComponent.key as the canonical identity surface; verify exact target-version behavior before relying on it.
Distinguish invalid input, authentication/authorization failure, expected application/domain rejection, transient infrastructure failure, and unexpected programmer failure. Do not swallow exceptions merely to return friendly strings or leak internal details.
Use FastMCP Context only for verified MCP runtime capabilities. Dependencies belong in explicit DI/application boundaries. Never use Context as a service locator.
For every component document who may discover/read/invoke it, tenant/user scope, returned data, side effects, and capability disclosure through names/descriptions/schemas. Authorization must be enforced at the security/application boundary, not delegated to the LLM.
When components come from Providers, Transforms, mounts, or programmatic registration, verify ordering, identity, deduplication, visibility, and override behavior. Choose decorator or imperative registration based on the target architecture and verified version semantics.
Use fastmcp.Client / in-process testing where appropriate. Test discovery, schemas, success/error paths, authorization, malformed input, URI/template behavior, prompt rendering, identity/collision behavior, and cancellation/timeouts where applicable.
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