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
test_remote_server
(self, tmp_path: Path)
tests/cli/test_discovery.py:167
Method
test_remote_server_resolves_to_http_transport
(self, tmp_path: Path)
tests/cli/test_discovery.py:793
Method
test_remote_type_becomes_transport
(self)
tests/cli/test_discovery.py:248
Method
test_remote_with_transport_unchanged
(self)
tests/cli/test_discovery.py:254
Method
test_remove_nonexistent_tool_raises
Test that removing a nonexistent tool raises KeyError.
tests/server/providers/test_local_provider.py:77
Method
test_remove_prompt
Test removing a prompt from LocalProvider.
tests/server/providers/test_local_provider.py:140
Method
test_remove_prompt_via_local_provider
(self)
tests/server/test_server.py:151
Method
test_remove_resource
Test removing a resource from LocalProvider.
tests/server/providers/test_local_provider.py:94
Method
test_remove_resource_via_local_provider
(self)
tests/server/test_server.py:140
Method
test_remove_template
Test removing a resource template from LocalProvider.
tests/server/providers/test_local_provider.py:116
Method
test_remove_tool
Test removing a tool from LocalProvider.
tests/server/providers/test_local_provider.py:63
Method
test_remove_tool_via_local_provider
(self)
tests/server/test_server.py:128
Method
test_removed_fastmcp_method_is_gone
(self, method_name)
tests/test_upgrade_from_v3.py:283
Method
test_removed_kwarg_error_includes_migration_hint
( self, kwarg, value, expected_message )
tests/deprecated/test_settings.py:46
Method
test_removed_kwarg_raises_type_error
(self, kwarg, value, expected_message)
tests/deprecated/test_settings.py:34
Method
test_removed_module_raises_module_not_found
(self, module_path)
tests/test_upgrade_from_v3.py:242
Method
test_removed_name_is_gone
(self, module_path, name)
tests/test_upgrade_from_v3.py:265
Function
test_removed_server_initiated_methods_are_absent
FastMCP 4 targets the modern protocol, so the capabilities SEP-2577 removed are not in the server-authoring API — not deprecated, not era-gated,
tests/server/test_protocol_eras.py:301
Method
test_removes_params_from_both_annotations_and_signature
Test that excluded parameters are removed from __annotations__ AND __signature__.
tests/utilities/test_types.py:674
Method
test_removing_tool_after_mounting
Test that tools removed from mounted servers are no longer accessible.
tests/server/mount/test_advanced.py:43
Function
test_renamed_arg_description_is_maintained
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:134
Function
test_renamed_argument_submission_uses_the_transformed_name
A renamed argument is accepted under its new name and rejected under the old.
tests/tasks/server/test_task_transformed_tools.py:81
Method
test_renamed_field_does_not_collide_with_existing_property
(self)
tests/utilities/json_schema_type/test_generated_classes.py:324
Method
test_renamed_tool_is_callable_via_mount
Test that renamed tools can be called by new name via mount.
tests/server/providers/test_transforming_provider.py:105
Function
test_renaming_transforms_still_apply_alongside_search
()
tests/tasks/server/test_task_catalog_transforms.py:85
Method
test_render_nonexistent_prompt_sets_error
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:208
Method
test_render_prompt_calls_prompt
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:926
Method
test_render_prompt_creates_span
( self, trace_exporter: InMemorySpanExporter )
tests/server/telemetry/test_server_tracing.py:175
Method
test_render_prompt_default_implementation
Test that default render_prompt uses get_prompt and renders it.
tests/server/test_providers.py:431
Method
test_render_prompt_same_as_original
( self, fastmcp_server: FastMCP, proxy_server: FastMCPProxy )
tests/server/providers/proxy/test_proxy_server.py:912
Function
test_render_prompt_serializes_non_string_arguments_for_middleware
()
tests/server/test_server.py:407
Method
test_render_prompt_via_client
Test rendering a prompt through a server using the provider.
tests/server/providers/test_fastmcp_provider.py:267
Method
test_render_prompt_with_run_middleware_false
Middleware is NOT applied when run_middleware=False.
tests/server/middleware/test_middleware.py:606
Method
test_render_prompt_with_run_middleware_true
Middleware is applied when run_middleware=True (default).
tests/server/middleware/test_middleware.py:587
Method
test_render_prompt_with_version
render_prompt should use specified version.
tests/server/versioning/test_calls.py:230
Method
test_renderer_html_is_built_on_read_not_list
Listing must not build the renderer page once per tool (#6038).
tests/server/providers/test_prefab_synthesis.py:258
Function
test_renderer_mode_and_version_change_identity
(monkeypatch)
tests/server/providers/test_prefab_sharing.py:128
Method
test_renderer_resource_has_correct_mime_type
(self)
tests/test_apps_prefab.py:137
Method
test_renderer_resource_has_csp
(self)
tests/test_apps_prefab.py:149
Method
test_renderer_resource_readable
(self)
tests/test_apps_prefab.py:433
Method
test_repeat_schema_maps_to_one_type
The client converts a tool's output schema on every call, so repeats must hit its adapter cache.
tests/utilities/json_schema_type/test_constraints.py:279
Function
test_repeated_collections_share_the_merge_budget
(monkeypatch)
tests/utilities/openapi/test_composition_graphs.py:155
Function
test_repeated_large_examples_keep_defs
()
tests/utilities/test_json_schema_expansion.py:194
Function
test_repeated_long_description_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:185
Function
test_repeated_members_keep_last_occurrence_order
()
tests/utilities/openapi/test_composition_graphs.py:35
Function
test_repeated_names_use_final_contents
()
tests/apps/test_file_upload_retention.py:87
Method
test_repeated_type_lists_are_rejected
(self, monkeypatch: pytest.MonkeyPatch)
tests/utilities/json_schema_type/test_generated_classes.py:536
Method
test_replace_ref_with_defs
Test replacing $ref with $defs for JSON Schema compatibility.
tests/utilities/openapi/test_schemas.py:302
Method
test_replace_ref_with_defs_does_not_mutate_input
_replace_ref_with_defs must not mutate its input dict's lists.
tests/utilities/openapi/test_circular_references.py:27
Method
test_replace_ref_with_defs_in_additional_properties
Test replacing $ref deeply in 'additionalProperties'.
tests/utilities/openapi/test_schemas.py:359
Function
test_replace_ref_with_defs_keeps_the_pointer_into_the_component
()
tests/server/providers/openapi/test_component_property_refs.py:53
Method
test_replace_ref_with_defs_nested
Test replacing $ref in deeply nested structures.
tests/utilities/openapi/test_schemas.py:322
Function
test_replace_ref_with_defs_preserves_boolean_prefix_items
()
tests/utilities/openapi/test_prefixitems_ref_rewrite.py:30
Method
test_replace_ref_with_defs_produces_independent_results
Calling _replace_ref_with_defs twice on the same input must produce independent dict trees with no shared mutable objects.
tests/utilities/openapi/test_circular_references.py:44
Function
test_replace_ref_with_defs_rewrites_nested_prefix_items
()
tests/utilities/openapi/test_prefixitems_ref_rewrite.py:6
Function
test_replace_ref_with_defs_rewrites_propertyNames_ref
Regression test for issue #3303. When using dict[StrEnum, Model], Pydantic generates: { "type": "object", "
tests/utilities/openapi/test_propertynames_ref_rewrite.py:4
Method
test_replace_ref_with_defs_with_bool_additional_properties
Test replacing a bool 'additionalProperties'.
tests/utilities/openapi/test_schemas.py:390
Method
test_replace_ref_with_defs_with_inner_schema_additional_properties
Test replacing a inner schema 'additionalProperties'.
tests/utilities/openapi/test_schemas.py:421
Method
test_replace_type
Test replacing a type with another type.
tests/utilities/test_types.py:666
Function
test_replaced_task_session_is_not_removed_by_old_weakref
A stale weakref for a replaced session does not evict the new session.
tests/tasks/server/test_context_background_task.py:126
Function
test_replacement_starts_new_expiry
(clock: list[float])
tests/apps/test_file_upload_retention.py:130
Method
test_replacement_symbols_are_bound
(self)
tests/test_upgrade_from_v3.py:146
Function
test_replacements_return_capacity
()
tests/apps/test_file_upload_retention.py:74
Method
test_replaces_existing_value_in_place_preserving_other_bytes
(self)
tests/server/auth/test_redirect_validation.py:80
Method
test_replaces_iss_already_present_in_registered_redirect_uri
A registered redirect_uri may legitimately carry its own `iss` query parameter (e.g. a multi-tenant client encoding its tenant in the
tests/server/auth/test_redirect_validation.py:137
Method
test_replacing_duplicate_returns_the_new_component
(self, on_duplicate)
tests/server/providers/test_local_provider.py:607
Method
test_replay_events_after_returns_stream_id
( self, event_store, sample_message )
tests/server/test_event_store.py:85
Method
test_replay_events_after_skips_priming_events
Priming events (message=None) should not be replayed.
tests/server/test_event_store.py:106
Method
test_replay_events_after_unknown_event_id
(self, event_store)
tests/server/test_event_store.py:126
Method
test_replayed_jti_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:518
Method
test_report_progress_in_background_task
report_progress() should complete without error in a background task.
tests/tasks/server/test_context_background_task.py:338
Method
test_report_progress_request
Test that the proxy client correctly forwards the `report_progress` request.
tests/server/providers/proxy/test_proxy_client.py:562
Method
test_report_progress_with_item_count_total_in_background_task
The documented `total=len(items)` pattern completes in a background task even when the batch is empty and the total is 0.
tests/tasks/server/test_context_background_task.py:361
Method
test_repr
(self)
tests/test_fastmcp_app.py:796
Method
test_repr
Test string representation of component.
tests/utilities/test_components.py:153
Method
test_repr
Transform has useful repr.
tests/server/transforms/test_resources_as_tools.py:269
Method
test_repr
Transform has useful repr.
tests/server/transforms/test_prompts_as_tools.py:231
Method
test_repr
Test string representation.
tests/server/versioning/test_versioning.py:63
Method
test_repr
Test VersionFilter string representation.
tests/server/versioning/test_filtering.py:393
Method
test_repr_disable
Repr shows disable action and criteria.
tests/server/transforms/test_visibility.py:210
Method
test_repr_enable
Repr shows enable action.
tests/server/transforms/test_visibility.py:217
Method
test_repr_match_all
Repr shows match_all.
tests/server/transforms/test_visibility.py:222
Method
test_request_and_response_entries_keep_correlation
(self)
tests/cli/test_apps_dev_server.py:76
Method
test_request_approval_returns_structured_content
(self)
tests/apps/test_approval.py:8
Method
test_request_approval_with_details
(self)
tests/apps/test_approval.py:17
Method
test_request_body_and_headers_reach_the_app
(self)
tests/utilities/test_asgi_transport.py:59
Method
test_request_body_defaults
Test request body default values.
tests/utilities/openapi/test_models.py:125
Method
test_request_body_multiple_content_types
Test request body with multiple content types.
tests/utilities/openapi/test_models.py:133
Method
test_request_body_multiple_content_types
Test request body with multiple content types.
tests/utilities/openapi/test_schemas.py:624
Method
test_request_body_properties_in_tool
Test that request body properties are included in tool parameters.
tests/server/providers/openapi/test_openapi_features.py:308
Method
test_request_body_with_content_schema
Test request body with content schema.
tests/utilities/openapi/test_models.py:105
Method
test_request_building_and_execution
Test that requests are built and executed correctly.
tests/server/providers/openapi/test_comprehensive.py:478
Function
test_request_context_attributes_the_guides_route_to_exist
The guides send people to ``ctx.request_context`` for several attributes. ``FastMCPRequestContext`` resolves its attributes dynamically, so this
tests/docs/test_upgrade_guide_api_claims.py:100
Method
test_request_context_meta_access
Test that the lifted _meta dict is accessible from request context. In the v2 SDK port the wrapper's ``meta`` is the raw ``_meta`` block
tests/server/test_context.py:354
Method
test_request_context_meta_none
Test that context handles None meta gracefully.
tests/server/test_context.py:392
Function
test_request_defs_keep_the_component_a_pointer_reaches_into
()
tests/utilities/openapi/test_schemas.py:777
Method
test_request_for_required_scope_only
Requesting only the required scope keeps it and narrows away the rest.
tests/server/auth/oauth_proxy/test_identity_assertion.py:442
Method
test_request_includes_correct_headers
Test that the request includes correct headers and auth.
tests/server/auth/providers/test_introspection.py:317
Method
test_request_includes_token_and_hint
Test that the request includes token and token_type_hint.
tests/server/auth/providers/test_introspection.py:338
Method
test_request_narrowing_preserves_required_scope
A configured `required_scope` the assertion grants must always ride on the issued token; the request `scope` may only narrow the optional
tests/server/auth/oauth_proxy/test_identity_assertion.py:416
← previous
next →
13,801–13,900 of 16,725, ranked by callers