Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,098 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,098
◇
Types & classes
2,237
↳
Endpoints
189
Method
tool_b
()
tests/test_apps_prefab.py:171
Method
tool_b
()
tests/test_apps.py:740
Method
tool_b
(config: dict[str, str] = Shared(get_config))
tests/server/test_dependencies.py:1033
Method
tool_b
()
tests/server/providers/test_prefab_synthesis.py:190
Method
tool_b
()
tests/server/providers/proxy/test_stateful_proxy_client.py:184
Method
tool_b
()
tests/server/mount/test_mount.py:671
Method
tool_call
()
tests/client/client/test_client.py:1167
Method
tool_cust
(self)
tests/contrib/test_mcp_mixin.py:237
Function
tool_error
()
tests/downstream/smoke_pydantic_ai.py:122
Function
tool_error
()
tests/downstream/smoke_openai_agents.py:119
Function
tool_error
()
tests/downstream/smoke_langchain_mcp.py:167
Function
tool_error
()
tests/downstream/smoke_agent_framework.py:100
Function
tool_error
()
tests/downstream/smoke_langchain_mcp_adapters.py:121
Function
tool_error
()
tests/downstream/smoke_agno.py:120
Function
tool_error_from_one_member
()
tests/downstream/smoke_langchain_mcp.py:281
Function
tool_fn
(x: Existing, y: dict | None = None)
tests/tools/tool_transform/test_tool_transform.py:344
Method
tool_fn
(x: int)
tests/test_json_schema_generation.py:153
Method
tool_fn
(n: Annotated[int, Field(le=10)])
tests/tools/tool/test_argument_validation.py:29
Method
tool_fn
(data: str)
tests/tools/tool/test_argument_validation.py:65
Method
tool_fn
(n: int)
tests/tools/tool/test_argument_validation.py:100
Method
tool_fn
(n: Annotated[int, Field(le=10)])
tests/tools/tool/test_argument_validation.py:122
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
← previous
next →
15,801–15,900 of 16,098, ranked by callers