Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,224 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,224
◇
Types & classes
2,249
↳
Endpoints
189
Method
test_verify_token_whitelist_pattern
Test using verifier with a whitelist of allowed tokens.
tests/server/auth/test_debug_verifier.py:137
Method
test_version_command_copy_functionality
Test that the version command copies to clipboard when --copy is used.
tests/cli/test_cli.py:82
Method
test_version_command_execution
Test that version command executes properly.
tests/cli/test_cli.py:59
Method
test_version_command_parsing
Test that the version command parses arguments correctly.
tests/cli/test_cli.py:65
Method
test_version_command_with_copy_flag
Test that the version command parses --copy flag correctly.
tests/cli/test_cli.py:73
Method
test_version_filter_applied_before_catalog
A VersionFilter added before the CatalogTransform restricts what the catalog sees.
tests/server/transforms/test_catalog.py:183
Method
test_version_filter_filters_out_high_mounted_version
VersionFilter hides mounted components outside the range.
tests/server/versioning/test_filtering.py:537
Method
test_version_gte_filters_low_versions
VersionFilter(version_gte='2.0') hides v1, shows v2 and v3.
tests/server/versioning/test_filtering.py:50
Method
test_version_lt_filters_high_versions
VersionFilter(version_lt='3.0') hides v3+, shows v1 and v2.
tests/server/versioning/test_filtering.py:16
Method
test_version_metadata_injected
Highest-version tool has meta.fastmcp.versions listing all available.
tests/server/transforms/test_catalog.py:148
Method
test_version_range
VersionFilter(version_gte='2.0', version_lt='3.0') shows only v2.x.
tests/server/versioning/test_filtering.py:88
Function
test_version_scoped_removal_keeps_surviving_version
Evicting on remove_tool must not go further than the removed version.
tests/server/test_mcp_param_schema_cache.py:213
Method
test_version_sort_key_is_total_ordering_tuple
(self)
tests/server/versioning/test_versioning.py:136
Method
test_version_spec_serialization
Test that VersionSpec is serialized/deserialized correctly.
tests/server/test_session_visibility.py:204
Method
test_version_with_at_symbol_rejected
Version strings containing '@' should be rejected.
tests/server/versioning/test_calls.py:80
Method
test_versioned_and_unversioned_across_providers_warns
One server refuses the mix; across a mount it is warned about once.
tests/server/mount/test_mount.py:680
Method
test_versioned_prompt_via_provider
FileSystemProvider should preserve prompt version.
tests/fs/test_provider.py:746
Method
test_versioned_resource_via_provider
FileSystemProvider should preserve resource version.
tests/fs/test_provider.py:723
Function
test_versioned_template_completion_checks_the_listed_version
Completion authorizes the version clients list, not the first one registered.
tests/server/test_completions.py:468
Method
test_versioned_tool_via_provider
FileSystemProvider should preserve tool version in list_tools output.
tests/fs/test_provider.py:700
Method
test_versioning_mix_needs_two_providers
Versions of one name on one provider, or a namespace, stay quiet.
tests/server/mount/test_mount.py:708
Method
test_versions_of_one_tool_are_a_single_target
Versions are listed individually and share an identity, but they also share a name that resolves to the highest version on its own. On
tests/server/providers/test_prefab_roundtrip.py:457
Method
test_very_deeply_nested_schema_stops_with_value_error
(self)
tests/utilities/json_schema_type/test_generated_classes.py:525
Function
test_visibility_is_checked_on_the_version_a_name_reaches
A bare name selects the highest version, so that is the one whose declaration governs. Checking before deduplication would advertise a model-v
tests/server/transforms/test_model_visibility_boundary.py:138
Method
test_visibility_marker_stripped_from_content_meta
Applying a visibility rule must not add internal meta to content.
tests/resources/test_resource_template.py:1669
Method
test_visibility_marker_stripped_from_result_meta
(self)
tests/prompts/test_prompt.py:882
Method
test_visibility_marker_stripped_from_static_resource_meta
( self, resource: TextResource | BinaryResource )
tests/resources/test_resource_template.py:1701
Method
test_visibility_rules_are_scoped_to_the_user
( self, verifier: StaticTokenVerifier )
tests/server/test_session_scope.py:132
Method
test_vscode_skills_provider_path
Test VSCodeSkillsProvider uses correct path.
tests/server/providers/test_skills_vendor_providers.py:37
Method
test_wall_clock_step_back_does_not_drain_tokens
A backwards step of the wall clock (an NTP correction, say) is not negative elapsed time.
tests/server/middleware/test_rate_limiting.py:88
Method
test_wall_clock_step_back_does_not_extend_window
A backwards step of the wall clock must not keep old requests inside the window.
tests/server/middleware/test_rate_limiting.py:186
Method
test_warning_cleared_when_fixed
Warnings should clear when a file is fixed, and reappear if broken again.
tests/fs/test_provider.py:307
Method
test_warning_deduplication_same_file
Warnings for the same broken file should not repeat.
tests/fs/test_provider.py:268
Method
test_warning_for_missing_key_prefix
Test that subclassing without KEY_PREFIX emits a warning.
tests/utilities/test_components.py:231
Method
test_warning_lists_only_malformed_keys
The message names the offending keys and omits the valid ones.
tests/server/transforms/test_visibility.py:308
Method
test_warning_on_file_change
Warnings should reappear when a broken file changes.
tests/fs/test_provider.py:285
Method
test_warning_points_at_the_caller_for_every_entry_point
(self, tmp_path)
tests/client/client/test_transport.py:164
Function
test_warning_says_when_every_folder_already_passes
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:56
Method
test_warns_exactly_once_per_class_name
(self)
tests/test_compat.py:117
Method
test_warns_on_key_without_delimiter
A key with no '@' can never match a real component key.
tests/server/transforms/test_visibility.py:289
Method
test_warns_when_both_factory_and_verify_provided_sse
(self)
tests/client/transports/test_transports.py:401
Method
test_warns_when_both_factory_and_verify_provided_streamable
(self)
tests/client/transports/test_transports.py:392
Method
test_warns_when_parent_masked_child_not
Mounting an unmasked child into a masked parent logs a warning.
tests/server/mount/test_mount.py:725
Method
test_watch_filter_accepts_watched_extensions
Test that watch filter accepts common source file extensions.
tests/cli/test_run.py:834
Method
test_watch_filter_rejects_unwatched_extensions
Test that watch filter rejects files not in the watched set.
tests/cli/test_run.py:862
Method
test_watched_extensions_includes_frontend_types
Verify WATCHED_EXTENSIONS contains the expected frontend file types.
tests/cli/test_run.py:886
Method
test_web_accepts_https
(self, uri: str)
tests/server/auth/test_oauth_proxy_redirect_validation.py:610
Method
test_web_application_type_rejects_ipv4_shorthand
(self)
tests/server/auth/test_redirect_validation.py:679
Method
test_web_client_accepts_https
(self, oauth_proxy)
tests/server/auth/oauth_proxy/test_client_registration.py:361
Method
test_web_client_rejects_custom_scheme
(self, oauth_proxy)
tests/server/auth/oauth_proxy/test_client_registration.py:384
Method
test_web_client_rejects_localhost_namespace_at_authorization
The shared classifier means the namespace fix reaches this path too.
tests/server/auth/test_oauth_proxy_redirect_validation.py:586
Method
test_web_client_rejects_loopback
(self, oauth_proxy)
tests/server/auth/oauth_proxy/test_client_registration.py:374
Method
test_web_client_rejects_loopback_at_authorization
A registered web client cannot later authorize a loopback redirect.
tests/server/auth/test_oauth_proxy_redirect_validation.py:545
Method
test_web_client_rejects_loopback_even_when_pattern_allows
The application_type check applies on top of the global allowlist.
tests/server/auth/test_oauth_proxy_redirect_validation.py:562
Method
test_web_client_with_https_accepted_over_http
(self, oauth_proxy)
tests/server/auth/oauth_proxy/test_client_registration.py:468
Method
test_web_client_with_loopback_rejected_over_http
(self, oauth_proxy)
tests/server/auth/oauth_proxy/test_client_registration.py:454
Method
test_web_client_without_redirect_uris_is_rejected
A web client with no redirect_uris could never authorize. Omitted redirect_uris fall back to the `http://localhost` placeholder, whic
tests/server/auth/oauth_proxy/test_client_registration.py:394
Method
test_web_rejects_entire_loopback_range
RFC 8252 §7.3 loopback is all of 127.0.0.0/8, not just 127.0.0.1. Checking only 127.0.0.1 would let a web client bypass the non-loopback
tests/server/auth/test_oauth_proxy_redirect_validation.py:684
Method
test_web_rejects_localhost_namespace
Web clients must not reach the local machine by name.
tests/server/auth/test_oauth_proxy_redirect_validation.py:758
Method
test_web_rejects_loopback_and_custom_schemes
Web clients must use https on a non-loopback host.
tests/server/auth/test_oauth_proxy_redirect_validation.py:625
Method
test_web_still_accepts_ordinary_public_https
Names that merely contain 'localhost' remain ordinary public hosts.
tests/server/auth/test_oauth_proxy_redirect_validation.py:769
Method
test_website_url_in_fastmcp_v1
Remote/v1 inspect surfaces the server's website_url. The v1 path reads website_url from the SDK v2 snake_case serverInfo model; a sta
tests/utilities/test_inspect_icons.py:280
Method
test_websocket_connections_are_closed
(self)
tests/cli/test_apps_dev_server.py:217
Method
test_well_known_routes_delegate_to_server
get_well_known_routes delegates to the server's implementation.
tests/server/auth/test_multi_auth.py:425
Method
test_well_known_routes_empty_without_server
(self)
tests/server/auth/test_multi_auth.py:440
Method
test_well_known_with_direct_deployment
Test that .well-known routes work when app is deployed directly (not mounted). This is the baseline - it should work as expected. Per
tests/server/auth/test_oauth_mounting.py:36
Method
test_well_known_with_mounted_app
Test that .well-known routes work when explicitly mounted at root. This test uses the CANONICAL pattern for mounting: - base_url incl
tests/server/auth/test_oauth_mounting.py:66
Function
test_whoami_does_not_clear_a_newer_host_credential
( use_horizon_api: Callable[[HorizonAuthAPI], None], capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_command.py:322
Function
test_whoami_uses_the_stored_key_after_a_restart
( use_horizon_api: Callable[[HorizonAuthAPI], None], capsys: pytest.CaptureFixture[str], )
tests/cli/deploy/test_command.py:252
Function
test_whole_body_and_http_parameter_reach_their_locations
( openapi_version: str, location: str, schema: dict[str, Any], body_name: str, payload: An
tests/server/providers/openapi/test_whole_body_parameter_collisions.py:42
Function
test_whole_body_argument_omits_read_only_properties
()
tests/server/providers/openapi/test_read_only_requests.py:123
Function
test_whole_body_is_sent_unchanged
( schema: dict[str, Any], )
tests/server/providers/openapi/test_undeclared_arguments.py:189
Method
test_wide_pass_is_chunked_and_shortlisted
(self)
tests/experimental/transforms/test_jev_search.py:205
Method
test_wide_pass_repeats_until_the_close_read_fits
(self)
tests/experimental/transforms/test_jev_search.py:247
Method
test_wide_pass_uses_first_paragraph_only
(self)
tests/experimental/transforms/test_jev_search.py:274
Method
test_wider_scopes_are_prompted
An approval for `read` must not silently approve `read write`.
tests/server/auth/test_oauth_consent_remembered_key.py:126
Method
test_wildcard_bind_accepts_literal_addresses
(self, host: str, status: int)
tests/cli/test_apps_dev_server.py:415
Method
test_wildcard_bind_accepts_loopback_names_and_ipv6_literals
(self, host: str)
tests/cli/test_apps_dev_server.py:360
Method
test_wildcard_bind_rejects_non_literal_and_malformed_hosts
(self, host: str)
tests/cli/test_apps_dev_server.py:349
Method
test_wildcard_param_can_create_resource
Test that wildcard parameters are valid.
tests/resources/test_resource_template.py:326
Method
test_wildcard_param_matches
(self)
tests/resources/test_resource_template.py:343
Method
test_wildcard_param_with_regular_param
Test that a wildcard parameter can be used with a regular parameter.
tests/resources/test_resource_template.py:371
Method
test_wildcard_segments_screened_element_wise
List values (from wildcard {path*}) are screened per element.
tests/resources/test_resource_security.py:118
Method
test_wildcard_with_non_identifier_name
(self)
tests/resources/test_resource_template.py:1999
Method
test_wildcard_with_query_params
Test combining wildcard path params with query params.
tests/resources/test_resource_template_query_params.py:234
Function
test_windows_acl_replaces_the_existing_access_list
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
tests/cli/deploy/test_credentials.py:233
Function
test_windows_credential_state_allows_only_the_current_user
( tmp_path: Path, real_windows_acl: None )
tests/cli/deploy/test_credentials.py:277
Method
test_windows_path_parsing_with_colon
Test parsing Windows paths with drive letters and colons.
tests/cli/test_cli.py:519
Method
test_wire_request_state_is_sealed
The requestState the client receives is the sealed token, never the plaintext the tool minted.
tests/server/test_mrtr_guards.py:739
Function
test_wire_skill_does_not_satisfy_an_authoring_subclass
()
tests/skills/test_deprecated_paths.py:275
Function
test_wire_skill_is_not_an_authored_catalog_value
()
tests/skills/test_deprecated_paths.py:265
Method
test_with_argv_empty_list
Test that with_argv([]) clears arguments but keeps script name.
tests/cli/test_with_argv.py:36
Method
test_with_argv_nested
Test nested with_argv contexts.
tests/cli/test_with_argv.py:60
Method
test_with_argv_none_does_nothing
Test that with_argv(None) doesn't change sys.argv.
tests/cli/test_with_argv.py:27
Method
test_with_argv_replaces_args
Test that with_argv properly replaces sys.argv.
tests/cli/test_with_argv.py:14
Method
test_with_argv_restores_on_exception
Test that sys.argv is restored even if an exception occurs.
tests/cli/test_with_argv.py:47
Method
test_with_argv_with_existing_args
Test with_argv when sys.argv already has arguments.
tests/cli/test_with_argv.py:79
Method
test_with_client_id
(self, capsys: pytest.CaptureFixture[str])
tests/cli/test_cimd_cli.py:32
Method
test_with_client_uri
(self, capsys: pytest.CaptureFixture[str])
tests/cli/test_cimd_cli.py:75
Method
test_with_collision_spec
Test RequestDirector with collision spec.
tests/utilities/openapi/test_director.py:1085
← previous
next →
15,701–15,800 of 16,224, ranked by callers