Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
10,312 in github.com/PrefectHQ/fastmcp
⨍
Functions
10,312
◇
Types & classes
1,519
↳
Endpoints
103
Function
first_shared_tool
()
tests/deprecated/test_import_server.py:485
Method
first_shared_tool
()
tests/server/mount/test_mount.py:332
Function
first_template
(user_id: str)
tests/deprecated/test_import_server.py:544
Method
first_template
(user_id: str)
tests/server/mount/test_mount.py:440
Function
first_tool
()
tests/deprecated/test_import_server.py:77
Method
first_tool
First tool description.
fastmcp_slim/fastmcp/contrib/mcp_mixin/example.py:21
Method
first_tool
()
tests/server/mount/test_mount.py:223
Function
fixture_streamable_http_client
()
tests/integration_tests/test_github_mcp_remote.py:26
Method
fn
()
tests/tools/test_tool_run_in_thread.py:207
Method
fn
()
tests/tools/tool/test_tool.py:471
Method
fn
(param: str)
tests/resources/test_resource_template_meta.py:40
Method
fn
Add two numbers. Args: a: The first number. b: The second number.
tests/utilities/test_docstring_parsing.py:15
Method
fn
Multiply. Parameters ---------- x The first integer. y The second int
tests/utilities/test_docstring_parsing.py:113
Method
fn
Format a greeting. :param name: The person's name. :param age: The person's age.
tests/utilities/test_docstring_parsing.py:154
Method
fn
(a: int)
tests/utilities/test_docstring_parsing.py:189
Method
fn
The summary line. Args: a: Some param. Returns: Something.
tests/utilities/test_docstring_parsing.py:305
Method
fn
()
tests/server/providers/test_local_provider_prompts.py:53
Method
fn_for_tool
(y: int)
tests/server/sampling/test_prepare_tools.py:90
Method
fn_with_kw_only
(a: str, *, ctx: Context, b: str = "default")
tests/server/test_dependencies_advanced.py:112
Method
fn_with_middle_ctx
(a: str, ctx: Context, b: str)
tests/server/test_dependencies_advanced.py:237
Method
fn_with_optional_ctx
(name: str, ctx: Context | None = None)
tests/server/test_dependencies_advanced.py:41
Method
fn_with_var_params
( first: str, ctx: Context, *args: str, **kwargs: str )
tests/server/test_dependencies_advanced.py:89
Function
follow
Follow a user by their handle.
examples/atproto_mcp/src/atproto_mcp/server.py:89
Function
follow_user_by_handle
Follow a user by their handle.
examples/atproto_mcp/src/atproto_mcp/_atproto/_social.py:8
Method
foo
()
tests/server/tasks/test_task_mount.py:560
Method
forbidden_prompt
Prompt that forbids task execution.
tests/server/tasks/test_task_config.py:228
Method
forbidden_resource
Resource that forbids task execution.
tests/server/tasks/test_task_config.py:176
Method
forbidden_tool
Tool that forbids task execution.
tests/server/tasks/test_task_config.py:100
Method
forbidden_tool
Tool that forbids task execution.
tests/server/tasks/test_task_mount.py:615
Method
form
()
tests/server/providers/test_prefab_roundtrip.py:91
Method
form_urlencoded_route
(self)
tests/utilities/openapi/test_director.py:1221
Function
format_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
Function
format_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
Function
format_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
Method
format_message
Format a message with optional repetition.
tests/server/test_input_validation.py:279
Function
free_port
Get a free port for the test to use.
tests/conftest.py:93
Function
free_port_factory
Factory to get free ports that tracks used ports per test session.
tests/conftest.py:103
Function
fresh_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:840
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
( cls, fn: Callable[..., Any], exclude_args: list[str] | None = None, validate
fastmcp_slim/fastmcp/tools/function_parsing.py:131
Method
from_function
( cls, fn: Callable[..., Any], uri: str | AnyUrl, *, name: str | None
fastmcp_slim/fastmcp/resources/base.py:243
Method
from_function
Create a template from a function.
fastmcp_slim/fastmcp/resources/template.py:524
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:236
Method
from_mcp_template
Creates a FastMCP ResourceTemplate from a raw MCP ResourceTemplate object.
fastmcp_slim/fastmcp/resources/template.py:330
Function
full_package
(feature: str)
fastmcp_slim/fastmcp/_install_hints.py:21
Method
func
Add two numbers.
tests/tools/tool/test_tool.py:337
Method
func
()
tests/tools/tool/test_output_schema.py:17
Method
func
()
tests/tools/tool/test_output_schema.py:569
Method
func
(x: int, *args: int)
tests/resources/test_resource_template.py:361
Method
func
(ctx: str, session: int, query: str, limit: int = 5)
tests/utilities/test_types.py:585
Method
func
(name: Annotated[str, "The user's name"])
tests/utilities/test_types.py:609
Method
func
(**kwargs: int)
tests/server/providers/test_local_provider_resources.py:129
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:122
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
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_absolute_resource
()
tests/deprecated/test_import_server.py:681
Method
get_absolute_resource
()
tests/server/test_server.py:208
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
Method
get_add_calls
(self)
tests/server/middleware/test_caching.py:139
Function
get_admin_stats
Get admin statistics - internal use
examples/tags_example.py:32
Function
get_admin_status
()
tests/server/test_dependencies.py:582
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:899
Method
get_and_store
(name, coro)
tests/server/providers/proxy/test_proxy_client.py:333
Function
get_api_client
(base_url: str = Depends(get_base_url))
tests/server/test_dependencies.py:110
Function
get_api_key
()
tests/server/test_dependencies.py:645
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:66
Method
get_app_tool
Delegate to nested server's get_app_tool, wrapping for middleware.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:554
Method
get_app_tool
Query all child providers for an app tool.
fastmcp_slim/fastmcp/server/providers/aggregate.py:208
Method
get_audio
No return annotation.
tests/tools/tool/test_content.py:466
Function
get_auth_token
()
tests/server/test_dependencies.py:670
Function
get_base_path
()
tests/server/test_dependencies.py:335
Function
get_base_url
()
tests/server/test_dependencies.py:107
Method
get_binary
()
tests/server/providers/test_local_provider_resources.py:491
Method
get_both
(ctx: Context)
tests/server/test_server_lifespan.py:175
Method
get_bytes
(value: str)
tests/resources/test_resource_template.py:223
Method
get_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
Method
get_client
(self, client_id: str)
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:67
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:242
Method
get_client_id
(context)
tests/server/middleware/test_rate_limiting.py:426
Method
get_component
( component_id: str, )
tests/tools/tool/test_results.py:168
Function
get_config
()
tests/server/test_dependencies.py:47
Function
get_config
()
tests/deprecated/test_import_server.py:366
Method
get_config
()
tests/client/telemetry/test_client_list_tracing.py:93
Method
get_config
()
tests/client/telemetry/test_client_tracing.py:120
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:887
Method
get_config
()
tests/server/test_dependencies.py:1022
← previous
next →
2,801–2,900 of 10,312, ranked by callers