MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodfast_sync_tool
()
tests/tools/test_tool_timeout.py:61
Functionfast_tool
(x: int)
tests/client/transports/test_memory_transport.py:52
Methodfastapi_lifespan
(app: Any)
tests/server/test_server_lifespan.py:408
Methodfastmcp
Get the FastMCP instance.
fastmcp_slim/fastmcp/server/context.py:262
Methodfastmcp
Get the FastMCP instance.
fastmcp_slim/fastmcp/server/low_level.py:507
Methodfastmcp_lifespan
(app: Any)
tests/server/test_server_lifespan.py:416
Functionfastmcp_server
Fixture that creates a FastMCP server with tools, resources, and prompts.
tests/conftest.py:236
Functionfastmcp_server
()
tests/client/test_sampling.py:37
Functionfastmcp_server
()
tests/client/test_elicitation_enums.py:21
Functionfastmcp_server
A server that issues a handshake-era `roots/list` request. `Context` has no `list_roots()` — server-initiated requests are not part of FastMC
tests/client/test_roots.py:10
Functionfastmcp_server
()
tests/client/test_logs.py:33
Functionfastmcp_server
()
tests/client/test_progress.py:16
Functionfastmcp_server
()
tests/client/test_elicitation.py:23
Functionfastmcp_server
()
tests/server/providers/proxy/test_proxy_server.py:48
Functionfastmcp_server
()
tests/server/providers/proxy/test_stateful_proxy_client.py:28
Functionfastmcp_server
()
tests/server/providers/proxy/test_proxy_client.py:91
Functionfeature_flags
Toggle feature flags with live preview.
examples/apps/patterns_server.py:402
Functionfetch_config
()
tests/server/test_dependencies.py:198
Functionfetch_data
(query: str, config: dict[str, str] = Depends(get_config))
tests/server/test_dependencies.py:52
Methodfetch_data
Fetch data from URL.
tests/tools/tool/test_tool.py:77
Methodfetch_data
( resource_id: str = Field(description="Resource ID"), limit: int = Field(default=10,
tests/resources/test_resource_template_query_params.py:370
Functionfetch_notifications
Fetch recent notifications.
examples/atproto_mcp/src/atproto_mcp/_atproto/_read.py:91
Functionfetch_timeline
Fetch the authenticated user's timeline.
examples/atproto_mcp/src/atproto_mcp/_atproto/_read.py:14
Methodfetcher
Create a CIMDFetcher for testing.
tests/server/auth/test_cimd.py:141
Methodfetcher
Create a CIMDFetcher for testing.
tests/server/auth/test_cimd.py:206
Functionfibonacci
Generate the first n Fibonacci numbers.
examples/search/server_regex.py:40
Functionfibonacci
Generate the first n Fibonacci numbers.
examples/search/server_bm25.py:36
Functionfibonacci
Generate the first n Fibonacci numbers.
examples/code_mode/server.py:34
Methodfile_manager
Upload and manage files. Drop files here to send them to the server.
fastmcp_slim/fastmcp/apps/file_upload.py:308
Functionfile_text_tool
()
tests/conftest.py:371
Functionfile_tool
(path: str)
tests/conftest.py:323
Methodfile_tool
(data: bytes)
tests/tools/tool/test_tool.py:255
Methodfile_tool
(path: str)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:153
Methodfilter
(self, record: logging.LogRecord)
fastmcp_slim/fastmcp/server/server.py:181
Functionfilter_by_category
Filter inventory by category. Pass 'All' to show everything.
examples/apps/inventory/inventory_server.py:212
Functionfilter_data
Filter sales data by region and/or product.
examples/apps/explorer/explorer_server.py:355
Functionfiltered_by_gateway_transform_over_a_proxy
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:116
Functionfiltered_by_mounted_server_transform
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:108
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:531
Methodfind_refs
Recursively find all $ref references.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:584
Functionfire_tv_lifespan
( server: FastMCP, )
examples/smart_home/src/smart_home/fire_tv/client.py:82
Methodfirst
(server: FastMCP)
tests/server/test_server_lifespan.py:243
Methodfirst
(app: Any)
tests/server/test_server_lifespan.py:441
Functionfirst_echo
()
tests/client/group/test_client_group.py:234
Methodfirst_lifespan
(server: FastMCP)
tests/server/test_server_lifespan.py:156
Methodfirst_lifespan
(app: Any)
tests/server/test_server_lifespan.py:351
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:385
Methodfirst_shared_prompt
()
tests/server/mount/test_mount.py:493
Methodfirst_shared_tool
()
tests/server/mount/test_mount.py:331
Methodfirst_template
(user_id: str)
tests/server/mount/test_mount.py:439
Methodfirst_tool
First tool description.
fastmcp_slim/fastmcp/contrib/mcp_mixin/example.py:21
Methodfirst_tool
()
tests/server/mount/test_mount.py:224
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:739
Functionflaky
()
tests/experimental/transforms/test_code_mode.py:1044
Functionfloat_count_output_schema
()
tests/downstream/smoke_pydantic_ai.py:183
Functionfloat_count_output_schema
()
tests/downstream/smoke_langchain_mcp.py:162
Functionfloat_count_output_schema
()
tests/downstream/smoke_langchain_mcp_adapters.py:163
Functionfn
(alpha: int, beta: str, gamma: float, delta: bool, epsilon: int)
tests/tools/tool_transform/test_tool_transform.py:53
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:517
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: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
Structured weather forecast for a city.
tests/downstream/server.py:69
Functionforever
(ctx: Context)
tests/tasks/client/test_client_tool_tasks.py:126
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:194
Methodform_urlencoded_route
(self)
tests/utilities/openapi/test_director.py:1281
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:360
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:1365
← previousnext →4,001–4,100 of 13,374, ranked by callers