MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

Methodgreet_w2
()
tests/server/mount/test_mount.py:566
Functiongreet_with_progress
Report progress for a greeting.
tests/client/test_streamable_http.py:50
Functiongreeting
(name: str)
tests/deprecated/test_import_server.py:150
Methodgreeting
()
tests/client/telemetry/test_client_list_tracing.py:159
Methodgreeting
()
tests/client/telemetry/test_client_tracing.py:180
Methodgreeting
(name: str)
tests/server/telemetry/test_server_tracing.py:177
Methodgreeting
(name: str)
tests/server/telemetry/test_server_tracing.py:282
Methodgreeting
(name: str)
tests/server/telemetry/test_list_tracing.py:103
Methodgreeting
()
tests/server/providers/test_local_provider.py:510
Methodgreeting
(name: str)
tests/server/mount/test_prompts.py:15
Methodgreeting
(name: str)
tests/server/versioning/test_mounting.py:288
Methodgreeting
Generate a greeting message.
tests/deprecated/test_tool_injection_middleware.py:32
Functiongreeting_prompt
A prompt that can execute as a task.
tests/server/tasks/test_task_proxy.py:43
Functiongreeting_resource
A static greeting resource.
tests/cli/test_client_commands.py:413
Functiongreeting_resource
A static greeting resource.
tests/cli/test_generate_cli.py:563
Functiongreeting_resource
Get a personalized greeting resource
examples/testing_demo/server.py:41
Methodhandle
Handle authorization request with enhanced error responses. This method extends the SDK's authorization handler and intercepts errors
fastmcp_slim/fastmcp/server/auth/handlers/authorize.py:196
Methodhandle_authorize
Handle authorization requests.
tests/server/auth/oauth_proxy/conftest.py:73
Methodhandle_cancel_task
(req: CancelTaskRequest)
fastmcp_slim/fastmcp/server/mixins/lifespan.py:288
Functionhandle_elicitation
Handle elicitation requests from background tasks.
examples/task_elicitation.py:63
Methodhandle_get_task
(req: GetTaskRequest)
fastmcp_slim/fastmcp/server/mixins/lifespan.py:269
Methodhandle_get_task_result
(req: GetTaskPayloadRequest)
fastmcp_slim/fastmcp/server/mixins/lifespan.py:274
Methodhandle_list_tasks
(req: ListTasksRequest)
fastmcp_slim/fastmcp/server/mixins/lifespan.py:279
Methodhandle_log
(self, message: LogMessage)
tests/client/test_logs.py:23
Functionhandle_progress
( progress_token: str | int, progress: float, total: float | None, message: st
tests/server/middleware/test_middleware_nested.py:158
Functionhandle_progress
( progress_token: str | int, progress: float, total: float | None, message: st
tests/server/middleware/test_middleware.py:157
Methodhandle_revoke
Handle token revocation.
tests/server/auth/oauth_proxy/conftest.py:198
Methodhandle_token
Handle token requests.
tests/server/auth/oauth_proxy/conftest.py:108
Methodhandler
( req: mcp.types.ReadResourceRequest, )
fastmcp_slim/fastmcp/server/low_level.py:303
Methodhandler
(messages, params, ctx)
tests/client/test_sampling_result_types.py:487
Methodhandler
(messages, params, ctx)
tests/client/test_sampling_result_types.py:595
Methodhandler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestContext )
tests/client/test_sampling.py:192
Methodhandler
(message: LoggingMessageNotificationParams)
tests/client/test_logs.py:343
Methodhandler
(user_id: str)
tests/resources/test_resource_template.py:875
Methodhandler
(message, response_type, params, ctx)
tests/server/tasks/test_task_elicitation_relay.py:43
Methodhandler
(message, response_type, params, ctx)
tests/server/tasks/test_context_background_task.py:327
Functionhealth
Health check (always available).
examples/versioning/version_filters.py:44
Methodhealth
(request)
tests/server/mount/test_advanced.py:182
Functionhealth_check
Public health check
examples/tags_example.py:38
Functionheavy_computation
A heavy computation that might need rate limiting.
tests/server/middleware/test_rate_limiting.py:305
Methodhello
()
tests/server/middleware/test_ping.py:206
Methodhello
()
tests/server/mount/test_proxy.py:277
Functionhello_prompt
Generate a hello world prompt
examples/testing_demo/server.py:48
Methodhello_world
(name: str = "世界")
tests/server/test_server.py:38
Methodhelper_tool
A helper tool.
tests/client/test_sampling_result_types.py:652
Methodheterogeneous_union
(self)
tests/utilities/json_schema_type/test_unions.py:21
Methodhidden_prompt
(self)
tests/contrib/test_mcp_mixin.py:455
Methodhidden_resource
(self)
tests/contrib/test_mcp_mixin.py:437
Functionhidden_tool
()
tests/server/test_tool_transformation.py:138
Methodhidden_tool
(self)
tests/contrib/test_mcp_mixin.py:419
Methodhigh_version_tool
()
tests/server/versioning/test_filtering.py:486
Methodhow_to_calculate
(self, a: int, b: int)
tests/server/middleware/test_caching.py:136
Methodhtml_spec
OpenAPI spec with a text/html resource endpoint.
tests/server/providers/openapi/test_openapi_features.py:596
Methodhttp_server_url
Start an HTTP server and return its URL.
tests/client/telemetry/test_client_tracing.py:546
Functionhub_status
Checks the status of the main hub and connections.
examples/smart_home/src/smart_home/hub.py:16
Methodicon_tool
Tool with icon.
tests/utilities/test_inspect_icons.py:293
Methodicons
(self)
fastmcp_slim/fastmcp/server/server.py:461
Methodidentify
(path: str)
tests/resources/test_resource_template.py:318
Methodidentity
(path: str)
tests/resources/test_resource_template.py:303
Functionimage_prompt
A prompt that returns an image.
tests/server/providers/proxy/test_proxy_server.py:139
Functionimage_tool
(path: str)
tests/conftest.py:227
Functionimage_tool
()
tests/experimental/transforms/test_code_mode.py:633
Methodimage_tool
(data: bytes)
tests/tools/tool/test_tool.py:232
Methodimage_tool
(path: str)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:114
Functionimmediate
Execute the tool immediately (blocks until complete).
examples/tasks/client.py:132
Methodimmediate_resource
()
tests/server/tasks/test_resource_task_meta_parameter.py:124
Methodimmediate_tool
(x: int)
tests/server/tasks/test_task_meta_parameter.py:214
Functionimport_rich_rule
()
tests/conftest.py:34
Methodincluded_versioned_prompt
(name: str)
tests/server/versioning/test_filtering.py:323
Methodincluded_versioned_resource
()
tests/server/versioning/test_filtering.py:255
Methodincluded_versioned_template
(name: str)
tests/server/versioning/test_filtering.py:280
Methodincluded_versioned_tool
()
tests/server/versioning/test_filtering.py:163
Methodincluded_versioned_tool
()
tests/server/versioning/test_filtering.py:463
Methodincrement
Atomically increment the current progress value.
fastmcp_slim/fastmcp/server/dependencies.py:1135
Methodincrement
Atomically increment the current progress value.
fastmcp_slim/fastmcp/server/dependencies.py:1186
Methodinfo
()
tests/server/versioning/test_visibility_version_fallback.py:162
Methodinfo
()
tests/server/versioning/test_visibility_version_fallback.py:309
Functioninfo_resource
A resource that can be read as a task.
tests/server/tasks/test_task_proxy.py:48
Methodinfo_v1
()
tests/server/versioning/test_calls.py:352
Methodinfo_v2
()
tests/server/versioning/test_calls.py:356
Functioninherited_prompt
()
tests/server/tasks/test_server_tasks_parameter.py:194
Functioninherited_resource
()
tests/server/tasks/test_server_tasks_parameter.py:202
Functioninherited_tool
()
tests/server/tasks/test_server_tasks_parameter.py:182
Functioninit
(conn)
examples/memory.py:78
FunctioninitializeAmplitude
()
docs/fastmcp-analytics.js:215
Methodinitialize_result
Get the result of the initialization request.
fastmcp_slim/fastmcp/client/client.py:387
Methodinner_resource
()
tests/server/tasks/test_resource_task_meta_parameter.py:180
Methodinner_tool
(x: int)
tests/server/tasks/test_task_meta_parameter.py:256
Functioninspect
Inspect an MCP server and display information or generate a JSON report. This command analyzes an MCP server. Without flags, it displays a text s
fastmcp_slim/fastmcp/cli/cli.py:788
Functioninstant_task
A task that completes instantly.
tests/server/middleware/test_timing.py:145
Methodinstant_timeout
()
tests/tools/test_tool_timeout.py:127
Methodinstructions
(self)
fastmcp_slim/fastmcp/server/server.py:445
Functionintermittent_operation
An operation that fails intermittently.
tests/server/middleware/test_error_handling.py:419
Methodinternal_tool
()
tests/server/test_session_visibility.py:83
Functioninterruptible_tool
()
tests/server/tasks/test_task_methods.py:192
Functioninvalid_fn
(new_x: int, non_existent: str)
tests/tools/tool_transform/test_tool_transform.py:577
Methodinvalid_func
(id: str, format: str)
tests/resources/test_resource_template_query_params.py:146
Functioninvalid_oidc_configuration_dict
Create an invalid OIDC configuration dict for testing.
tests/server/auth/test_oidc_proxy.py:44
Functioninventory_manager
Open the inventory manager. The model calls this to launch the app.
examples/apps/inventory/inventory_server.py:386
Methodis_background_task
True when this context is running in a background task (Docket worker). When True, certain operations like elicit() and sample() will use
fastmcp_slim/fastmcp/server/context.py:210
← previousnext →3,201–3,300 of 10,312, ranked by callers