MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

Functionecho
Echo text back with metadata about the operation.
examples/tool_result_echo.py:25
Functionecho
Echo the input text
examples/simple_echo.py:12
Functionecho
Echo the provided message.
examples/auth/azure_oauth/server.py:38
Functionecho
Echo the provided message.
examples/auth/github_oauth/server.py:29
Functionecho
Echo the provided message.
examples/auth/oci_oauth/server.py:32
Functionecho
Echo the provided message.
examples/auth/clerk_oauth/server.py:34
Functionecho
Echo the provided message.
examples/auth/aws_oauth/server.py:42
Functionecho
Echo the provided message.
examples/auth/discord_oauth/server.py:29
Functionecho
Echo the provided message.
examples/auth/propelauth_oauth/server.py:39
Functionecho
Echo the provided message.
examples/auth/authkit/server.py:28
Functionecho
Echo the provided message.
examples/auth/keycloak_oauth/server.py:27
Functionecho
Echo the provided message.
examples/auth/google_oauth/server.py:31
Functionecho
Echo the provided message.
examples/auth/workos_oauth/server.py:31
Functionecho
Echo the provided message.
examples/auth/scalekit_oauth/server.py:41
Functionecho
Echo the provided text back to the user.
examples/fastmcp_config/server.py:10
Functionecho
Echo a message back.
examples/apps/inspector_demo.py:99
Methodecho
(message: str)
tests/client/telemetry/test_client_tracing.py:243
Methodecho
(message: str)
tests/client/telemetry/test_client_tracing.py:553
Methodecho
(self, message: str)
examples/in_memory_proxy_example.py:21
Functionecho_args
Server accepts all string args but client sends mixed types.
tests/client/client/test_client.py:205
Functionecho_log
( message: str, context: Context, level: LoggingLevel | None = None, logger: s
tests/client/test_logs.py:41
Methodecho_log
( message: str, context: Context, level: LoggingLevel | None = None )
tests/client/test_logs.py:143
Functionecho_message
Echo a message, with debug info if debug mode is enabled.
examples/config_server.py:38
Functionecho_prompt
(text: str)
examples/echo.py:29
Functionecho_resource
()
examples/echo.py:18
Functionecho_template
Echo the input text
examples/echo.py:23
Functionecho_template
Echo template - always succeeds.
examples/diagnostics/server.py:90
Functionecho_tool
Echo the input text
fastmcp_slim/fastmcp/contrib/bulk_tool_caller/example.py:10
Functionecho_tool
A simple tool that echoes arguments or raises an error.
tests/contrib/test_bulk_tool_caller.py:41
Functionecho_tool
Echo the input text
examples/echo.py:12
Functionecho_tool_result_factory
A tool that returns a result based on the input arguments.
tests/contrib/test_bulk_tool_caller.py:46
Functionecho_with_logs
Echo a message and emit log notifications.
examples/apps/inspector_demo.py:105
Methodedge_case_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:300
Functionelicit
Elicit a response from the user.
tests/client/test_streamable_http.py:29
Functionelicit
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:54
Methodelicit_tool
(ctx: Context)
tests/server/tasks/test_notifications.py:62
Methodelicit_with_defaults
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:362
Functionelicitation_handler
(message, response_type, params, ctx)
tests/client/test_streamable_http.py:219
Functionelicitation_handler
(message, response_type, params, ctx)
tests/client/test_elicitation_enums.py:51
Functionelicitation_handler
(message, response_type, params, ctx)
tests/client/test_elicitation.py:62
Functionelicitation_handler
(message, response_type, params, ctx)
tests/deprecated/test_elicitation.py:25
Methodelicitation_handler
(message, response_type, params, ctx)
tests/client/test_elicitation.py:283
Methodelicitation_handler
(message, response_type, params, ctx)
tests/client/test_elicitation.py:748
Methodelicitation_handler
(message, response_type, params, ctx)
tests/server/providers/proxy/test_stateful_proxy_client.py:196
Methodelicitation_handler
( message, response_type, params: ElicitRequestParams, ctx )
tests/server/providers/proxy/test_proxy_client.py:184
Methodelicitation_handler
(message, response_type, params, ctx)
tests/server/tasks/test_notifications.py:68
Methodelicitation_handler_a
( message: str, response_type: type, params: ElicitRequestParams,
tests/server/providers/proxy/test_proxy_client.py:317
Methodelicitation_handler_b
( message: str, response_type: type, params: ElicitRequestParams,
tests/server/providers/proxy/test_proxy_client.py:325
Methodemail_format
(self)
tests/utilities/json_schema_type/test_formats.py:26
Methodemail_string
(self)
tests/utilities/json_schema_type/test_constraints.py:33
Functionemployee_directory
Show a searchable, sortable employee directory.
examples/apps/patterns_server.py:286
Functionenable_components
Enable components matching criteria for this session only. Session rules override global transforms. Rules accumulate - each call adds a new
fastmcp_slim/fastmcp/server/transforms/visibility.py:372
Functionenable_fastmcp_logger_propagation
Enable propagation on FastMCP root logger so caplog captures FastMCP log messages. FastMCP loggers have propagate=False by default, which prevent
tests/conftest.py:42
Methodenable_v2_only
(ctx: Context)
tests/server/test_session_visibility.py:210
Methodenabled
Return whether caching is active.
fastmcp_slim/fastmcp/utilities/token_cache.py:89
Methodenabled_prompt
()
tests/server/providers/test_local_provider.py:568
Methodenabled_resource
()
tests/server/providers/test_local_provider.py:457
Methodenabled_template
(id: str)
tests/server/providers/test_local_provider.py:495
Methodenabled_tool
()
tests/server/providers/test_local_provider.py:366
Functionendpoint
(request: Request)
fastmcp_slim/fastmcp/contrib/component_manager/component_manager.py:94
Functionendpoint_handler
Endpoint that returns request state or headers.
tests/server/http/test_http_middleware.py:46
Functionendpoint_server
Create a server with background tasks and HTTP transport.
tests/server/tasks/test_task_methods.py:17
Methodenforce
(attr: str, is_url: bool = False)
fastmcp_slim/fastmcp/server/auth/oidc_proxy.py:116
Methodenter_env
(ctx: Context)
tests/server/test_session_visibility.py:637
Functionerror_handling_server
Create a FastMCP server specifically for error handling middleware tests.
tests/server/middleware/test_error_handling.py:393
Functionerror_resource
Resource that always raises ValueError.
examples/diagnostics/server.py:111
Methoderror_resource
()
tests/client/client/test_error_handling.py:117
Functionerror_template
Template that always raises ValueError.
examples/diagnostics/server.py:117
Functionerror_tool
()
tests/conftest.py:223
Functionerror_tool
A tool that raises an error for testing purposes.
tests/contrib/test_bulk_tool_caller.py:22
Functionerror_tool
This tool always raises an error.
tests/server/providers/proxy/test_proxy_server.py:65
Functionerror_tool
Always raises an error.
tests/server/tasks/test_task_methods.py:27
Methoderror_tool
()
tests/client/client/test_error_handling.py:23
Functionerror_tool_result_factory
Generates the expected error result for error_tool.
tests/contrib/test_bulk_tool_caller.py:27
Methodevent_store
(self)
tests/server/test_event_store.py:42
Functionexample_tool
()
tests/server/middleware/test_initialization_middleware.py:159
Methodexception_resource
()
tests/client/client/test_error_handling.py:85
Methodexchange_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: AuthorizationCode )
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:164
Methodexchange_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: AuthorizationCode )
tests/server/test_auth_integration_errors.py:73
Methodexchange_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: RefreshToken, # This is th
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:232
Methodexchange_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: RefreshToken, scope
tests/server/test_auth_integration_errors.py:125
Methodexcluded_versioned_prompt
(name: str)
tests/server/versioning/test_filtering.py:327
Methodexcluded_versioned_resource
()
tests/server/versioning/test_filtering.py:259
Methodexcluded_versioned_template
(name: str)
tests/server/versioning/test_filtering.py:284
Methodexcluded_versioned_tool
()
tests/server/versioning/test_filtering.py:167
Methodexcluded_versioned_tool
()
tests/server/versioning/test_filtering.py:467
Methodexclusive_max_number
(self)
tests/utilities/json_schema_type/test_constraints.py:94
Methodexclusive_min_number
(self)
tests/utilities/json_schema_type/test_constraints.py:86
Functionexecute_trade
Execute a trade (simulated).
examples/namespace_activation/server.py:28
Methodexit_env
(ctx: Context)
tests/server/test_session_visibility.py:642
Functionexpensive_dependency
()
tests/server/test_dependencies.py:213
Functionexplain
Generate an explanation prompt. Args: topic: The concept to explain. audience: Target audience level.
examples/filesystem-provider/components/prompts/assistant.py:32
Functionexplain_concept
Explain a programming concept.
examples/prompts_as_tools/server.py:18
Functionexplain_prompt
Generate a prompt to explain a topic
examples/testing_demo/server.py:54
Functionexplain_sql
(query: str)
tests/deprecated/test_import_server.py:200
Functionexplicit_false_prompt
()
tests/server/tasks/test_server_tasks_parameter.py:198
Functionexplicit_false_resource
()
tests/server/tasks/test_server_tasks_parameter.py:206
Functionexplicit_false_tool
()
tests/server/tasks/test_server_tasks_parameter.py:190
Methodexplicit_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:161
Functionexplicit_true_tool
()
tests/server/tasks/test_server_tasks_parameter.py:186
← previousnext →2,601–2,700 of 10,312, ranked by callers