Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Function
plan_dinner
( ctx: Context, )
tests/tasks/client/test_transparent_tasks.py:159
Function
plan_dinner
Plan a dinner menu, asking the user what they're in the mood for.
examples/task_elicitation.py:72
Function
play_media
(source: str, source_id: str, url: str, title: str)
examples/apps/media_picker/test_media_picker.py:132
Function
play_media
Play normalized media from another MCP server; currently supports YouTube.
examples/smart_home/src/smart_home/fire_tv/server.py:89
Function
play_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
Function
poem
(theme: str)
tests/server/test_completions.py:37
Method
policy
()
tests/tasks/server/test_task_catalog_transforms.py:211
Function
post
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
Function
post_headers
(request: Request)
tests/client/test_openapi.py:27
Method
post_spec_with_empty_content_schema
OpenAPI spec where a POST endpoint has an empty content_schema.
tests/server/providers/openapi/test_comprehensive.py:776
Method
postponed_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
Method
power
Raise a to the power of b.
tests/server/middleware/test_tool_injection.py:141
Method
premium_tool
()
tests/server/test_session_visibility.py:588
Method
prepare
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
Function
present
(challenge: DeviceAuthorization)
tests/cli/deploy/test_authentication.py:131
Function
press_home
Press Home. This changes navigation only; read status afterward to verify.
examples/smart_home/src/smart_home/fire_tv/server.py:58
Method
primitive_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:184
Method
prior_discover
The configured result to adopt when `mode` pins a modern version.
fastmcp_slim/fastmcp/client/client.py:663
Method
private_prompt
(secret: str)
tests/server/middleware/test_middleware.py:419
Method
private_resource
()
tests/server/middleware/test_middleware.py:357
Method
private_template
(x: str)
tests/server/middleware/test_middleware.py:389
Method
private_tool
(secret: str)
tests/server/middleware/test_middleware.py:327
Function
probe
(ctx: FastMCPContext)
tests/docs/test_upgrade_guide_api_claims.py:113
Method
probe
(ctx: Context)
tests/server/test_mrtr_guards.py:136
Function
process
Process data (v1 - uppercase only).
examples/versioning/version_filters.py:24
Method
process
(value: int)
tests/tasks/server/test_task_mount.py:314
Function
process_data
(value: int, config: str = Depends(fetch_config))
tests/server/test_dependencies.py:202
Method
process_data
Process some data.
tests/server/test_input_validation.py:294
Method
process_data
( name: str, age: int, scores: list[float], metadata: dict[str
tests/prompts/test_prompt.py:243
Method
process_image
(image: bytes)
tests/server/providers/local_provider_tools/test_parameters.py:101
Method
process_optional
Process an optional value.
tests/server/test_input_validation.py:377
Method
production_tool
()
tests/utilities/test_inspect.py:434
Method
production_tool
()
tests/server/mount/test_filtering.py:47
Method
progress
Send a progress notification.
fastmcp_slim/fastmcp/client/client.py:1419
Function
progress_handler
( progress: float, total: float | None, message: str | None )
tests/client/test_progress.py:39
Method
progress_handler
(progress, total, message)
tests/server/test_mrtr_guards.py:504
Method
progress_handler
( progress: float, total: float | None, message: str | None )
tests/server/providers/proxy/test_proxy_client.py:347
Function
progress_notifications
()
tests/downstream/smoke_pydantic_ai.py:150
Function
progress_notifications
()
tests/downstream/smoke_langchain_mcp.py:189
Function
progress_notifications
()
tests/downstream/smoke_langchain_mcp_adapters.py:149
Function
progress_tool
(context: Context)
tests/client/test_progress.py:20
Function
progress_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:145
Function
progress_tool
(context: Context)
tests/server/middleware/test_middleware.py:143
Method
progress_tool
(ctx: Context)
tests/tasks/server/test_context_background_task.py:349
Method
progress_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:197
Method
project
(self)
scripts/rank_issues.py:142
Function
project_overview
Show project details organized in tabs.
examples/apps/patterns_server.py:430
Function
prompt
()
tests/downstream/smoke_pydantic_ai.py:175
Function
prompt
()
tests/downstream/smoke_langchain_mcp_adapters.py:183
Method
prompt
( self: LocalProvider, name_or_fn: F, *, name: str | None = None, vers
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.py:70
Method
prompt_1
()
tests/server/providers/test_local_provider_prompts.py:427
Method
prompt_2
()
tests/server/providers/test_local_provider_prompts.py:431
Method
prompt_all
(self)
tests/contrib/test_mcp_mixin.py:184
Method
prompt_all_p
(self)
tests/contrib/test_mcp_mixin.py:212
Method
prompt_cust
(self)
tests/contrib/test_mcp_mixin.py:245
Method
prompt_fn
(input: str)
tests/test_json_schema_generation.py:162
Method
prompt_fn
(name: str, ctx: Context)
tests/server/providers/test_local_provider_prompts.py:20
Method
prompt_one
()
tests/server/providers/test_fastmcp_provider.py:239
Method
prompt_two
()
tests/server/providers/test_fastmcp_provider.py:243
Method
prompt_with_annotated
( required: Annotated[str, Field(description="Required parameter")], optional: Annotat
tests/prompts/test_prompt.py:812
Method
prompt_with_ctx
(topic: str, ctx: Context)
tests/server/test_dependencies_advanced.py:280
Method
prompt_with_defaults
( required: str = Field(description="Required parameter"), optional: str = Field(
tests/prompts/test_prompt.py:794
Method
prompt_with_multiple_defaults
( name: str = Field(description="Name"), greeting: str = Field(default="Hello", descri
tests/prompts/test_prompt.py:828
Method
prompt_with_typed_defaults
( count: int = Field(description="Count"), multiplier: int = Field(default=2, descript
tests/prompts/test_prompt.py:855
Method
properties_with_additional
Schema with properties AND additionalProperties=True -> BaseModel
tests/utilities/json_schema_type/test_advanced.py:651
Method
properties_without_additional
Schema with properties but no additionalProperties -> dataclass
tests/utilities/json_schema_type/test_advanced.py:665
Function
protected
()
tests/experimental/transforms/test_code_mode.py:548
Method
protected
()
tests/server/transforms/test_catalog.py:237
Method
protected_resource
()
tests/server/transforms/test_resources_as_tools.py:275
Method
protected_resource_metadata
(request: Request)
fastmcp_slim/fastmcp/server/auth/providers/descope.py:300
Function
protected_server
()
tests/server/http/test_sse_host_origin_protection.py:87
Method
protected_tool
()
tests/server/auth/test_authorization.py:442
Method
protected_tool
()
tests/server/auth/test_authorization.py:721
Method
protected_tool
(x: int)
tests/server/auth/test_authorization.py:851
Method
protected_tool
()
tests/server/auth/oauth_proxy/test_e2e.py:41
Function
protocol_era
(ctx: Context)
tests/test_mcp_config.py:189
Function
protocol_era
(ctx: Context)
tests/client/group/test_client_group.py:39
Function
protocol_error_job
Raises a protocol-level error: `failed` with an inlined `error`.
tests/conformance/server.py:662
Method
protocol_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
Method
protocol_versions
(self)
fastmcp_slim/fastmcp/client/group.py:96
Method
provider_tool
()
tests/server/providers/test_local_provider.py:804
Method
proxy
Create an OAuth proxy for testing.
tests/server/auth/oauth_proxy/test_tokens.py:1116
Method
proxy
(self, mock_verifier)
tests/server/auth/oauth_proxy/test_tokens.py:1374
Function
proxy_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:1409
Function
proxy_mcp
Proxy all MCP requests to the user's server (avoids browser CORS).
fastmcp_slim/fastmcp/cli/apps_dev.py:1556
Function
proxy_server
Start a proxy server.
tests/client/test_openapi.py:65
Function
proxy_server
A proxy server that forwards to the backend, with tasks advertised.
tests/tasks/server/test_task_proxy.py:56
Function
proxy_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
Function
proxy_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
Method
proxy_server
(self, mcp_server: FastMCP)
tests/tools/tool_transform/test_tool_transform.py:761
Method
proxy_with_pkce
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_authorization.py:124
Method
proxy_with_resource_url
Create an OAuthProxy with set_mcp_path called.
tests/server/auth/oauth_proxy/test_config.py:70
Method
proxy_without_pkce
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_authorization.py:138
Function
public
(x: str)
tests/server/test_completions.py:306
Method
public
()
tests/server/middleware/test_caching.py:1038
Method
public
()
tests/server/transforms/test_catalog.py:210
Method
public
()
tests/server/transforms/test_catalog.py:233
Method
public_prompt
(name: str)
tests/server/middleware/test_middleware.py:415
Method
public_prompt
()
tests/server/middleware/test_caching.py:1072
Function
public_report
Return the public report.
tests/server/middleware/test_tool_injection.py:300
← previous
next →
5,301–5,400 of 13,374, ranked by callers