MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Functionfiltered_by_provider_transform
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:95
Functionfiltered_by_server_transform
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:89
Functionfiltered_under_its_namespaced_name
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:101
Methodfinance_prompt
()
tests/server/test_session_visibility.py:375
Methodfinance_resource
()
tests/server/test_session_visibility.py:345
Methodfinance_tool
()
tests/server/test_session_visibility.py:69
Methodfinance_tool
()
tests/server/test_session_visibility.py:565
Methodfind_refs
Recursively find all $ref references.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:623
Methodfind_tool
(self)
tests/tools/tool_transform/test_args.py:560
Functionfire_tv_lifespan
( server: FastMCP, )
examples/smart_home/src/smart_home/fire_tv/client.py:84
Functionfirst
()
tests/client/client/test_client.py:979
Methodfirst
(server: FastMCP)
tests/server/test_server_lifespan.py:243
Methodfirst
(app: Any)
tests/server/test_server_lifespan.py:447
Methodfirst
()
tests/server/providers/test_local_provider.py:664
Functionfirst_echo
()
tests/client/group/test_client_group.py:248
Methodfirst_lifespan
(server: FastMCP)
tests/server/test_server_lifespan.py:156
Methodfirst_lifespan
(app: Any)
tests/server/test_server_lifespan.py:357
Methodfirst_prompt
First prompt description.
fastmcp_slim/fastmcp/contrib/mcp_mixin/example.py:31
Methodfirst_resource
First resource description.
fastmcp_slim/fastmcp/contrib/mcp_mixin/example.py:26
Methodfirst_resource
()
tests/server/mount/test_mount.py:469
Methodfirst_seen
()
tests/client/test_result_hydration.py:198
Methodfirst_shared_prompt
()
tests/server/mount/test_mount.py:577
Methodfirst_shared_tool
()
tests/server/mount/test_mount.py:415
Methodfirst_template
(user_id: str)
tests/server/mount/test_mount.py:523
Methodfirst_tool
First tool description.
fastmcp_slim/fastmcp/contrib/mcp_mixin/example.py:21
Methodfirst_tool
()
tests/server/mount/test_mount.py:231
Methodfixed_length_positional_array
(self)
tests/utilities/json_schema_type/test_containers.py:395
Functionfixture_legacy_client
A handshake-pinned client, for capabilities that exist only in that era.
tests/integration_tests/test_github_mcp_remote.py:45
Functionfixture_streamable_http_client
A default client, so this suite exercises `mode="auto"` against a real peer. GitHub answers `server/discover` but has not adopted result tagging,
tests/integration_tests/test_github_mcp_remote.py:26
Methodflakey
()
tests/server/middleware/test_caching.py:786
Functionflaky
()
tests/experimental/transforms/test_code_mode.py:1103
Functionfloat_count_output_schema
()
tests/downstream/smoke_pydantic_ai.py:183
Functionfloat_count_output_schema
()
tests/downstream/smoke_openai_agents.py:143
Functionfloat_count_output_schema
()
tests/downstream/smoke_langchain_mcp.py:162
Functionfloat_count_output_schema
()
tests/downstream/smoke_agent_framework.py:123
Functionfloat_count_output_schema
()
tests/downstream/smoke_langchain_mcp_adapters.py:163
Functionfloat_count_output_schema
()
tests/downstream/smoke_agno.py:140
Functionfn
(query: str = "")
tests/experimental/transforms/test_jev_search.py:80
Methodfn
()
tests/tools/test_tool_run_in_thread.py:213
Methodfn
()
tests/tools/tool/test_tool.py:606
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:17
Methodfn
Multiply. Parameters ---------- x The first integer. y The second int
tests/utilities/test_docstring_parsing.py:115
Methodfn
Format a greeting. :param name: The person's name. :param age: The person's age.
tests/utilities/test_docstring_parsing.py:156
Methodfn
(a: int)
tests/utilities/test_docstring_parsing.py:191
Methodfn
The summary line. Args: a: Some param. Returns: Something.
tests/utilities/test_docstring_parsing.py:416
Methodfn
()
tests/server/providers/test_local_provider_prompts.py:56
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/tasks/server/test_task_mount.py:367
Methodforbidden_tool
()
tests/tasks/server/test_task_config.py:159
Methodforbidden_tool
()
tests/tasks/server/test_task_mount.py:410
Functionforecast
Forecast for a city.
tests/cli/test_generate_cli_remote.py:30
Functionforecast
Structured weather forecast for a city.
tests/downstream/server.py:69
Methodforecast
Forecast for a city — temperature in °C → rounded.
tests/cli/test_generate_cli.py:668
Functionforever
(ctx: Context)
tests/tasks/client/test_client_tool_tasks.py:126
Functionform
()
tests/server/providers/test_prefab_roundtrip.py:187
Methodform
()
tests/server/providers/test_prefab_roundtrip.py:134
Methodform
()
tests/server/providers/test_prefab_roundtrip.py:162
Methodform
()
tests/server/providers/test_prefab_roundtrip.py:227
Methodform_urlencoded_route
(self)
tests/utilities/openapi/test_director.py:1290
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:462
Functionfree_port
Get a free port for the test to use.
tests/conftest.py:182
Functionfree_port_factory
Factory to get free ports that tracks used ports per test session.
tests/conftest.py:192
Functionfresh_client_factory
()
fastmcp_slim/fastmcp/server/providers/proxy.py:1525
Functionfresh_shims
()
tests/test_compat.py:39
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:276
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:274
Methodfrom_function
( cls, fn: Callable[..., Any], validate: bool = True, wrap_non_object_output_s
fastmcp_slim/fastmcp/tools/function_parsing.py:229
Methodfrom_function
( cls, fn: Callable[..., Any], uri: str | AnyUrl, *, name: str | None
fastmcp_slim/fastmcp/resources/base.py:348
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:717
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:273
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:76
Methodfrom_mcp_template
Creates a FastMCP ResourceTemplate from a raw MCP ResourceTemplate object.
fastmcp_slim/fastmcp/resources/template.py:606
Methodfrontmatter
A copy of the parsed frontmatter; changing it does not change the skill.
fastmcp_slim/fastmcp/skills/skill.py:384
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:446
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:387
Methodfunc
(ctx: str, session: int, query: str, limit: int = 5)
tests/utilities/test_types.py:734
Methodfunc
(name: Annotated[str, "The user's name"])
tests/utilities/test_types.py:758
Methodfunc
(**kwargs: int)
tests/server/providers/test_local_provider_resources.py:132
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:129
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
← previousnext →4,801–4,900 of 15,974, ranked by callers