Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,725 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,725
◇
Types & classes
2,302
↳
Endpoints
198
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:738
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
Function
test_a_closed_session_is_not_reconnected
( monkeypatch: pytest.MonkeyPatch, delays: list[int] )
tests/experimental/events/test_push_lifecycle.py:358
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
Function
test_a_dropped_stream_reconnects_from_its_cursor_without_repeats
( monkeypatch: pytest.MonkeyPatch, delays: list[int] )
tests/experimental/events/test_push_lifecycle.py:104
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_header_mismatch_is_retried_only_once
( delivery: Literal["poll", "push"], monkeypatch: pytest.MonkeyPatch )
tests/experimental/events/test_param_headers.py:226
Function
test_a_header_mismatch_lists_again_and_retries
( delivery: Literal["poll", "push"], )
tests/experimental/events/test_param_headers.py:198
Function
test_a_json_response_app_refuses_a_stream_it_cannot_carry
()
tests/experimental/events/test_extension.py:567
Function
test_a_mid_stream_gap_keeps_the_cursor_before_its_events
( monkeypatch: pytest.MonkeyPatch, )
tests/experimental/events/test_push_lifecycle.py:271
Function
test_a_push_consumer_that_falls_behind_ends_with_an_error
( monkeypatch: pytest.MonkeyPatch, )
tests/experimental/events/test_extension.py:472
Function
test_a_push_stream_with_no_interval_still_lets_other_tasks_run
()
tests/experimental/events/test_extension.py:455
Function
test_a_read_skill_can_be_served_again
()
tests/skills/test_read_skill.py:335
Function
test_a_refused_stream_falls_back_to_poll_unless_push_was_asked_for
( monkeypatch: pytest.MonkeyPatch, )
tests/experimental/events/test_extension.py:576
Function
test_a_server_without_push_is_polled_and_refuses_a_stream
()
tests/experimental/events/test_extension.py:526
Function
test_a_skill_folder_owns_everything_below_it
(tmp_path: Path)
tests/skills/test_directory_provider.py:49
Function
test_a_stream_that_drops_after_making_progress_keeps_reconnecting
( monkeypatch: pytest.MonkeyPatch, delays: list[int] )
tests/experimental/events/test_push_lifecycle.py:161
Function
test_a_stream_that_keeps_dropping_gives_up_after_a_few_attempts
( monkeypatch: pytest.MonkeyPatch, delays: list[int] )
tests/experimental/events/test_push_lifecycle.py:140
Function
test_a_stream_that_never_answers_is_retried_a_bounded_number_of_times
( monkeypatch: pytest.MonkeyPatch, delays: list[int] )
tests/experimental/events/test_push_lifecycle.py:313
Function
test_a_subscription_with_a_chosen_delivery_sends_param_headers
( delivery: Literal["poll", "push"], )
tests/experimental/events/test_param_headers.py:90
Function
test_a_sync_check_runs_off_the_event_loop
()
tests/experimental/events/test_extension.py:438
Function
test_a_terminated_push_subscription_does_not_fall_back_to_poll
()
tests/experimental/events/test_extension.py:495
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:979
Method
test_accepted_response_is_validated_into_the_model
( self, content: dict[str, Any], expected: dict[str, Any] )
tests/client/test_elicitation.py:751
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:186
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:212
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
Function
test_adapter_accepts_valid_instances
(drawn)
tests/pbt/test_json_schema.py:274
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
Method
test_adding_tool_after_mounting
Test that tools added after mounting are accessible.
tests/server/mount/test_advanced.py:18
Method
test_additional_properties_false_vs_missing
Test difference between additionalProperties: false and missing additionalProperties
tests/utilities/json_schema_type/test_advanced.py:1470
Method
test_additional_properties_type_consistency
Test that the same schema always returns the same type
tests/utilities/json_schema_type/test_advanced.py:1514
Method
test_additional_properties_with_defaults
Test additionalProperties with default values
tests/utilities/json_schema_type/test_advanced.py:1494
Method
test_adds_get_prompt_tool
Transform adds get_prompt tool.
tests/server/transforms/test_prompts_as_tools.py:25
Method
test_adds_list_prompts_tool
Transform adds list_prompts tool.
tests/server/transforms/test_prompts_as_tools.py:15
Method
test_adds_list_resources_tool
Transform adds list_resources tool.
tests/server/transforms/test_resources_as_tools.py:18
Method
test_adds_read_resource_tool
Transform adds read_resource tool.
tests/server/transforms/test_resources_as_tools.py:28
Function
test_advertised_interval_caps_the_ramp
An advertised interval is the ceiling the ramp tops out at.
tests/tasks/client/test_poll_interval.py:30
Method
test_advertised_scopes_follow_required_scopes
(self, provider: WorkOSProvider)
tests/server/auth/providers/test_workos.py:499
Function
test_advertises_events_capability
()
tests/experimental/events/test_extension.py:88
Method
test_advertises_grant_when_enabled
(self, config: IdentityAssertion)
tests/server/auth/oauth_proxy/test_identity_assertion.py:238
Method
test_advertises_none_auth_method_without_cimd
( self, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:252
Function
test_advertises_skills_and_resources_capabilities
()
tests/skills/test_extension.py:138
Function
test_age_boundaries_and_empty_success_are_explicit
(triage)
tests/test_public_triage.py:149
Function
test_aggregate_setup_cannot_introduce_a_new_root_extension
()
tests/server/test_provider_extensions.py:805
Function
test_aggregate_startup_accepts_supported_bundle_on_a_later_descendant
( target_kind: Literal["mounted_server", "aggregate"], wrapped: bool )
tests/server/test_provider_extensions.py:886
Function
test_aggregate_startup_rejects_new_extension_on_a_later_descendant
( target_kind: Literal["mounted_server", "aggregate"], wrapped: bool )
tests/server/test_provider_extensions.py:866
Method
test_algorithm_configuration
Test that algorithm can be configured for different JWT signing methods.
tests/server/auth/providers/test_supabase.py:98
Method
test_algorithm_default_es256
Test that algorithm defaults to ES256 when not specified.
tests/server/auth/providers/test_supabase.py:118
Method
test_algorithm_from_parameter
Test that algorithm can be configured via parameter.
tests/server/auth/providers/test_supabase.py:128
Method
test_algorithm_rejects_hs256
Test that HS256 is rejected for Supabase's JWKS-based verifier.
tests/server/auth/providers/test_supabase.py:109
Method
test_alias_chain_keeps_outer_siblings
(self)
tests/utilities/test_json_schema.py:1272
Method
test_alias_cycle_or_missing_target_is_unchanged
(self, defs: dict[str, Any])
tests/utilities/test_json_schema.py:1309
Method
test_alias_map_is_bidirectional
Verify the alias map covers the known Google shorthands.
tests/server/auth/providers/test_google.py:248
Method
test_alias_matching_another_parameter_name
(self)
tests/resources/test_resource_template.py:1416
← previous
next →
7,701–7,800 of 16,725, ranked by callers