MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Functionfresh_shims
()
tests/test_compat.py:39
Methodfrom_call_tool_result
Create a CallToolRequestResult from a CallToolResult.
fastmcp_slim/fastmcp/contrib/bulk_tool_caller/bulk_tool_caller.py:37
Methodfrom_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
Methodfrom_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
Methodfrom_function
( cls, fn: Callable[..., Any], validate: bool = True, wrap_non_object_output_s
fastmcp_slim/fastmcp/tools/function_parsing.py:277
Methodfrom_function
( cls, fn: Callable[..., Any], uri: str | AnyUrl, *, name: str | None
fastmcp_slim/fastmcp/resources/base.py:359
Methodfrom_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
Methodfrom_function
Create a template from a function.
fastmcp_slim/fastmcp/resources/template.py:640
Methodfrom_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
Methodfrom_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
Methodfrom_mcp_template
Creates a FastMCP ResourceTemplate from a raw MCP ResourceTemplate object.
fastmcp_slim/fastmcp/resources/template.py:538
Functionfsync
(descriptor: int)
tests/cli/deploy/test_credentials.py:80
Functionfull_name
(ctx: Context)
tests/tasks/server/test_guard_reentrant.py:165
Functionfull_package
(feature: str)
fastmcp_slim/fastmcp/_install_hints.py:21
Methodfunc
Add two numbers.
tests/tools/tool/test_tool.py:357
Methodfunc
()
tests/tools/tool/test_output_schema.py:28
Methodfunc
()
tests/tools/tool/test_output_schema.py:590
Methodfunc
()
tests/tools/tool/test_output_schema.py:669
Methodfunc
(x: int, *args: int)
tests/resources/test_resource_template.py:364
Methodfunc
(ctx: str, session: int, query: str, limit: int = 5)
tests/utilities/test_types.py:652
Methodfunc
(name: Annotated[str, "The user's name"])
tests/utilities/test_types.py:676
Methodfunc
(**kwargs: int)
tests/server/providers/test_local_provider_resources.py:131
Functionfunc_no_annotations
(x, y)
tests/utilities/test_typeadapter.py:151
Functionfunc_with_many_params
( keep_this: int, skip_this: str, also_keep: float, also_skip: bool )
tests/utilities/test_typeadapter.py:183
Methodfunc_with_required
( required_param: str, optional_param: str = "default" )
tests/resources/test_resource_template.py:125
Functionfunc_with_str_and_int
(a: str, b: int)
tests/utilities/test_typeadapter.py:252
Functionfunc_with_str_types
(string: SomeComplexModel)
tests/utilities/test_typeadapter.py:162
Methodg
(x: int, y: int = 1)
tests/test_upgrade_from_v3.py:315
Methodgate
(**kwargs)
tests/server/test_event_store.py:328
Functiongated_get
(*args, **kwargs)
tests/server/auth/test_oauth_consent_flow.py:211
Functiongemini_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
Functiongenerate_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
Methodgenerate_ui
( code: str, data: str | dict[str, Any] | None = None, )
fastmcp_slim/fastmcp/apps/generative.py:114
Functionget_a
(b: str = CallArgument())
tests/server/test_call_arguments.py:150
Methodget_absolute_resource
()
tests/server/test_server.py:176
Functionget_access_token_claims
Get the authenticated user's access token claims.
examples/auth/aws_oauth/server.py:48
Functionget_access_token_claims
Get the authenticated user's access token claims.
examples/auth/keycloak_oauth/server.py:33
Functionget_account
(user_id: str)
tests/tasks/server/test_task_dependencies.py:312
Functionget_account
(user_id: str)
tests/server/test_call_arguments.py:50
Methodget_add_calls
(self)
tests/server/middleware/test_caching.py:148
Functionget_admin_stats
Get admin statistics - internal use
examples/tags_example.py:32
Functionget_admin_status
()
tests/server/test_dependencies.py:584
Methodget_all
(ctx: Context)
tests/server/test_server_lifespan.py:221
Functionget_and_store
(name, coro)
tests/server/providers/proxy/test_proxy_server.py:942
Methodget_and_store
(name, coro)
tests/server/providers/proxy/test_proxy_client.py:410
Functionget_api_client
(base_url: str = Depends(get_base_url))
tests/server/test_dependencies.py:111
Functionget_api_key
()
tests/server/test_dependencies.py:649
Functionget_app_config
Get application configuration.
examples/filesystem-provider/components/resources/config.py:10
Methodget_app_tool
Delegate to inner, bypassing this wrapper's transforms.
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:79
Methodget_app_tool
Delegate to nested server's get_app_tool, wrapping for middleware.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:456
Methodget_app_tool
Query all child providers for an app tool.
fastmcp_slim/fastmcp/server/providers/aggregate.py:274
Methodget_audio
No return annotation.
tests/tools/tool/test_content.py:466
Functionget_auth_token
()
tests/server/test_dependencies.py:674
Functionget_b
(a: str = CallArgument())
tests/server/test_call_arguments.py:153
Functionget_base_path
()
tests/server/test_dependencies.py:336
Functionget_base_url
()
tests/server/test_dependencies.py:108
Methodget_bill
( account: Annotated[ str, Field(title="Account Number", description="The account.
tests/tools/tool/test_title.py:140
Methodget_binary
()
tests/server/providers/test_local_provider_resources.py:500
Methodget_biofile
()
tests/tools/tool/test_results.py:295
Methodget_biofiles
()
tests/tools/tool/test_results.py:345
Methodget_both
(ctx: Context)
tests/server/test_server_lifespan.py:175
Functionget_bridge
(ctx: Context = CurrentContext())
examples/smart_home/src/smart_home/lights/hue_utils.py:31
Functionget_bucket
(region: str = Depends(get_default_region))
tests/server/test_call_arguments.py:90
Methodget_bytes
(value: str)
tests/resources/test_resource_template.py:226
Methodget_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
Methodget_client
(self, client_id: str)
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:70
Methodget_client
(self, client_id: str)
tests/server/test_auth_integration_errors.py:40
Methodget_client_id
(ctx)
tests/server/middleware/test_rate_limiting.py:345
Methodget_client_id
(context)
tests/server/middleware/test_rate_limiting.py:562
Methodget_component
( component_id: str, )
tests/tools/tool/test_results.py:210
Functionget_config
()
tests/server/test_dependencies.py:48
Methodget_config
()
tests/client/telemetry/test_client_list_tracing.py:95
Methodget_config
()
tests/client/telemetry/test_client_tracing.py:122
Methodget_config
()
tests/resources/test_standalone_decorator.py:26
Methodget_config
()
tests/resources/test_standalone_decorator.py:110
Methodget_config
(name: str, enabled: bool = False)
tests/resources/test_resource_template_query_params.py:84
Methodget_config
(name: str, enabled: bool = False)
tests/resources/test_resource_template_query_params.py:270
Methodget_config
()
tests/server/test_dependencies.py:890
Methodget_config
()
tests/server/test_dependencies.py:1023
Methodget_config
()
tests/server/telemetry/test_server_tracing.py:100
Methodget_config
()
tests/server/telemetry/test_server_tracing.py:257
Methodget_config
()
tests/server/telemetry/test_list_tracing.py:53
Methodget_config
()
tests/server/mount/test_proxy.py:73
Methodget_config
()
tests/server/mount/test_resources.py:84
Functionget_connection
Dependency that provides an open connection.
tests/server/test_dependencies.py:33
Methodget_connection
()
tests/server/test_dependencies.py:1076
Methodget_context
(ctx: Context)
tests/server/test_server_lifespan.py:254
Functionget_counter
()
tests/tools/tool_transform/test_args.py:251
Methodget_crazy_calls
(self)
tests/server/middleware/test_caching.py:154
Methodget_data
(return_error: bool)
tests/tools/tool/test_results.py:175
Methodget_data
(key: str, value: int)
tests/resources/test_resource_template.py:252
Methodget_data
()
tests/resources/test_function_resources.py:32
Methodget_data
(id: str, format: str = "json")
tests/resources/test_resource_template_query_params.py:12
Methodget_data
(id: str, format: str = "json", verbose: bool = False)
tests/resources/test_resource_template_query_params.py:180
Methodget_data
( id: str = Field(description="Resource ID"), format: str = Field(default="json", desc
tests/resources/test_resource_template_query_params.py:340
Methodget_data
Get data.
tests/utilities/test_inspect_icons.py:103
Methodget_data
()
tests/utilities/test_inspect.py:188
Methodget_data
()
tests/utilities/test_inspect.py:511
Methodget_data
()
tests/server/providers/test_local_provider_resources.py:67
Methodget_data
()
tests/server/providers/test_local_provider_resources.py:318
← previousnext →4,101–4,200 of 13,374, ranked by callers