Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
Method
sub_resource
()
tests/server/mount/test_mount.py:130
Method
sub_template
(user_id: str)
tests/server/mount/test_mount.py:150
Function
sub_tool
()
tests/server/test_tool_transformation.py:112
Method
sub_tool
()
tests/server/mount/test_proxy.py:119
Method
sub_tool
()
tests/server/mount/test_mount.py:74
Method
submit
(payload: PrivatePayload, note: str = "")
tests/server/test_input_validation.py:492
Function
submit_answer
Grade an answer and return the updated quiz state. Returns a dict with: - is_correct: whether the selected answer matched the correct index
examples/apps/quiz/quiz_server.py:79
Method
submit_form
Validate and process form submission.
fastmcp_slim/fastmcp/apps/form.py:151
Function
subtract
(a: int, b: int)
tests/experimental/transforms/test_code_mode_serialization.py:381
Function
subtract
Subtract numbers.
tests/experimental/transforms/test_code_mode_discovery.py:460
Method
subtract
(a: int, b: int)
tests/tasks/server/test_task_mount.py:285
Method
subtract
Subtract two numbers.
tests/server/middleware/test_tool_injection.py:57
Method
sum_numbers
Sum a list of numbers.
tests/server/test_input_validation.py:424
Method
sum_numbers
Calculate the sum of a list of numbers.
tests/prompts/test_prompt.py:220
Function
summarize
(topic: str)
tests/server/test_protocol_eras.py:67
Function
summarize
(ctx: Context)
tests/server/middleware/test_caching_guards.py:68
Function
summarize
(text: str)
examples/versioning/versioned_components.py:55
Method
summarize
(ctx: Context)
tests/server/test_mrtr_guards_components.py:74
Function
summarize_tool
(ctx: Context)
tests/server/middleware/test_caching_guards.py:62
Function
summary
(n: int)
tests/tasks/server/test_task_middleware.py:170
Function
survey
Run a short survey collecting structured info.
examples/elicitation.py:31
Method
suspend_only
(x: int)
tests/server/test_mrtr_guards.py:223
Function
switch_host
(request: httpx2.Request)
tests/cli/deploy/test_command.py:330
Function
symmetric_key_helper
Generate a symmetric key helper for testing.
tests/server/auth/test_jwt_provider.py:131
Function
symmetric_provider
Create JWTVerifier configured for symmetric key verification.
tests/server/auth/test_jwt_provider.py:155
Method
sync_check
(ctx: AuthContext)
tests/server/auth/test_authorization.py:384
Function
sync_child_tool
(message: str)
tests/tasks/server/test_task_mount.py:56
Function
sync_only_tool
Tool that only supports synchronous execution.
tests/tasks/server/test_task_proxy.py:48
Function
sync_only_tool
(message: str)
tests/tasks/server/test_task_tools.py:57
Method
sync_only_tool
(x: int)
tests/server/providers/test_local_provider.py:724
Function
sync_prompt
( topic: str, connection: Connection = Depends(get_sync_connection), )
tests/server/test_dependencies.py:566
Method
sync_task
(prefix: str, x: int)
tests/utilities/test_async_utils.py:253
Function
sync_tool
(server=CurrentFastMCP())
tests/tasks/server/test_task_dependencies.py:153
Function
sync_tool
A synchronous tool.
tests/tasks/server/test_sync_function_task_disabled.py:24
Function
sync_tool
A synchronous tool.
tests/server/test_tool_annotations.py:250
Method
sync_tool
()
tests/tasks/server/test_task_config.py:270
Function
sync_transform
(x: int, **kwargs)
tests/tools/tool_transform/test_tool_transform.py:794
Method
sync_wrapper
()
tests/resources/test_function_resources.py:171
Function
synthetic_slow
(n: int)
tests/tasks/server/test_task_catalog_transforms.py:102
Function
system_dashboard
Live system dashboard with auto-refresh.
examples/apps/system_monitor/system_monitor_server.py:110
Function
system_status
Show current system health.
examples/apps/patterns_server.py:366
Function
t
(n: int)
tests/tasks/server/test_extension.py:83
Method
t
()
tests/server/auth/test_authorization.py:200
Function
tagged
(category: str, tags: list[str] = Field(default_factory=list))
tests/downstream/server.py:181
Method
tagged
(id: str)
tests/resources/test_resource_template.py:1413
Method
tagged
(id: str)
tests/resources/test_resource_template.py:1463
Method
tagged_prompt
Prompt with matching tag - should be visible.
tests/utilities/test_inspect.py:318
Method
tagged_resource
Resource with matching tag - should be visible.
tests/utilities/test_inspect.py:296
Function
tagged_resources_server
Fixture that creates a FastMCP server with tagged resources and templates.
tests/conftest.py:378
Method
tagged_template
Template with matching tag - should be visible.
tests/utilities/test_inspect.py:307
Method
tagged_tool
Tool with matching tag - should be visible.
tests/utilities/test_inspect.py:285
Method
tags
List available tool tags. Use to browse available tools by tag before searching.
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:515
Function
take_quiz
Launch a quiz UI. The LLM generates the questions and passes them in: - topic: displayed as the heading (e.g. "World Capitals") - questio
examples/apps/quiz/quiz_server.py:111
Function
take_screenshot
Take a screenshot of the user's screen and return it as an image. Use this tool anytime the user wants you to look at something they're doing
examples/screenshot.py:22
Function
take_screenshot
Take a screenshot of the user's screen and return it as an image. Use this tool anytime the user wants you to look at something on their scr
examples/fastmcp_config_demo/server.py:20
Method
target
(request: Request)
tests/client/transports/test_no_redirect.py:105
Method
target
(request: Request)
tests/client/transports/test_no_redirect.py:142
Method
target_endpoint
(request: Request)
tests/client/transports/test_no_redirect.py:26
Method
task_id
Get the background task ID if running in a background task. Returns None if not running in a background task context.
fastmcp_slim/fastmcp/server/context.py:242
Method
task_id
The server-generated task id.
fastmcp_tasks/fastmcp_tasks/client.py:416
Function
task_server
()
tests/tasks/client/test_transparent_tasks.py:26
Function
task_server
()
tests/tasks/server/test_task_security.py:29
Function
task_tool
()
tests/tasks/server/test_server_tasks_parameter.py:75
Function
task_with_progress
(progress: Progress = Progress())
tests/tasks/server/test_progress_dependency.py:78
Method
task_with_timeout
()
tests/tools/test_tool_timeout.py:139
Function
team_directory
Browse the team directory — sortable, searchable, with department breakdown.
examples/apps/datatable_server.py:60
Function
temp_file
Create a temporary file for testing. File is automatically cleaned up after the test if it still exists.
tests/resources/test_file_resources.py:14
Method
temp_storage
Create file-based storage for testing.
tests/server/auth/test_oauth_proxy_storage.py:33
Method
temp_tool
()
tests/server/mount/test_advanced.py:49
Method
template_app
(view: str)
tests/test_apps.py:357
Method
template_fn
(id: str)
tests/test_json_schema_generation.py:159
Method
template_fn
(id: str)
tests/server/providers/test_local_provider.py:110
Method
template_fn
(id: str)
tests/server/providers/test_local_provider.py:232
Method
template_func
(param: str)
tests/resources/test_resource_template_meta.py:17
Function
template_literals_and_list_queries
()
tests/downstream/smoke_pydantic_ai.py:179
Function
template_literals_and_list_queries
()
tests/downstream/smoke_langchain_mcp_adapters.py:159
Function
template_resource
Returns JSON data with the template parameter substituted.
tests/conformance/server.py:777
Method
template_resource
(param: str)
tests/server/providers/test_local_provider_resources.py:174
Method
template_resource
(param: str)
tests/server/providers/test_local_provider_resources.py:649
Method
template_resource_1
(param: str)
tests/server/providers/test_local_provider_resources.py:843
Method
template_resource_2
(param: str)
tests/server/providers/test_local_provider_resources.py:847
Method
template_resource_with_params
(x: str, y: str)
tests/server/providers/test_local_provider_resources.py:217
Method
template_with_context
(x: int, ctx: Context)
tests/resources/test_resource_template.py:628
Method
template_with_ctx
(item_id: str, ctx: Context)
tests/server/test_dependencies_advanced.py:267
Method
template_without_context
(x: int)
tests/resources/test_resource_template.py:637
Method
templated
(id: str)
tests/resources/test_resource_template.py:1399
Method
templated
(id: str)
tests/resources/test_resource_template.py:1442
Method
templated
(part: str, ctx: Context)
tests/server/telemetry/test_provider_tracing.py:159
Method
tenant_check
(ctx: AuthContext)
tests/server/auth/test_authorization.py:1423
Method
test
()
tests/utilities/test_inspect_icons.py:455
Method
test_127_0_0_1_no_port_matches_any_port
Pattern http://127.0.0.1/callback should match any port on 127.0.0.1.
tests/server/auth/test_redirect_validation.py:514
Method
test_201_response
201 Created response content type is extracted.
tests/server/providers/openapi/test_openapi_features.py:543
Method
test_a_constrained_sequence_still_infers
The guard must not swallow annotations that do say something.
tests/tools/tool/test_output_schema.py:690
Method
test_a_duplicated_app_is_not_bound
One app composed twice leaves no fact in the listing saying which copy a UI belongs to, so no name is bound and the reference keeps its
tests/server/providers/test_prefab_roundtrip.py:360
Method
test_a_duplicated_app_reports_the_ambiguity
The unbound reference must fail with a message that names the real cause, at any depth — a nested duplicate previously surfaced as `Un
tests/server/providers/test_prefab_roundtrip.py:384
Method
test_a_transform_cannot_unwire_an_app_tool
A meta override that keeps the identity but drops app visibility leaves a tool that can be named yet no longer answers to its identity
tests/server/providers/test_prefab_roundtrip.py:565
Method
test_a_user_supplied_client_is_not_reconfigured
`create_proxy(client)` must not change how the caller's client behaves.
tests/server/providers/proxy/test_proxy_server.py:1361
Function
test_absent_context_attributes_are_really_absent
Names the guides describe as gone must not exist on FastMCP's Context. If one of these gains an implementation, the guides are now telling people
tests/docs/test_upgrade_guide_api_claims.py:68
Function
test_absent_or_hostile_interval_falls_back_to_setting
An absent, zero, or negative server value cannot spin the client: use the setting.
tests/tasks/client/test_poll_interval.py:41
Method
test_accepted_values_are_advertised
The legal tags are named even when no variant adds a field.
tests/server/providers/openapi/test_openapi_discriminator.py:250
← previous
next →
6,001–6,100 of 13,374, ranked by callers