MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodon_list_tools
(self, context, call_next)
tests/server/providers/proxy/test_proxy_server.py:1294
Methodon_list_tools
( self, context: MiddlewareContext[mcp_types.ListToolsRequest],
tests/server/transforms/test_search.py:180
Functionon_log
(message: Any)
tests/downstream/smoke_pydantic_ai.py:89
Functionon_log
(params: Any, context: Any)
tests/downstream/smoke_langchain_mcp_adapters.py:79
Methodon_log
(self, message: Any)
tests/downstream/smoke_langchain_mcp.py:99
Methodon_message
( self, context: MiddlewareContext[Any], call_next: CallNext[Any, Any], )
fastmcp_slim/fastmcp/server/middleware/middleware.py:204
Methodon_message
Log messages for configured methods.
fastmcp_slim/fastmcp/server/middleware/logging.py:124
Methodon_message
(self, context, call_next)
tests/server/middleware/test_message_visibility.py:245
Methodon_message
(self, context, call_next)
tests/server/middleware/test_message_visibility.py:284
Methodon_message
(self, context, call_next)
tests/server/middleware/test_message_visibility.py:317
Methodon_mount
(self)
scripts/rank_issues_tui.py:316
Methodon_notification
( self, context: MiddlewareContext[mt.Notification[Any, Any]], call_next: CallNext[mt.
fastmcp_slim/fastmcp/server/middleware/middleware.py:218
Methodon_notification
Record all notifications with timestamp.
tests/client/test_notifications.py:29
Methodon_notification
Record all notifications with timestamp.
tests/server/test_session_visibility.py:30
Methodon_notification
( self, context: MiddlewareContext, call_next: CallNext )
tests/server/middleware/test_message_visibility.py:40
Functionon_progress
( value: float, total: float | None, message: str | None )
tests/downstream/smoke_pydantic_ai.py:84
Functionon_progress
( value: float, total: float | None, message: str | None, context: Any )
tests/downstream/smoke_langchain_mcp_adapters.py:74
Methodon_progress
( self, value: float, total: float | None, message: str | None )
tests/downstream/smoke_langchain_mcp.py:94
Methodon_read
(self, name: str, ctx)
tests/apps/test_file_upload.py:222
Methodon_read_resource
( self, context: MiddlewareContext[mt.ReadResourceRequestParams], call_next: CallNext[
fastmcp_slim/fastmcp/server/middleware/middleware.py:246
Methodon_read_resource
Read a resource from the cache, if caching is enabled, and the result is in the cache. Otherwise, otherwise call the next middleware and store
fastmcp_slim/fastmcp/server/middleware/caching.py:522
Methodon_read_resource
Check auth before resource read.
fastmcp_slim/fastmcp/server/middleware/authorization.py:283
Methodon_read_resource
( self, context: MiddlewareContext, call_next: CallNext )
tests/server/middleware/test_middleware_nested.py:652
Methodon_read_resource
( self, context: MiddlewareContext[mt.ReadResourceRequestParams], call_next: CallNext[
tests/server/providers/test_fastmcp_provider.py:41
Methodon_request
( self, context: MiddlewareContext[mt.Request[Any, Any]], call_next: CallNext[mt.Reque
fastmcp_slim/fastmcp/server/middleware/middleware.py:211
Methodon_request
(self, context, call_next)
tests/server/test_completions.py:297
Methodon_request
(self, context: MiddlewareContext, call_next: CallNext)
tests/server/middleware/test_message_visibility.py:36
Methodon_start
(self, span: Span, parent_context: Context | None = None)
tests/telemetry/test_span_attributes.py:27
Methodon_store
(self, files: list[dict], ctx)
tests/apps/test_file_upload.py:196
Methodon_submit
(contact: Contact)
tests/apps/test_form.py:72
Methodone
()
tests/server/test_pagination.py:145
Functionone_question
(ctx: Context)
tests/tasks/server/test_guard_reentrant.py:400
Functiononly_tool
()
tests/server/test_extensions.py:162
Methodonly_v5
()
tests/server/versioning/test_filtering.py:208
Methodopaque_policy
(ctx: AuthContext)
tests/server/auth/test_authorization.py:1394
Functionopen_browser
(url: str)
tests/cli/deploy/test_authentication.py:134
Methodopen_resource
()
tests/server/transforms/test_resources_as_tools.py:271
Methodopenapi_31_spec
OpenAPI 3.1 spec to test compatibility.
tests/server/providers/openapi/test_comprehensive.py:333
Functionoperation_with_error
An operation that can be made to fail.
tests/server/middleware/test_logging.py:417
Methodoperation_with_error
An operation that can be made to fail.
tests/server/middleware/test_logging.py:455
Functionopted_in_headers
()
tests/server/http/test_http_dependencies.py:187
Functionoptional_context
Tool with optional context.
tests/tools/test_tool_future_annotations.py:31
Methodoptional_integer_prompt
(value: int | None)
tests/prompts/test_prompt.py:344
Methodoptional_tool
()
tests/tasks/server/test_task_config.py:163
Methodoptional_tool
()
tests/tasks/server/test_task_mount.py:402
Methodorder
()
tests/utilities/json_schema_type/test_generated_classes.py:151
Methodorigin_request_id
Get the request ID that originated this execution, if available. In foreground request mode, this is the current request_id. In backg
fastmcp_slim/fastmcp/server/context.py:250
Methodoriginal
()
tests/server/providers/test_transforming_provider.py:110
Methodoriginal
()
tests/server/providers/test_transforming_provider.py:164
Methodoriginal_func
(ctx: str, query: str, limit: int = 10)
tests/utilities/test_types.py:596
Methodoriginal_tool
(x: int)
tests/server/providers/test_local_provider.py:626
Methodoriginal_tool
()
tests/server/mount/test_advanced.py:395
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:210
Functionother
(n: int)
tests/tasks/server/test_task_middleware.py:149
Functionouter
()
tests/server/test_provider_extensions.py:708
Methodouter
(ctx: Context)
tests/tasks/server/test_task_catalog_transforms.py:148
Methodoverwritten_get_user
(user_id: str)
tests/server/providers/proxy/test_proxy_server.py:715
Methodoverwritten_wave
()
tests/server/providers/proxy/test_proxy_server.py:612
Methodowner
(self)
scripts/rank_issues.py:134
Methodpaint
(request: PaintRequest)
tests/server/middleware/test_dereference.py:29
Functionpair
(a: str, b: str)
tests/downstream/server.py:173
Methodpair
(self)
tests/docs/test_upgrade_guide_equivalence.py:126
Methodpair
(self)
tests/docs/test_upgrade_guide_equivalence.py:184
Functionparallel
Fire several background tasks at once and drive them concurrently. Each `call_tool_task` returns immediately, so we start every task before a
examples/tasks/client.py:88
Methodparameter_spec
OpenAPI spec with various parameter types.
tests/server/providers/openapi/test_openapi_features.py:41
Functionparent
(x: int, y: int = 10)
tests/tools/tool_transform/test_tool_transform.py:791
Methodparent_fn
(x: int)
tests/test_json_schema_generation.py:54
Methodparent_lifespan
(_mcp: FastMCP)
tests/server/mount/test_advanced.py:482
Functionparent_server
(child_server: FastMCP)
tests/tasks/server/test_task_mount.py:63
Functionparent_tool
(cool_model: CoolModel)
tests/tools/tool_transform/test_tool_transform.py:541
Functionparent_tool
(value: int)
tests/tasks/server/test_task_mount.py:68
Methodparent_with_imported_child
Create a parent server with an imported child server (prefixed).
tests/server/middleware/test_caching.py:781
Methodparent_with_modes
(self)
tests/tasks/server/test_task_mount.py:398
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:687
Methodpath_param_spec
(self)
tests/server/providers/openapi/test_openapi_features.py:715
Methodpath_route
(self)
tests/utilities/openapi/test_director.py:1124
Methodpath_tool
()
tests/server/providers/local_provider_tools/test_local_provider_tools.py:92
Methodpattern_match_tool
(context: Context)
tests/client/test_elicitation.py:706
Methodpattern_string
(self)
tests/utilities/json_schema_type/test_constraints.py:30
Functionpick_color
(context: Context)
tests/client/test_elicitation.py:185
Functionpick_priority
(context: Context)
tests/client/test_elicitation.py:159
Functionpick_v1
()
tests/tasks/client/test_transparent_tasks.py:89
Functionpick_v2
()
tests/tasks/client/test_transparent_tasks.py:93
Functionpicker
AppBridge host page — loads the picker app in an iframe and wires the bridge.
fastmcp_slim/fastmcp/cli/apps_dev.py:1420
Functionpicker_app
Prefab picker UI — tool list with one tab per UI tool.
fastmcp_slim/fastmcp/cli/apps_dev.py:1439
Functionping
()
tests/test_mcp_config.py:1401
Functionping
()
tests/server/test_protocol_eras.py:393
Functionping
()
tests/server/http/test_lifespan_once_per_process.py:62
Functionping
()
tests/experimental/transforms/test_code_mode_serialization.py:319
Functionping
()
tests/experimental/transforms/test_code_mode_discovery.py:155
Functionping
()
tests/experimental/transforms/test_code_mode.py:113
Functionping
Simple ping tool - always succeeds.
examples/diagnostics/server.py:78
Methodping
()
tests/test_upgrade_from_v3.py:113
Methodping
()
tests/client/client/test_session.py:209
Methodping_remote
( _ctx: ServerRequestContext[Any, Any], _params: mcp_types.RequestParams | None,
fastmcp_slim/fastmcp/server/providers/proxy.py:1497
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
Functionplain
(n: int)
tests/tasks/server/test_extension.py:63
Functionplain_save
Save without an app.
tests/server/test_hashed_tool_dispatch.py:372
← previousnext →5,201–5,300 of 13,374, ranked by callers