Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Function
fresh_shims
()
tests/test_compat.py:39
Method
from_call_tool_result
Create a CallToolRequestResult from a CallToolResult.
fastmcp_slim/fastmcp/contrib/bulk_tool_caller/bulk_tool_caller.py:37
Method
from_cli_args
Create a config from CLI arguments. This allows us to have a single code path where everything goes through a config object.
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:246
Method
from_function
Create a FunctionTool from a function. Args: fn: The function to wrap metadata: ToolMeta object with all configuratio
fastmcp_slim/fastmcp/tools/function_tool.py:219
Method
from_function
( cls, fn: Callable[..., Any], validate: bool = True, wrap_non_object_output_s
fastmcp_slim/fastmcp/tools/function_parsing.py:277
Method
from_function
( cls, fn: Callable[..., Any], uri: str | AnyUrl, *, name: str | None
fastmcp_slim/fastmcp/resources/base.py:359
Method
from_function
Create a FunctionResource from a function. Args: fn: The function to wrap uri: The URI for the resource (required if
fastmcp_slim/fastmcp/resources/function_resource.py:84
Method
from_function
Create a template from a function.
fastmcp_slim/fastmcp/resources/template.py:640
Method
from_function
Create a Prompt from a function. The function can return: - str: wrapped as single user Message - list[Message | str]: conver
fastmcp_slim/fastmcp/prompts/base.py:262
Method
from_function
Create a Prompt from a function. Args: fn: The function to wrap metadata: PromptMeta object with all configuration. I
fastmcp_slim/fastmcp/prompts/function_prompt.py:73
Method
from_mcp_template
Creates a FastMCP ResourceTemplate from a raw MCP ResourceTemplate object.
fastmcp_slim/fastmcp/resources/template.py:538
Function
fsync
(descriptor: int)
tests/cli/deploy/test_credentials.py:80
Function
full_name
(ctx: Context)
tests/tasks/server/test_guard_reentrant.py:165
Function
full_package
(feature: str)
fastmcp_slim/fastmcp/_install_hints.py:21
Method
func
Add two numbers.
tests/tools/tool/test_tool.py:357
Method
func
()
tests/tools/tool/test_output_schema.py:28
Method
func
()
tests/tools/tool/test_output_schema.py:590
Method
func
()
tests/tools/tool/test_output_schema.py:669
Method
func
(x: int, *args: int)
tests/resources/test_resource_template.py:364
Method
func
(ctx: str, session: int, query: str, limit: int = 5)
tests/utilities/test_types.py:652
Method
func
(name: Annotated[str, "The user's name"])
tests/utilities/test_types.py:676
Method
func
(**kwargs: int)
tests/server/providers/test_local_provider_resources.py:131
Function
func_no_annotations
(x, y)
tests/utilities/test_typeadapter.py:151
Function
func_with_many_params
( keep_this: int, skip_this: str, also_keep: float, also_skip: bool )
tests/utilities/test_typeadapter.py:183
Method
func_with_required
( required_param: str, optional_param: str = "default" )
tests/resources/test_resource_template.py:125
Function
func_with_str_and_int
(a: str, b: int)
tests/utilities/test_typeadapter.py:252
Function
func_with_str_types
(string: SomeComplexModel)
tests/utilities/test_typeadapter.py:162
Method
g
(x: int, y: int = 1)
tests/test_upgrade_from_v3.py:315
Method
gate
(**kwargs)
tests/server/test_event_store.py:328
Function
gated_get
(*args, **kwargs)
tests/server/auth/test_oauth_consent_flow.py:211
Function
gemini_cli_command
Install an MCP server in Gemini CLI. Args: server_spec: Python file to install, optionally with :object suffix
fastmcp_slim/fastmcp/cli/install/gemini_cli.py:152
Function
generate_qr
Generate a QR code from text. Args: text: The text/URL to encode box_size: Size of each box in pixels (default: 10) borde
examples/apps/qr_server/qr_server.py:108
Method
generate_ui
( code: str, data: str | dict[str, Any] | None = None, )
fastmcp_slim/fastmcp/apps/generative.py:114
Function
get_a
(b: str = CallArgument())
tests/server/test_call_arguments.py:150
Method
get_absolute_resource
()
tests/server/test_server.py:176
Function
get_access_token_claims
Get the authenticated user's access token claims.
examples/auth/aws_oauth/server.py:48
Function
get_access_token_claims
Get the authenticated user's access token claims.
examples/auth/keycloak_oauth/server.py:33
Function
get_account
(user_id: str)
tests/tasks/server/test_task_dependencies.py:312
Function
get_account
(user_id: str)
tests/server/test_call_arguments.py:50
Method
get_add_calls
(self)
tests/server/middleware/test_caching.py:148
Function
get_admin_stats
Get admin statistics - internal use
examples/tags_example.py:32
Function
get_admin_status
()
tests/server/test_dependencies.py:584
Method
get_all
(ctx: Context)
tests/server/test_server_lifespan.py:221
Function
get_and_store
(name, coro)
tests/server/providers/proxy/test_proxy_server.py:942
Method
get_and_store
(name, coro)
tests/server/providers/proxy/test_proxy_client.py:410
Function
get_api_client
(base_url: str = Depends(get_base_url))
tests/server/test_dependencies.py:111
Function
get_api_key
()
tests/server/test_dependencies.py:649
Function
get_app_config
Get application configuration.
examples/filesystem-provider/components/resources/config.py:10
Method
get_app_tool
Delegate to inner, bypassing this wrapper's transforms.
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:79
Method
get_app_tool
Delegate to nested server's get_app_tool, wrapping for middleware.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:456
Method
get_app_tool
Query all child providers for an app tool.
fastmcp_slim/fastmcp/server/providers/aggregate.py:274
Method
get_audio
No return annotation.
tests/tools/tool/test_content.py:466
Function
get_auth_token
()
tests/server/test_dependencies.py:674
Function
get_b
(a: str = CallArgument())
tests/server/test_call_arguments.py:153
Function
get_base_path
()
tests/server/test_dependencies.py:336
Function
get_base_url
()
tests/server/test_dependencies.py:108
Method
get_bill
( account: Annotated[ str, Field(title="Account Number", description="The account.
tests/tools/tool/test_title.py:140
Method
get_binary
()
tests/server/providers/test_local_provider_resources.py:500
Method
get_biofile
()
tests/tools/tool/test_results.py:295
Method
get_biofiles
()
tests/tools/tool/test_results.py:345
Method
get_both
(ctx: Context)
tests/server/test_server_lifespan.py:175
Function
get_bridge
(ctx: Context = CurrentContext())
examples/smart_home/src/smart_home/lights/hue_utils.py:31
Function
get_bucket
(region: str = Depends(get_default_region))
tests/server/test_call_arguments.py:90
Method
get_bytes
(value: str)
tests/resources/test_resource_template.py:226
Method
get_capabilities
Override to advertise registered extensions and the MCP Apps UI extension. ``ServerCapabilities.extensions`` is a real declared field in v2,
fastmcp_slim/fastmcp/server/low_level.py:529
Method
get_client
(self, client_id: str)
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:70
Method
get_client
(self, client_id: str)
tests/server/test_auth_integration_errors.py:40
Method
get_client_id
(ctx)
tests/server/middleware/test_rate_limiting.py:345
Method
get_client_id
(context)
tests/server/middleware/test_rate_limiting.py:562
Method
get_component
( component_id: str, )
tests/tools/tool/test_results.py:210
Function
get_config
()
tests/server/test_dependencies.py:48
Method
get_config
()
tests/client/telemetry/test_client_list_tracing.py:95
Method
get_config
()
tests/client/telemetry/test_client_tracing.py:122
Method
get_config
()
tests/resources/test_standalone_decorator.py:26
Method
get_config
()
tests/resources/test_standalone_decorator.py:110
Method
get_config
(name: str, enabled: bool = False)
tests/resources/test_resource_template_query_params.py:84
Method
get_config
(name: str, enabled: bool = False)
tests/resources/test_resource_template_query_params.py:270
Method
get_config
()
tests/server/test_dependencies.py:890
Method
get_config
()
tests/server/test_dependencies.py:1023
Method
get_config
()
tests/server/telemetry/test_server_tracing.py:100
Method
get_config
()
tests/server/telemetry/test_server_tracing.py:257
Method
get_config
()
tests/server/telemetry/test_list_tracing.py:53
Method
get_config
()
tests/server/mount/test_proxy.py:73
Method
get_config
()
tests/server/mount/test_resources.py:84
Function
get_connection
Dependency that provides an open connection.
tests/server/test_dependencies.py:33
Method
get_connection
()
tests/server/test_dependencies.py:1076
Method
get_context
(ctx: Context)
tests/server/test_server_lifespan.py:254
Function
get_counter
()
tests/tools/tool_transform/test_args.py:251
Method
get_crazy_calls
(self)
tests/server/middleware/test_caching.py:154
Method
get_data
(return_error: bool)
tests/tools/tool/test_results.py:175
Method
get_data
(key: str, value: int)
tests/resources/test_resource_template.py:252
Method
get_data
()
tests/resources/test_function_resources.py:32
Method
get_data
(id: str, format: str = "json")
tests/resources/test_resource_template_query_params.py:12
Method
get_data
(id: str, format: str = "json", verbose: bool = False)
tests/resources/test_resource_template_query_params.py:180
Method
get_data
( id: str = Field(description="Resource ID"), format: str = Field(default="json", desc
tests/resources/test_resource_template_query_params.py:340
Method
get_data
Get data.
tests/utilities/test_inspect_icons.py:103
Method
get_data
()
tests/utilities/test_inspect.py:188
Method
get_data
()
tests/utilities/test_inspect.py:511
Method
get_data
()
tests/server/providers/test_local_provider_resources.py:67
Method
get_data
()
tests/server/providers/test_local_provider_resources.py:318
← previous
next →
4,101–4,200 of 13,374, ranked by callers