MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Functionplan_dinner
( ctx: Context, )
tests/tasks/client/test_transparent_tasks.py:159
Functionplan_dinner
Plan a dinner menu, asking the user what they're in the mood for.
examples/task_elicitation.py:72
Functionplay_media
(source: str, source_id: str, url: str, title: str)
examples/apps/media_picker/test_media_picker.py:132
Functionplay_media
Play normalized media from another MCP server; currently supports YouTube.
examples/smart_home/src/smart_home/fire_tv/server.py:89
Functionplay_youtube_video
Open one YouTube video by its 11-character ID, then verify via status.
examples/smart_home/src/smart_home/fire_tv/server.py:79
Functionpoem
(theme: str)
tests/server/test_completions.py:37
Methodpolicy
()
tests/tasks/server/test_task_catalog_transforms.py:211
Functionpost
Create a post with optional rich features like images, quotes, replies, and rich text. Examples: - Simple post: post("Hello world!")
examples/atproto_mcp/src/atproto_mcp/server.py:49
Functionpost_headers
(request: Request)
tests/client/test_openapi.py:27
Methodpost_spec_with_empty_content_schema
OpenAPI spec where a POST endpoint has an empty content_schema.
tests/server/providers/openapi/test_comprehensive.py:776
Methodpostponed_search
A function whose annotations are strings, as under PEP 563. Defined by exec so the future import applies to it and not to this whole
tests/resources/test_resource_template.py:1046
Methodpower
Raise a to the power of b.
tests/server/middleware/test_tool_injection.py:141
Methodpremium_tool
()
tests/server/test_session_visibility.py:588
Methodprepare
Prepare the environment (optional, can be no-op). Args: output_dir: Directory for persistent environment setup
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/environments/base.py:23
Functionpresent
(challenge: DeviceAuthorization)
tests/cli/deploy/test_authentication.py:131
Functionpress_home
Press Home. This changes navigation only; read status afterward to verify.
examples/smart_home/src/smart_home/fire_tv/server.py:58
Methodprimitive_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:184
Methodprior_discover
The configured result to adopt when `mode` pins a modern version.
fastmcp_slim/fastmcp/client/client.py:663
Methodprivate_prompt
(secret: str)
tests/server/middleware/test_middleware.py:419
Methodprivate_resource
()
tests/server/middleware/test_middleware.py:357
Methodprivate_template
(x: str)
tests/server/middleware/test_middleware.py:389
Methodprivate_tool
(secret: str)
tests/server/middleware/test_middleware.py:327
Functionprobe
(ctx: FastMCPContext)
tests/docs/test_upgrade_guide_api_claims.py:113
Methodprobe
(ctx: Context)
tests/server/test_mrtr_guards.py:136
Functionprocess
Process data (v1 - uppercase only).
examples/versioning/version_filters.py:24
Methodprocess
(value: int)
tests/tasks/server/test_task_mount.py:314
Functionprocess_data
(value: int, config: str = Depends(fetch_config))
tests/server/test_dependencies.py:202
Methodprocess_data
Process some data.
tests/server/test_input_validation.py:294
Methodprocess_data
( name: str, age: int, scores: list[float], metadata: dict[str
tests/prompts/test_prompt.py:243
Methodprocess_image
(image: bytes)
tests/server/providers/local_provider_tools/test_parameters.py:101
Methodprocess_optional
Process an optional value.
tests/server/test_input_validation.py:377
Methodproduction_tool
()
tests/utilities/test_inspect.py:434
Methodproduction_tool
()
tests/server/mount/test_filtering.py:47
Methodprogress
Send a progress notification.
fastmcp_slim/fastmcp/client/client.py:1419
Functionprogress_handler
( progress: float, total: float | None, message: str | None )
tests/client/test_progress.py:39
Methodprogress_handler
(progress, total, message)
tests/server/test_mrtr_guards.py:504
Methodprogress_handler
( progress: float, total: float | None, message: str | None )
tests/server/providers/proxy/test_proxy_client.py:347
Functionprogress_notifications
()
tests/downstream/smoke_pydantic_ai.py:150
Functionprogress_notifications
()
tests/downstream/smoke_langchain_mcp.py:189
Functionprogress_notifications
()
tests/downstream/smoke_langchain_mcp_adapters.py:149
Functionprogress_tool
(context: Context)
tests/client/test_progress.py:20
Functionprogress_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:145
Functionprogress_tool
(context: Context)
tests/server/middleware/test_middleware.py:143
Methodprogress_tool
(ctx: Context)
tests/tasks/server/test_context_background_task.py:349
Methodprogress_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:197
Methodproject
(self)
scripts/rank_issues.py:142
Functionproject_overview
Show project details organized in tabs.
examples/apps/patterns_server.py:430
Functionprompt
()
tests/downstream/smoke_pydantic_ai.py:175
Functionprompt
()
tests/downstream/smoke_langchain_mcp_adapters.py:183
Methodprompt
( self: LocalProvider, name_or_fn: F, *, name: str | None = None, vers
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.py:70
Methodprompt_1
()
tests/server/providers/test_local_provider_prompts.py:427
Methodprompt_2
()
tests/server/providers/test_local_provider_prompts.py:431
Methodprompt_all
(self)
tests/contrib/test_mcp_mixin.py:184
Methodprompt_all_p
(self)
tests/contrib/test_mcp_mixin.py:212
Methodprompt_cust
(self)
tests/contrib/test_mcp_mixin.py:245
Methodprompt_fn
(input: str)
tests/test_json_schema_generation.py:162
Methodprompt_fn
(name: str, ctx: Context)
tests/server/providers/test_local_provider_prompts.py:20
Methodprompt_one
()
tests/server/providers/test_fastmcp_provider.py:239
Methodprompt_two
()
tests/server/providers/test_fastmcp_provider.py:243
Methodprompt_with_annotated
( required: Annotated[str, Field(description="Required parameter")], optional: Annotat
tests/prompts/test_prompt.py:812
Methodprompt_with_ctx
(topic: str, ctx: Context)
tests/server/test_dependencies_advanced.py:280
Methodprompt_with_defaults
( required: str = Field(description="Required parameter"), optional: str = Field(
tests/prompts/test_prompt.py:794
Methodprompt_with_multiple_defaults
( name: str = Field(description="Name"), greeting: str = Field(default="Hello", descri
tests/prompts/test_prompt.py:828
Methodprompt_with_typed_defaults
( count: int = Field(description="Count"), multiplier: int = Field(default=2, descript
tests/prompts/test_prompt.py:855
Methodproperties_with_additional
Schema with properties AND additionalProperties=True -> BaseModel
tests/utilities/json_schema_type/test_advanced.py:651
Methodproperties_without_additional
Schema with properties but no additionalProperties -> dataclass
tests/utilities/json_schema_type/test_advanced.py:665
Functionprotected
()
tests/experimental/transforms/test_code_mode.py:548
Methodprotected
()
tests/server/transforms/test_catalog.py:237
Methodprotected_resource
()
tests/server/transforms/test_resources_as_tools.py:275
Methodprotected_resource_metadata
(request: Request)
fastmcp_slim/fastmcp/server/auth/providers/descope.py:300
Functionprotected_server
()
tests/server/http/test_sse_host_origin_protection.py:87
Methodprotected_tool
()
tests/server/auth/test_authorization.py:442
Methodprotected_tool
()
tests/server/auth/test_authorization.py:721
Methodprotected_tool
(x: int)
tests/server/auth/test_authorization.py:851
Methodprotected_tool
()
tests/server/auth/oauth_proxy/test_e2e.py:41
Functionprotocol_era
(ctx: Context)
tests/test_mcp_config.py:189
Functionprotocol_era
(ctx: Context)
tests/client/group/test_client_group.py:39
Functionprotocol_error_job
Raises a protocol-level error: `failed` with an inlined `error`.
tests/conformance/server.py:662
Methodprotocol_version
The negotiated protocol version, or `None` when disconnected. Set during connect-time negotiation regardless of era: the initialize h
fastmcp_slim/fastmcp/client/client.py:679
Methodprotocol_versions
(self)
fastmcp_slim/fastmcp/client/group.py:96
Methodprovider_tool
()
tests/server/providers/test_local_provider.py:804
Methodproxy
Create an OAuth proxy for testing.
tests/server/auth/oauth_proxy/test_tokens.py:1116
Methodproxy
(self, mock_verifier)
tests/server/auth/oauth_proxy/test_tokens.py:1374
Functionproxy_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:1409
Functionproxy_mcp
Proxy all MCP requests to the user's server (avoids browser CORS).
fastmcp_slim/fastmcp/cli/apps_dev.py:1556
Functionproxy_server
Start a proxy server.
tests/client/test_openapi.py:65
Functionproxy_server
A proxy server that forwards to the backend, with tasks advertised.
tests/tasks/server/test_task_proxy.py:56
Functionproxy_server
Fixture that creates a FastMCP proxy server. Passing an already-constructed `ProxyClient` as the target (rather than a raw `FastMCP`/URL/etc.
tests/server/providers/proxy/test_proxy_server.py:168
Functionproxy_server
A proxy server that forwards interactions with the proxy client to the given fastmcp server. `ProxyClient(fastmcp_server)` defaults to `mode
tests/server/providers/proxy/test_proxy_client.py:146
Methodproxy_server
(self, mcp_server: FastMCP)
tests/tools/tool_transform/test_tool_transform.py:761
Methodproxy_with_pkce
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_authorization.py:124
Methodproxy_with_resource_url
Create an OAuthProxy with set_mcp_path called.
tests/server/auth/oauth_proxy/test_config.py:70
Methodproxy_without_pkce
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_authorization.py:138
Functionpublic
(x: str)
tests/server/test_completions.py:306
Methodpublic
()
tests/server/middleware/test_caching.py:1038
Methodpublic
()
tests/server/transforms/test_catalog.py:210
Methodpublic
()
tests/server/transforms/test_catalog.py:233
Methodpublic_prompt
(name: str)
tests/server/middleware/test_middleware.py:415
Methodpublic_prompt
()
tests/server/middleware/test_caching.py:1072
Functionpublic_report
Return the public report.
tests/server/middleware/test_tool_injection.py:300
← previousnext →5,301–5,400 of 13,374, ranked by callers