MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

Functionotel_trace_provider
Configure OTEL SDK with in-memory span exporter for testing. Session-scoped because TracerProvider can only be set once per process.
tests/conftest.py:121
Methodouter
()
tests/server/tasks/test_task_mount.py:926
Methodouter_tool
(x: int)
tests/server/tasks/test_task_meta_parameter.py:260
Methodouter_tool
()
tests/server/tasks/test_resource_task_meta_parameter.py:184
Methodoverwritten_get_user
(user_id: str)
tests/server/providers/proxy/test_proxy_server.py:680
Methodoverwritten_wave
()
tests/server/providers/proxy/test_proxy_server.py:575
Methodpaint
(request: PaintRequest)
tests/server/middleware/test_dereference.py:29
Methodparameter_spec
OpenAPI spec with various parameter types.
tests/server/providers/openapi/test_openapi_features.py:36
Functionparent
(x: int, y: int = 10)
tests/tools/tool_transform/test_tool_transform.py:702
Methodparent_fn
(x: int)
tests/test_json_schema_generation.py:54
Methodparent_lifespan
(_mcp: FastMCP)
tests/server/mount/test_advanced.py:480
Functionparent_server
Create a parent server with the child mounted.
tests/server/tasks/test_task_mount.py:84
Functionparent_server_no_prefix
Create a parent server with child mounted without prefix.
tests/server/tasks/test_task_mount.py:100
Functionparent_tool
(cool_model: CoolModel)
tests/tools/tool_transform/test_tool_transform.py:522
Functionparent_tool
A tool on the parent server.
tests/server/tasks/test_task_mount.py:89
Methodparent_with_imported_child
Create a parent server with an imported child server (prefixed).
tests/server/middleware/test_caching.py:562
Methodparent_with_modes
Create a parent server with the child mounted.
tests/server/tasks/test_task_mount.py:622
Methodparse_path_with_object
Parse path:object syntax and extract the object name. This validator runs before the model is created, allowing us to handle the "fil
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/sources/filesystem.py:29
Methodpatched_resolve
(name: str, start_dir: Path | None = None)
tests/cli/test_discovery.py:629
Methodpath_route
(self)
tests/utilities/openapi/test_director.py:1064
Methodpath_tool
()
tests/server/providers/local_provider_tools/test_local_provider_tools.py:92
Methodpattern_match_tool
(context: Context)
tests/client/test_elicitation.py:735
Methodpattern_string
(self)
tests/utilities/json_schema_type/test_constraints.py:29
Functionpick_color
(context: Context)
tests/client/test_elicitation.py:182
Functionpick_priority
(context: Context)
tests/client/test_elicitation.py:158
Functionpicker
AppBridge host page — loads the picker app in an iframe and wires the bridge.
fastmcp_slim/fastmcp/cli/apps_dev.py:1382
Functionpicker_app
Prefab picker UI — tool list with one tab per UI tool.
fastmcp_slim/fastmcp/cli/apps_dev.py:1401
Functionping
()
tests/experimental/transforms/test_code_mode_serialization.py:127
Functionping
()
tests/experimental/transforms/test_code_mode_discovery.py:155
Functionping
()
tests/experimental/transforms/test_code_mode.py:107
Functionping
Simple ping tool - always succeeds.
examples/diagnostics/server.py:78
Methodping_remote
( _request: mcp.types.PingRequest, )
fastmcp_slim/fastmcp/server/providers/proxy.py:930
Functionpkce_challenge
Create a PKCE challenge with code_verifier and code_challenge.
tests/server/test_auth_integration_errors.py:259
Functionpkce_challenge
Create a PKCE challenge with code_verifier and code_challenge.
tests/server/test_auth_integration.py:264
Methodplain_fn
(x: int)
tests/server/sampling/test_prepare_tools.py:87
Functionplan_dinner
Plan a dinner menu, asking the user what they're in the mood for.
examples/task_elicitation.py:41
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:26
Methodpost_spec_with_empty_content_schema
OpenAPI spec where a POST endpoint has an empty content_schema.
tests/server/providers/openapi/test_comprehensive.py:774
Methodpower
Raise a to the power of b.
tests/server/middleware/test_tool_injection.py:131
Methodpremium_tool
()
tests/server/test_session_visibility.py:578
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
Methodprimitive_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:184
Functionprint_notification
Callback function for push notifications from server. This is called automatically when the server sends notifications/tasks/status. Deduplic
examples/tasks/client.py:51
Methodprivate_prompt
(secret: str)
tests/server/middleware/test_middleware.py:415
Methodprivate_resource
()
tests/server/middleware/test_middleware.py:353
Methodprivate_template
(x: str)
tests/server/middleware/test_middleware.py:385
Methodprivate_tool
(secret: str)
tests/server/middleware/test_middleware.py:323
Functionprocess
Process data (v1 - uppercase only).
examples/versioning/version_filters.py:24
Methodprocess
(value: int)
tests/server/tasks/test_task_mount.py:463
Functionprocess_data
(value: int, config: str = Depends(fetch_config))
tests/server/test_dependencies.py:201
Methodprocess_data
Process some data.
tests/server/test_input_validation.py:213
Methodprocess_data
( name: str, age: int, scores: list[float], metadata: dict[str
tests/prompts/test_prompt.py:240
Methodprocess_image
(image: bytes)
tests/server/providers/local_provider_tools/test_parameters.py:101
Methodprocess_list
(items: list[int])
tests/deprecated/test_tool_serializer.py:30
Methodprocess_optional
Process an optional value.
tests/server/test_input_validation.py:296
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:826
Functionprogress_handler
( progress: float, total: float | None, message: str | None )
tests/client/test_progress.py:39
Methodprogress_handler
( progress: float, total: float | None, message: str | None )
tests/server/providers/proxy/test_proxy_client.py:272
Functionprogress_tool
(context: Context)
tests/client/test_progress.py:20
Functionprogress_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:143
Functionprogress_tool
(context: Context)
tests/server/middleware/test_middleware.py:142
Methodprogress_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:196
Methodprogress_tool
(ctx: Context)
tests/server/tasks/test_context_background_task.py:210
Functionproject_overview
Show project details organized in tabs.
examples/apps/patterns_server.py:430
Methodprompt
( self: LocalProvider, name_or_fn: F, *, name: str | None = None, vers
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.py:74
Methodprompt_1
()
tests/server/providers/test_local_provider_prompts.py:424
Methodprompt_2
()
tests/server/providers/test_local_provider_prompts.py:428
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
Functionprompt_return_server
Server with prompts that return various message structures.
tests/server/tasks/test_task_return_types.py:140
Functionprompt_server
Create a test server with background-enabled prompts.
tests/client/tasks/test_client_prompt_tasks.py:15
Functionprompt_server
Create a FastMCP server with task-enabled prompts.
tests/server/tasks/test_task_prompts.py:15
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:742
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:724
Methodprompt_with_multiple_defaults
( name: str = Field(description="Name"), greeting: str = Field(default="Hello", descri
tests/prompts/test_prompt.py:758
Functionprompt_with_server_dependency
Background prompt that uses CurrentFastMCP dependency.
tests/server/tasks/test_task_dependencies.py:59
Methodprompt_with_typed_defaults
( count: int = Field(description="Count"), multiplier: int = Field(default=2, descript
tests/prompts/test_prompt.py:785
Methodproperties_with_additional
Schema with properties AND additionalProperties=True -> BaseModel
tests/utilities/json_schema_type/test_advanced.py:623
Methodproperties_without_additional
Schema with properties but no additionalProperties -> dataclass
tests/utilities/json_schema_type/test_advanced.py:637
Functionprotected
()
tests/experimental/transforms/test_code_mode.py:542
Methodprotected
()
tests/server/transforms/test_catalog.py:237
Methodprotected_resource
()
tests/server/transforms/test_resources_as_tools.py:275
Methodprotected_tool
()
tests/server/auth/test_authorization.py:282
Methodprotected_tool
()
tests/server/auth/test_authorization.py:555
Methodprotected_tool
(x: int)
tests/server/auth/test_authorization.py:685
Methodprotected_tool
()
tests/server/auth/oauth_proxy/test_e2e.py:41
Methodprovider_tool
()
tests/server/providers/test_local_provider.py:788
Methodproxy
Create an OAuth proxy for testing.
tests/server/auth/oauth_proxy/test_tokens.py:1016
Methodproxy
(self, mock_verifier)
tests/server/auth/oauth_proxy/test_tokens.py:1274
Functionproxy_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:864
Functionproxy_mcp
Proxy all MCP requests to the user's server (avoids browser CORS).
fastmcp_slim/fastmcp/cli/apps_dev.py:1512
← previousnext →3,801–3,900 of 10,312, ranked by callers