Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
Method
tool_fn
(arg)
tests/server/test_input_validation.py:278
Method
tool_function
(ctx: str, search_query: str, limit: int = 10)
tests/utilities/test_types.py:714
Method
tool_one
()
tests/server/providers/test_fastmcp_provider.py:79
Function
tool_server
Fixture that creates a FastMCP server with comprehensive tool set for provider tests.
tests/conftest.py:286
Function
tool_task_server
()
tests/tasks/client/test_client_tool_tasks.py:26
Method
tool_two
()
tests/server/providers/test_fastmcp_provider.py:83
Method
tool_with_annotated_ctx
( name: str, ctx: Annotated[Context, "custom annotation"] )
tests/server/test_dependencies_advanced.py:137
Function
tool_with_cached_dep
( dep1: int = Depends(expensive_dependency), dep2: int = Depends(expensive_dependency), )
tests/server/test_dependencies.py:220
Method
tool_with_claim
( name: str, user_id: str = TokenClaim("oid"), )
tests/server/test_dependencies.py:990
Method
tool_with_context
(name: str, ctx: Context)
tests/server/test_dependencies_advanced.py:75
Method
tool_with_context
(x: int, ctx: Context)
tests/server/providers/local_provider_tools/test_context.py:49
Function
tool_with_custom_dependency
( value: int, multiplier: int = Depends(lambda: 10) )
tests/tasks/server/test_task_dependencies.py:52
Method
tool_with_docket
(docket: Docket = CurrentDocket())
tests/tasks/server/test_task_mount.py:221
Function
tool_with_docket_dependency
(docket=CurrentDocket())
tests/tasks/server/test_task_dependencies.py:42
Method
tool_with_explicit_context
( name: str, ctx: Context = CurrentContext() )
tests/server/test_dependencies_advanced.py:150
Function
tool_with_failing_dep
( value: str, dep: str = cast(Any, Depends(failing_dependency)) )
tests/tasks/server/test_task_dependencies.py:204
Method
tool_with_meta
A tool that returns metadata in its result.
tests/server/providers/proxy/test_proxy_server.py:480
Method
tool_with_multiple_ctx
( name: str, ctx1: Context, ctx2: Context )
tests/server/test_dependencies_advanced.py:165
Function
tool_with_multiple_dependencies
( name: str, docket=CurrentDocket(), server=CurrentFastMCP(), )
tests/tasks/server/test_task_dependencies.py:59
Method
tool_with_optional_context
( name: str, ctx: Context | None = None )
tests/server/test_dependencies_advanced.py:60
Function
tool_with_refs
(a: VisibleType, b: HiddenType | None = None)
tests/tools/tool_transform/test_tool_transform.py:287
Function
tool_with_required_param
(required_param: int, optional_param: int = 10)
tests/tools/tool_transform/test_tool_transform.py:245
Method
tool_with_resource
(ctx: Context)
tests/server/providers/local_provider_tools/test_context.py:102
Function
tool_with_server_dependency
(server=CurrentFastMCP())
tests/tasks/server/test_task_dependencies.py:47
Method
tool_with_token
( name: str, token: AccessToken = CurrentAccessToken(), )
tests/server/test_dependencies.py:972
Function
tool_with_validation
(val: str = Depends(validate_input))
tests/server/test_dependencies.py:741
Function
tool_without_annotation
A tool without return type annotation.
tests/server/test_tool_transformation.py:71
Function
tool_without_description
()
tests/server/providers/proxy/test_proxy_server.py:64
Function
tools
(mcp: FastMCP, test_dir: Path)
tests/server/test_file_server.py:67
Method
tools
(self)
tests/server/transforms/test_visibility.py:232
Function
total
Sum an optional list of numbers.
tests/cli/test_client_commands.py:798
Method
total
Total/target progress value.
fastmcp_slim/fastmcp/server/dependencies.py:1220
Method
total
(self)
fastmcp_slim/fastmcp/server/dependencies.py:1271
Method
total
Total/target progress value.
fastmcp_slim/fastmcp/server/dependencies.py:1345
Function
trace_exporter
Get the span exporter and clear it between tests.
tests/conftest.py:225
Function
trackOutboundClick
(event)
docs/fastmcp-analytics.js:172
Function
trackPageView
()
docs/fastmcp-analytics.js:92
Function
tracked_connection
()
tests/tasks/server/test_task_dependencies.py:172
Function
tracking_calculator
()
tests/server/middleware/test_caching.py:213
Function
transform
()
tests/tools/tool_transform/test_tool_transform.py:811
Method
transform_fn
(**kwargs)
tests/server/test_mrtr_guards.py:306
Method
transform_function
(renamed_input: InputType)
tests/tools/tool_transform/test_schemas.py:537
Method
transform_tools
Replace the catalog with pinned + synthetic search/call tools.
fastmcp_slim/fastmcp/server/transforms/search/base.py:336
Method
transform_tools
(self, tools: Sequence[Tool])
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:669
Method
transform_tools
(self, tools: Sequence[Tool])
tests/tasks/server/test_task_catalog_transforms.py:106
Method
transform_tools
(self, tools: Sequence[Tool])
tests/server/transforms/test_catalog.py:43
Method
transform_tools
(self, tools: Sequence[Tool])
tests/server/transforms/test_catalog.py:71
Method
transforms
All transforms applied to components from this provider.
fastmcp_slim/fastmcp/server/providers/base.py:122
Function
transparent
Call the tool transparently: the client drives the task to completion. The server runs `slow_computation` as a background task, but `call_tool`
examples/tasks/client.py:43
Method
transport
Get the current transport type. Returns the transport type used to run this server: "stdio", "sse", or "streamable-http". Returns Non
fastmcp_slim/fastmcp/server/context.py:670
Method
transport_summary
Human-readable one-liner describing the transport.
fastmcp_slim/fastmcp/cli/discovery.py:51
Method
trees
()
tests/client/test_result_hydration.py:259
Function
triage_steps
()
tests/test_label_triage.py:14
Method
trigger_all_notifications
Send all notification types.
tests/client/test_notifications.py:106
Method
trigger_notification
Send a notification using the async API.
tests/client/test_notifications.py:85
Method
two
()
tests/server/test_pagination.py:149
Function
two_questions
(ctx: Context)
tests/tasks/server/test_guard_reentrant.py:270
Function
typed_prompt
Server expects typed args - will convert from JSON strings.
tests/client/client/test_client.py:239
Method
typed_prompt
(numbers: list[int])
tests/prompts/test_prompt.py:322
Method
u
(q: str = "", tags: list[str] | None = None)
tests/resources/test_resource_template_level3.py:149
Function
ui_resource
Fetch an MCP resource server-side and return it as HTML. Used by the launch page to load the renderer via iframe.src rather than ifra
fastmcp_slim/fastmcp/cli/apps_dev.py:1447
Function
unavailable
(request: httpx2.Request)
tests/cli/deploy/test_credentials.py:220
Function
unavailable
()
tests/server/providers/proxy/test_skills.py:223
Function
unavailable_lifespan
( server: FastMCP, )
tests/test_mcp_config.py:289
Method
undeclared_status
()
tests/server/providers/proxy/test_proxy_server.py:1285
Method
unexpected
(value: Any)
tests/utilities/json_schema_type/test_containers.py:225
Function
unexpected_html
(*args, **kwargs)
tests/server/providers/test_prefab_sharing.py:116
Method
unguarded
(path: str)
tests/test_upgrade_from_v3.py:359
Function
uninstall
Release one hold; restore the SDK serializer when the last one exits.
fastmcp_tasks/fastmcp_tasks/wire_production.py:102
Function
union_sum
Accept an int or a list of ints.
tests/cli/test_client_commands.py:803
Method
union_with_constraints
(self)
tests/utilities/json_schema_type/test_unions.py:25
Function
union_with_context
Tool returning ToolResult with context.
tests/tools/test_tool_future_annotations.py:39
Method
union_with_formats
(self)
tests/utilities/json_schema_type/test_unions.py:31
Method
unique_items_array
(self)
tests/utilities/json_schema_type/test_containers.py:42
Method
unit_score
(key: str)
scripts/rank_issues.py:555
Method
unknown_format
(self)
tests/utilities/json_schema_type/test_formats.py:59
Method
unlimited_tool
()
tests/server/middleware/test_response_limiting.py:77
Function
unlock
(ctx: Context)
tests/server/mount/test_session_visibility.py:23
Function
unlock
(ctx: Context)
tests/experimental/transforms/test_code_mode.py:523
Method
unpinned_positional_array
(self)
tests/utilities/json_schema_type/test_containers.py:409
Function
unprotected_server
()
tests/server/http/test_sse_host_origin_protection.py:97
Method
unreachable_provider
(self)
tests/server/providers/proxy/test_proxy_server.py:1543
Method
unreachable_proxy
(self, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_apps_dev_server.py:732
Method
untagged_prompt
Prompt without tags - should be filtered out.
tests/utilities/test_inspect.py:325
Method
untagged_resource
Resource without tags - should be filtered out.
tests/utilities/test_inspect.py:303
Method
untagged_template
Template without tags - should be filtered out.
tests/utilities/test_inspect.py:314
Function
untagged_tool
()
tests/client/transports/test_config_tag_filters.py:34
Method
untagged_tool
Tool without tags - should be filtered out.
tests/utilities/test_inspect.py:292
Method
unversioned_prompt
(name: str)
tests/server/versioning/test_filtering.py:363
Method
unversioned_resource
()
tests/server/versioning/test_filtering.py:266
Method
unversioned_template
(name: str)
tests/server/versioning/test_filtering.py:306
Method
unversioned_tool
()
tests/server/versioning/test_filtering.py:138
Method
unversioned_tool
()
tests/server/versioning/test_filtering.py:498
Method
unversioned_tool
()
tests/server/versioning/test_filtering.py:628
Method
unwrap
(self)
fastmcp_slim/fastmcp/server/middleware/caching.py:129
Method
unwrap
(self)
fastmcp_slim/fastmcp/server/middleware/caching.py:208
Function
update_quantity
Adjust an item's quantity by delta (+/-) and return the full list.
examples/apps/inventory/inventory_server.py:183
Method
update_tool_list
(self, context: Context)
tests/server/middleware/test_caching.py:157
Function
update_visibility
(ctx: Context)
tests/server/test_session_visibility_empty_filters.py:36
Function
upstream_client
()
tests/server/providers/proxy/test_cache_refresh_races.py:67
← previous
next →
15,701–15,800 of 15,974, ranked by callers