MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

Functionfirst_shared_tool
()
tests/deprecated/test_import_server.py:485
Methodfirst_shared_tool
()
tests/server/mount/test_mount.py:332
Functionfirst_template
(user_id: str)
tests/deprecated/test_import_server.py:544
Methodfirst_template
(user_id: str)
tests/server/mount/test_mount.py:440
Functionfirst_tool
()
tests/deprecated/test_import_server.py:77
Methodfirst_tool
First tool description.
fastmcp_slim/fastmcp/contrib/mcp_mixin/example.py:21
Methodfirst_tool
()
tests/server/mount/test_mount.py:223
Functionfixture_streamable_http_client
()
tests/integration_tests/test_github_mcp_remote.py:26
Methodfn
()
tests/tools/test_tool_run_in_thread.py:207
Methodfn
()
tests/tools/tool/test_tool.py:471
Methodfn
(param: str)
tests/resources/test_resource_template_meta.py:40
Methodfn
Add two numbers. Args: a: The first number. b: The second number.
tests/utilities/test_docstring_parsing.py:15
Methodfn
Multiply. Parameters ---------- x The first integer. y The second int
tests/utilities/test_docstring_parsing.py:113
Methodfn
Format a greeting. :param name: The person's name. :param age: The person's age.
tests/utilities/test_docstring_parsing.py:154
Methodfn
(a: int)
tests/utilities/test_docstring_parsing.py:189
Methodfn
The summary line. Args: a: Some param. Returns: Something.
tests/utilities/test_docstring_parsing.py:305
Methodfn
()
tests/server/providers/test_local_provider_prompts.py:53
Methodfn_for_tool
(y: int)
tests/server/sampling/test_prepare_tools.py:90
Methodfn_with_kw_only
(a: str, *, ctx: Context, b: str = "default")
tests/server/test_dependencies_advanced.py:112
Methodfn_with_middle_ctx
(a: str, ctx: Context, b: str)
tests/server/test_dependencies_advanced.py:237
Methodfn_with_optional_ctx
(name: str, ctx: Context | None = None)
tests/server/test_dependencies_advanced.py:41
Methodfn_with_var_params
( first: str, ctx: Context, *args: str, **kwargs: str )
tests/server/test_dependencies_advanced.py:89
Functionfollow
Follow a user by their handle.
examples/atproto_mcp/src/atproto_mcp/server.py:89
Functionfollow_user_by_handle
Follow a user by their handle.
examples/atproto_mcp/src/atproto_mcp/_atproto/_social.py:8
Methodfoo
()
tests/server/tasks/test_task_mount.py:560
Methodforbidden_prompt
Prompt that forbids task execution.
tests/server/tasks/test_task_config.py:228
Methodforbidden_resource
Resource that forbids task execution.
tests/server/tasks/test_task_config.py:176
Methodforbidden_tool
Tool that forbids task execution.
tests/server/tasks/test_task_config.py:100
Methodforbidden_tool
Tool that forbids task execution.
tests/server/tasks/test_task_mount.py:615
Methodform
()
tests/server/providers/test_prefab_roundtrip.py:91
Methodform_urlencoded_route
(self)
tests/utilities/openapi/test_director.py:1221
Functionformat_array_parameter
Format an array parameter according to OpenAPI specifications. Args: values: List of values to format parameter_name: Name o
fastmcp_slim/fastmcp/utilities/openapi/formatters.py:12
Functionformat_deep_object_parameter
Format a dictionary parameter for deep-object style serialization. According to OpenAPI 3.0 spec, deepObject style with explode=true seriali
fastmcp_slim/fastmcp/utilities/openapi/formatters.py:66
Functionformat_description_with_responses
Formats the base description string with response, parameter, and request body information. Args: base_description (str): The initia
fastmcp_slim/fastmcp/utilities/openapi/formatters.py:192
Methodformat_message
Format a message with optional repetition.
tests/server/test_input_validation.py:279
Functionfree_port
Get a free port for the test to use.
tests/conftest.py:93
Functionfree_port_factory
Factory to get free ports that tracks used ports per test session.
tests/conftest.py:103
Functionfresh_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:840
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
( cls, fn: Callable[..., Any], exclude_args: list[str] | None = None, validate
fastmcp_slim/fastmcp/tools/function_parsing.py:131
Methodfrom_function
( cls, fn: Callable[..., Any], uri: str | AnyUrl, *, name: str | None
fastmcp_slim/fastmcp/resources/base.py:243
Methodfrom_function
Create a template from a function.
fastmcp_slim/fastmcp/resources/template.py:524
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:236
Methodfrom_mcp_template
Creates a FastMCP ResourceTemplate from a raw MCP ResourceTemplate object.
fastmcp_slim/fastmcp/resources/template.py:330
Functionfull_package
(feature: str)
fastmcp_slim/fastmcp/_install_hints.py:21
Methodfunc
Add two numbers.
tests/tools/tool/test_tool.py:337
Methodfunc
()
tests/tools/tool/test_output_schema.py:17
Methodfunc
()
tests/tools/tool/test_output_schema.py:569
Methodfunc
(x: int, *args: int)
tests/resources/test_resource_template.py:361
Methodfunc
(ctx: str, session: int, query: str, limit: int = 5)
tests/utilities/test_types.py:585
Methodfunc
(name: Annotated[str, "The user's name"])
tests/utilities/test_types.py:609
Methodfunc
(**kwargs: int)
tests/server/providers/test_local_provider_resources.py:129
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:122
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
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_absolute_resource
()
tests/deprecated/test_import_server.py:681
Methodget_absolute_resource
()
tests/server/test_server.py:208
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
Methodget_add_calls
(self)
tests/server/middleware/test_caching.py:139
Functionget_admin_stats
Get admin statistics - internal use
examples/tags_example.py:32
Functionget_admin_status
()
tests/server/test_dependencies.py:582
Methodget_all
(ctx: Context)
tests/server/test_server_lifespan.py:221
Functionget_and_store
(name, coro)
tests/server/providers/proxy/test_proxy_server.py:899
Methodget_and_store
(name, coro)
tests/server/providers/proxy/test_proxy_client.py:333
Functionget_api_client
(base_url: str = Depends(get_base_url))
tests/server/test_dependencies.py:110
Functionget_api_key
()
tests/server/test_dependencies.py:645
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:66
Methodget_app_tool
Delegate to nested server's get_app_tool, wrapping for middleware.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:554
Methodget_app_tool
Query all child providers for an app tool.
fastmcp_slim/fastmcp/server/providers/aggregate.py:208
Methodget_audio
No return annotation.
tests/tools/tool/test_content.py:466
Functionget_auth_token
()
tests/server/test_dependencies.py:670
Functionget_base_path
()
tests/server/test_dependencies.py:335
Functionget_base_url
()
tests/server/test_dependencies.py:107
Methodget_binary
()
tests/server/providers/test_local_provider_resources.py:491
Methodget_both
(ctx: Context)
tests/server/test_server_lifespan.py:175
Methodget_bytes
(value: str)
tests/resources/test_resource_template.py:223
Methodget_capabilities
Override to set capabilities.tasks as a first-class field per SEP-1686. This ensures task capabilities appear in capabilities.tasks instead o
fastmcp_slim/fastmcp/server/low_level.py:197
Methodget_client
(self, client_id: str)
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:67
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:242
Methodget_client_id
(context)
tests/server/middleware/test_rate_limiting.py:426
Methodget_component
( component_id: str, )
tests/tools/tool/test_results.py:168
Functionget_config
()
tests/server/test_dependencies.py:47
Functionget_config
()
tests/deprecated/test_import_server.py:366
Methodget_config
()
tests/client/telemetry/test_client_list_tracing.py:93
Methodget_config
()
tests/client/telemetry/test_client_tracing.py:120
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:887
Methodget_config
()
tests/server/test_dependencies.py:1022
← previousnext →2,801–2,900 of 10,312, ranked by callers