MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodon_discover
(self, context, call_next)
tests/server/middleware/test_discovery_middleware.py:59
Methodon_discover
(self, context, call_next)
tests/server/middleware/test_discovery_middleware.py:91
Methodon_discover
( self, context: MiddlewareContext[mcp_types.DiscoverRequest], call_next: CallNext[
tests/server/providers/proxy/test_server_metadata.py:91
Methodon_discover
( self, context: MiddlewareContext[mcp_types.DiscoverRequest], call_next: CallNext[
tests/server/providers/proxy/test_server_metadata.py:130
Methodon_discover
(self, context, call_next)
tests/server/providers/proxy/test_server_metadata.py:425
Methodon_discover
(self, context, call_next)
tests/server/providers/proxy/test_proxy_headers.py:22
Functionon_elicitation
( mcp_context: Any, params: Any, context: Any )
tests/downstream/smoke_langchain_mcp_adapters.py:82
Methodon_error
(self, callback)
tests/server/test_server_docket.py:202
Methodon_get_prompt
( self, context: MiddlewareContext[mt.GetPromptRequestParams], call_next: CallNext[mt.
fastmcp_slim/fastmcp/server/middleware/middleware.py:263
Methodon_get_prompt
Get a prompt from the cache, if caching is enabled, and the result is in the cache. Otherwise, call the next middleware and store the result i
fastmcp_slim/fastmcp/server/middleware/caching.py:587
Methodon_get_prompt
Check auth before prompt render.
fastmcp_slim/fastmcp/server/middleware/authorization.py:462
Methodon_get_prompt
( self, context: MiddlewareContext[mt.GetPromptRequestParams], call_next: CallNext[mt.
tests/server/providers/test_fastmcp_provider.py:60
Methodon_initialize
( self, context: MiddlewareContext[mt.InitializeRequest], call_next: CallNext[mt.Initi
fastmcp_slim/fastmcp/server/middleware/middleware.py:225
Methodon_initialize
( self, context: MiddlewareContext[mcp_types.InitializeRequest], call_next: CallNext[
fastmcp_slim/fastmcp/server/providers/proxy.py:297
Methodon_initialize
( self, context: MiddlewareContext[mcp_types.InitializeRequest], call_next: CallNext[
fastmcp_slim/fastmcp/server/providers/proxy.py:1404
Methodon_initialize
Capture initialization details.
tests/server/middleware/test_initialization_middleware.py:40
Methodon_initialize
Detect test client during initialization.
tests/server/middleware/test_initialization_middleware.py:78
Methodon_initialize
( self, context: MiddlewareContext[mt.InitializeRequest], call_next: CallN
tests/server/middleware/test_initialization_middleware.py:124
Methodon_initialize
( self, context: MiddlewareContext[mt.InitializeRequest], call_next: CallN
tests/server/middleware/test_initialization_middleware.py:287
Methodon_initialize
( self, context: MiddlewareContext[mt.InitializeRequest], call_next: CallN
tests/server/middleware/test_initialization_middleware.py:316
Methodon_initialize
( self, context: MiddlewareContext[mt.InitializeRequest], call_next: CallN
tests/server/middleware/test_initialization_middleware.py:340
Methodon_initialize
( self, context: MiddlewareContext[mt.InitializeRequest], call_next: CallN
tests/server/middleware/test_initialization_middleware.py:370
Methodon_initialize
( self, context: MiddlewareContext[mcp_types.InitializeRequest], call_next: CallNext[
tests/server/providers/proxy/test_server_metadata.py:80
Methodon_initialize
( self, context: MiddlewareContext[mcp_types.InitializeRequest], call_next: CallNext[
tests/server/providers/proxy/test_server_metadata.py:119
Methodon_initialize
( self, context: MiddlewareContext[mcp_types.InitializeRequest], call_next
tests/server/providers/proxy/test_server_metadata.py:257
Methodon_initialize
(self, context, call_next)
tests/server/providers/proxy/test_server_metadata.py:420
Methodon_list
(self, ctx)
tests/apps/test_file_upload.py:210
Methodon_list_prompts
( self, context: MiddlewareContext[mt.ListPromptsRequest], call_next: CallNext[mt.List
fastmcp_slim/fastmcp/server/middleware/middleware.py:293
Methodon_list_prompts
Time prompt listing.
fastmcp_slim/fastmcp/server/middleware/timing.py:152
Methodon_list_prompts
List prompts from the cache, if caching is enabled, and the result is in the cache. Otherwise, call the next middleware and store the result i
fastmcp_slim/fastmcp/server/middleware/caching.py:438
Methodon_list_prompts
Filter prompts/list response based on auth checks.
fastmcp_slim/fastmcp/server/middleware/authorization.py:435
Methodon_list_prompts
(self, context: MiddlewareContext, call_next)
tests/server/middleware/test_middleware.py:433
Methodon_list_prompts
( self, context: MiddlewareContext[mcp_types.ListPromptsRequest], call_next: CallNext[
tests/server/middleware/test_caching.py:1167
Methodon_list_resource_templates
( self, context: MiddlewareContext[mt.ListResourceTemplatesRequest], call_next: CallNe
fastmcp_slim/fastmcp/server/middleware/middleware.py:284
Methodon_list_resource_templates
( self, context: MiddlewareContext[mt.ListResourceTemplatesRequest], call_next: CallNe
fastmcp_slim/fastmcp/server/middleware/dereference.py:33
Methodon_list_resource_templates
Time resource template listing.
fastmcp_slim/fastmcp/server/middleware/timing.py:146
Methodon_list_resource_templates
Filter resource templates/list response based on auth checks.
fastmcp_slim/fastmcp/server/middleware/authorization.py:406
Methodon_list_resource_templates
( self, context: MiddlewareContext, call_next )
tests/server/middleware/test_middleware.py:401
Methodon_list_resources
( self, context: MiddlewareContext[mt.ListResourcesRequest], call_next: CallNext[mt.Li
fastmcp_slim/fastmcp/server/middleware/middleware.py:277
Methodon_list_resources
Time resource listing.
fastmcp_slim/fastmcp/server/middleware/timing.py:140
Methodon_list_resources
List resources from the cache, if caching is enabled, and the result is in the cache. Otherwise, call the next middleware and store the result
fastmcp_slim/fastmcp/server/middleware/caching.py:405
Methodon_list_resources
Filter resources/list response based on auth checks.
fastmcp_slim/fastmcp/server/middleware/authorization.py:308
Methodon_list_resources
(self, context: MiddlewareContext, call_next)
tests/server/middleware/test_middleware.py:371
Methodon_list_resources
( self, context: MiddlewareContext[mcp_types.ListResourcesRequest], call_next: CallNex
tests/server/middleware/test_caching.py:1159
Methodon_list_tools
( self, context: MiddlewareContext[mt.ListToolsRequest], call_next: CallNext[mt.ListTo
fastmcp_slim/fastmcp/server/middleware/middleware.py:270
Methodon_list_tools
( self, context: MiddlewareContext[mt.ListToolsRequest], call_next: CallNext[mt.ListTo
fastmcp_slim/fastmcp/server/middleware/dereference.py:24
Methodon_list_tools
List tools from the cache, if caching is enabled, and the result is in the cache. Otherwise, call the next middleware and store the result in
fastmcp_slim/fastmcp/server/middleware/caching.py:372
Methodon_list_tools
Filter tools/list response based on auth checks.
fastmcp_slim/fastmcp/server/middleware/authorization.py:210
Methodon_list_tools
Hide schemas for tools whose response shape may be truncated to text.
fastmcp_slim/fastmcp/server/middleware/response_limiting.py:107
Methodon_list_tools
(self, context, call_next)
tests/server/test_mcp_param_schema_cache.py:135
Methodon_list_tools
(self, context, call_next)
tests/server/test_mcp_param_schema_cache.py:198
Methodon_list_tools
( self, context: MiddlewareContext, call_next: CallNext )
tests/server/middleware/test_message_visibility.py:52
Methodon_list_tools
Modify tools based on client detection.
tests/server/middleware/test_initialization_middleware.py:92
Methodon_list_tools
(self, context: MiddlewareContext, call_next)
tests/server/middleware/test_middleware_nested.py:493
Methodon_list_tools
(self, context: MiddlewareContext, call_next)
tests/server/middleware/test_middleware.py:343
Methodon_list_tools
( self, context: MiddlewareContext[mcp_types.ListToolsRequest], call_next: CallNext[mc
tests/server/middleware/test_caching.py:1151
Methodon_list_tools
(self, context, call_next)
tests/server/providers/proxy/test_proxy_server.py:1365
Methodon_list_tools
( self, context: MiddlewareContext[mt.ListToolsRequest], call_next: CallNext[mt.ListTo
tests/server/mount/test_mount.py:329
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_next
(self, callback)
tests/server/test_server_docket.py:200
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:255
Methodon_read_resource
Read a resource from the cache, if caching is enabled, and the result is in the cache. Otherwise, call the next middleware and store the resul
fastmcp_slim/fastmcp/server/middleware/caching.py:538
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_read_resource
(self, context, call_next)
tests/server/providers/proxy/test_skills.py:38
Methodon_request
( self, context: MiddlewareContext[mt.Request[Any, Any]], call_next: CallNext[mt.Reque
fastmcp_slim/fastmcp/server/middleware/middleware.py:211
Methodon_request
Answer completion for a denied reference like an unknown one.
fastmcp_slim/fastmcp/server/middleware/authorization.py:117
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_request
(self, context, call_next)
tests/server/providers/proxy/test_skills.py:178
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:73
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:223
Methodopaque_policy
(ctx: AuthContext)
tests/server/auth/test_authorization.py:1411
Functionopen_browser
(url: str)
tests/cli/deploy/test_authentication.py:134
Methodopen_resource
()
tests/server/transforms/test_resources_as_tools.py:315
Functionopen_stream
()
tests/server/test_generator_dependency_lifetime.py:27
Methodopen_stream
()
tests/server/test_dependencies_advanced.py:301
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
← previousnext →6,101–6,200 of 15,974, ranked by callers