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
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:1649
Method
tagged
(id: str)
tests/resources/test_resource_template.py:1718
Method
tagged_prompt
Prompt with matching tag - should be visible.
tests/utilities/test_inspect.py:320
Method
tagged_resource
Resource with matching tag - should be visible.
tests/utilities/test_inspect.py:298
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:309
Method
tagged_tool
Tool with matching tag - should be visible.
tests/utilities/test_inspect.py:287
Method
tags
List available tool tags. Use to browse available tools by tag before searching.
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:524
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
Function
tampered
()
tests/skills/test_provider.py:221
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
()
tests/server/test_session_visibility.py:527
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:247
Method
task_id
The server-generated task id.
fastmcp_tasks/fastmcp_tasks/client.py:418
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
A task-enabled tool: `task=True` yields mode `optional`.
tests/tools/tool_transform/test_task_config.py:20
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:179
Function
tasks_run_while_tokens_refresh
()
tests/downstream/smoke_redis_credentials.py:240
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:37
Method
temp_tool
()
tests/server/mount/test_advanced.py:49
Function
template
(prefix: str, ctx: Context)
tests/server/transforms/test_input_required.py:77
Method
template_app
(view: str)
tests/test_apps.py:358
Method
template_fn
(id: str)
tests/test_json_schema_generation.py:159
Method
template_fn
(id: str)
tests/server/providers/test_local_provider.py:111
Method
template_fn
(id: str)
tests/server/providers/test_local_provider.py:233
Method
template_func
(param: str)
tests/resources/test_resource_template_meta.py:17
Function
template_headers
(name: str)
tests/server/providers/proxy/test_header_options.py:31
Function
template_literals_and_list_queries
()
tests/downstream/smoke_pydantic_ai.py:179
Function
template_literals_and_list_queries
()
tests/downstream/smoke_openai_agents.py:163
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:175
Method
template_resource
(param: str)
tests/server/providers/test_local_provider_resources.py:650
Method
template_resource_1
(param: str)
tests/server/providers/test_local_provider_resources.py:901
Method
template_resource_2
(param: str)
tests/server/providers/test_local_provider_resources.py:905
Method
template_resource_with_params
(x: str, y: str)
tests/server/providers/test_local_provider_resources.py:218
Method
template_with_context
(x: int, ctx: Context)
tests/resources/test_resource_template.py:680
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:689
Method
templated
(id: str)
tests/resources/test_resource_template.py:1635
Method
templated
(id: str)
tests/resources/test_resource_template.py:1678
Method
templated
(part: str, ctx: Context)
tests/server/telemetry/test_provider_tracing.py:160
Method
tenant_check
(ctx: AuthContext)
tests/server/auth/test_authorization.py:1440
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:574
Method
test_201_response
201 Created response content type is extracted.
tests/server/providers/openapi/test_openapi_features.py:544
Function
test_41_skill_pydantic_field_and_instance_checks
()
tests/skills/test_deprecated_paths.py:239
Function
test_41_wire_model_spellings_build_an_mcp_skill
()
tests/skills/test_deprecated_paths.py:190
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:393
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:417
Function
test_a_read_skill_can_be_served_again
()
tests/skills/test_read_skill.py:335
Function
test_a_skill_folder_owns_everything_below_it
(tmp_path: Path)
tests/skills/test_directory_provider.py:49
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:598
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:1432
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_accept_without_content_on_empty_schema
(self)
tests/client/test_elicitation.py:851
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
Method
test_accepts_a_generator
(self)
tests/utilities/test_async_utils.py:117
Method
test_accepts_asymmetric_algorithm
(self, algorithm: str)
tests/server/auth/oauth_proxy/test_identity_assertion.py:185
Method
test_accepts_client_id_argument
client_id parameter should be accepted but ignored.
tests/server/auth/providers/test_scalekit.py:64
Method
test_access_jti_mapping_ttl_matches_configured_lifetime
The access JTI mapping must outlive the upstream access token. The JWT exp and the JTI mapping TTL are set from the same value, so a
tests/server/auth/oauth_proxy/test_tokens.py:1049
Function
test_ack_results_match_schema
(model: Any)
tests/tasks/server/test_wire_models.py:176
Method
test_acquires_and_attaches_token
(self)
tests/client/auth/test_client_credentials.py:210
Function
test_actions_are_idempotent_and_reject_malformed_ids
()
examples/apps/media_picker/test_media_picker.py:111
Method
test_active_limiter_is_not_pruned_during_an_inflight_request
( self, monkeypatch )
tests/server/middleware/test_rate_limiting.py:406
Function
test_actuator_errors_surface_as_a_playback_failure
()
examples/apps/media_picker/test_media_picker.py:150
Method
test_adapters_are_cached_by_normalized_schema
(self)
tests/utilities/json_schema_type/test_generated_classes.py:645
Method
test_add_multiple_tools
Test adding multiple tools.
tests/server/providers/test_local_provider.py:43
Function
test_add_parametrized
Test add tool with multiple parameter combinations
examples/testing_demo/tests/test_server.py:61
Method
test_add_prompt
Test adding a prompt to LocalProvider.
tests/server/providers/test_local_provider.py:128
Method
test_add_resource
Test adding a resource to LocalProvider.
tests/server/providers/test_local_provider.py:84
Method
test_add_template
Test adding a resource template to LocalProvider.
tests/server/providers/test_local_provider.py:106
Method
test_add_to_docket_raises_not_implemented_when_allowed
add_component_to_docket raises NotImplementedError for an unknown type.
tests/tasks/server/test_custom_subclass_tasks.py:244
Method
test_add_to_docket_raises_when_forbidden
add_component_to_docket raises RuntimeError when mode is 'forbidden'.
tests/tasks/server/test_custom_subclass_tasks.py:236
Function
test_add_tool
Test the add tool with simple addition
examples/testing_demo/tests/test_server.py:28
Method
test_add_tool
Test adding a tool to LocalProvider.
tests/server/providers/test_local_provider.py:29
Method
test_add_tool_delegates_to_local_provider
Test that mcp.add_tool() registers with the local provider.
tests/server/test_server.py:94
Method
test_add_tool_findable_via_get_app_tool
(self)
tests/test_fastmcp_app.py:829
Method
test_add_tool_from_function
(self)
tests/test_fastmcp_app.py:807
Function
test_add_tool_method_annotations
Test that tool annotations work with add_tool method.
tests/server/test_tool_annotations.py:168
Method
test_add_tool_object
(self)
tests/test_fastmcp_app.py:839
Function
test_add_tool_rejects_identity_address_as_tool_name
(as_tool: bool)
tests/apps/test_tool_names.py:47
Method
test_add_tool_tagged_with_app_name
(self)
tests/test_fastmcp_app.py:819
Method
test_add_tool_with_custom_name
Test adding a tool with a custom name using server.add_tool().
tests/server/providers/local_provider_tools/test_decorator.py:209
Method
test_add_transform_applies_tool_transforms
Test that add_transform with ToolTransform applies tool transformations.
tests/server/providers/test_local_provider.py:706
Function
test_add_transform_drops_schemas_seeded_before_it
A decorator tool seeds its pre-transform schema; a transform added afterwards renames the annotated argument. The seeded entry must be dropped
tests/server/test_mcp_param_schema_cache.py:325
Method
test_adding_prompt_after_mounting
Test adding a prompt after mounting.
tests/server/mount/test_prompts.py:30
Method
test_adding_resource_after_mounting
Test adding a resource after mounting.
tests/server/mount/test_resources.py:104
← previous
next →
7,201–7,300 of 15,974, ranked by callers