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
Method
test_get_meta_includes_version
Test that get_meta includes version when component has a version.
tests/utilities/test_components.py:119
Method
test_get_meta_preserves_existing_fastmcp_meta
Test that get_meta preserves existing fastmcp meta.
tests/utilities/test_components.py:99
Method
test_get_meta_returns_copy
Test that get_meta returns a copy, not a reference to the original.
tests/utilities/test_components.py:354
Method
test_get_meta_returns_dict_with_fastmcp_when_empty
Test that get_meta returns dict with fastmcp meta even when no custom meta.
tests/utilities/test_components.py:111
Method
test_get_meta_with_fastmcp_meta
Test get_meta always includes fastmcp meta.
tests/utilities/test_components.py:90
Method
test_get_mime_type_from_path
Test MIME type detection from file extension.
tests/utilities/test_types.py:207
Method
test_get_mime_type_from_path
Test MIME type detection from file extension.
tests/utilities/test_types.py:335
Method
test_get_mime_type_from_path
Test MIME type detection from file extension.
tests/utilities/test_types.py:523
Method
test_get_miss_returns_none
(self)
tests/client/client/test_kv_response_cache.py:81
Function
test_get_model
()
tests/client/sampling/handlers/test_google_genai_handler.py:164
Method
test_get_nonexistent_tool_returns_none
Test that getting a nonexistent tool returns None.
tests/server/providers/test_fastmcp_provider.py:107
Method
test_get_npx_command_unix
Test npx command detection on Unix systems.
tests/cli/test_cli.py:509
Method
test_get_npx_command_windows_cmd
Test npx command detection on Windows with npx.cmd.
tests/cli/test_cli.py:425
Method
test_get_npx_command_windows_cmd_missing
Test npx command detection continues when npx.cmd is missing.
tests/cli/test_cli.py:460
Method
test_get_npx_command_windows_exe
Test npx command detection on Windows with npx.exe.
tests/cli/test_cli.py:443
Method
test_get_npx_command_windows_fallback
Test npx command detection on Windows with plain npx.
tests/cli/test_cli.py:477
Method
test_get_npx_command_windows_not_found
Test npx command detection on Windows when npx is not found.
tests/cli/test_cli.py:495
Method
test_get_obo_credential_caches_by_assertion
Test that the same assertion returns the cached credential.
tests/server/auth/providers/test_azure_scopes.py:654
Method
test_get_obo_credential_different_assertions_get_different_credentials
Test that different assertions produce different credentials.
tests/server/auth/providers/test_azure_scopes.py:677
Method
test_get_obo_credential_evicts_oldest_when_over_capacity
Test that credentials are evicted LRU-style when cache is full.
tests/server/auth/providers/test_azure_scopes.py:701
Method
test_get_obo_credential_returns_configured_credential
Test that get_obo_credential returns a properly configured credential.
tests/server/auth/providers/test_azure_scopes.py:624
Method
test_get_obo_credential_with_custom_authority
Test that get_obo_credential uses custom base_authority.
tests/server/auth/providers/test_azure_scopes.py:755
Method
test_get_oidc_configuration
Test with valid response and explicit timeout.
tests/server/auth/test_oidc_proxy.py:387
Method
test_get_oidc_configuration_no_timeout
Test with valid response and no timeout.
tests/server/auth/test_oidc_proxy.py:394
Method
test_get_oidc_configuration_not_strict
Test with invalid response and strict set to False.
tests/server/auth/test_oidc_proxy.py:408
Method
test_get_oidc_configuration_raises_error
Test with invalid response.
tests/server/auth/test_oidc_proxy.py:401
Function
test_get_prompt
Test getting a prompt with InMemoryClient.
tests/client/client/test_client.py:180
Method
test_get_prompt
( self, mcp_server: FastMCP, recording_middleware: RecordingMiddleware )
tests/server/middleware/test_middleware.py:208
Method
test_get_prompt
Test getting a specific prompt by name.
tests/server/providers/test_fastmcp_provider.py:253
Method
test_get_prompt_and_disable
(self)
tests/server/providers/test_local_provider_prompts.py:390
Function
test_get_prompt_both_eras
(dual_era_server, mode)
tests/server/test_protocol_eras.py:138
Method
test_get_prompt_cache_is_partitioned_by_component_version
( self, versioned_caching_server: tuple[FastMCP, dict[str, int]] )
tests/server/middleware/test_versioned_caching.py:100
Method
test_get_prompt_cache_key_ignores_argument_order
(self)
tests/server/middleware/test_caching.py:313
Method
test_get_prompt_creates_span
(self, trace_exporter: InMemorySpanExporter)
tests/client/telemetry/test_client_tracing.py:180
Method
test_get_prompt_denied_by_component_auth
(self)
tests/server/auth/test_authorization.py:1165
Method
test_get_prompt_error_creates_spans
Both client and server spans should be created when prompt get fails.
tests/client/telemetry/test_client_tracing.py:472
Method
test_get_prompt_explicit_disabled_version_returns_none
Requesting a specific disabled prompt version should return None.
tests/server/versioning/test_visibility_version_fallback.py:236
Method
test_get_prompt_explicit_unauthorized_version_returns_none
(self)
tests/server/versioning/test_auth_version_fallback.py:200
Method
test_get_prompt_found
Test getting a prompt that exists.
tests/server/providers/test_local_provider.py:277
Method
test_get_prompt_key_is_hashed_and_stable
(self)
tests/server/middleware/test_caching.py:965
Method
test_get_prompt_key_partitions_by_auth
(self)
tests/server/middleware/test_caching.py:996
Method
test_get_prompt_key_partitions_by_component_version
(self)
tests/server/middleware/test_versioned_caching.py:151
Function
test_get_prompt_mcp
Test the get_prompt_mcp method that returns raw MCP protocol objects.
tests/client/client/test_client.py:193
Method
test_get_prompt_missing_required_argument_is_invalid_params
( self, mask_error_details: bool )
tests/prompts/test_prompt.py:904
Method
test_get_prompt_not_found
Test getting a prompt that doesn't exist returns None.
tests/server/providers/test_local_provider.py:291
Method
test_get_prompt_on_nested_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:360
Method
test_get_prompt_on_parent_server
( self, mcp_server: FastMCP, nested_mcp_server: FastMCP, recording_middleware:
tests/server/middleware/test_middleware_nested.py:340
Method
test_get_prompt_returns_v1_when_v2_disabled
get_prompt should return v1 when v2 is disabled.
tests/server/versioning/test_visibility_version_fallback.py:218
Method
test_get_prompt_returns_v1_when_v2_unauthorized
(self)
tests/server/versioning/test_auth_version_fallback.py:185
Method
test_get_prompt_span_attributes
( self, trace_exporter: InMemorySpanExporter )
tests/client/telemetry/test_client_tracing.py:198
Method
test_get_prompt_version_selection
Client.get_prompt routes to correct version via request meta.
tests/server/versioning/test_calls.py:312
Method
test_get_prompts
Test that get prompts caching works with a real FastMCP server.
tests/server/middleware/test_caching.py:638
Method
test_get_prompts_meta
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:871
Method
test_get_prompts_server_method
(self, proxy_server: FastMCPProxy)
tests/server/providers/proxy/test_proxy_server.py:867
Method
test_get_raises_for_failing_mount_when_enabled
(self)
tests/server/mount/test_mount.py:393
Method
test_get_registered_client
Test retrieving a registered client.
tests/server/auth/oauth_proxy/test_client_registration.py:92
Method
test_get_resource
Test getting a specific resource by URI.
tests/server/providers/test_fastmcp_provider.py:153
Method
test_get_resource_and_disable
(self)
tests/server/providers/test_local_provider_resources.py:809
Method
test_get_resource_explicit_disabled_version_returns_none
Requesting a specific disabled resource version should return None.
tests/server/versioning/test_visibility_version_fallback.py:175
Method
test_get_resource_explicit_unauthorized_version_returns_none
(self)
tests/server/versioning/test_auth_version_fallback.py:152
Method
test_get_resource_found
Test getting a resource that exists.
tests/server/providers/test_local_provider.py:210
Method
test_get_resource_not_found
Test getting a resource that doesn't exist returns None.
tests/server/providers/test_local_provider.py:222
Method
test_get_resource_returns_v1_when_v2_disabled
get_resource should return v1 when v2 is disabled.
tests/server/versioning/test_visibility_version_fallback.py:157
Method
test_get_resource_returns_v1_when_v2_unauthorized
(self)
tests/server/versioning/test_auth_version_fallback.py:137
Method
test_get_resource_template
Test getting a template that matches a URI.
tests/server/providers/test_fastmcp_provider.py:201
Method
test_get_resource_template_match
Test getting a template that matches a URI.
tests/server/providers/test_local_provider.py:240
Method
test_get_resource_template_no_match
Test getting a template with no match returns None.
tests/server/providers/test_local_provider.py:252
Method
test_get_resource_template_returns_v1_when_v2_disabled
get_resource_template should return v1 when v2 is disabled.
tests/server/versioning/test_visibility_version_fallback.py:196
Method
test_get_resource_template_returns_v1_when_v2_unauthorized
(self)
tests/server/versioning/test_auth_version_fallback.py:168
Method
test_get_resource_templates
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:652
Method
test_get_resource_templates_meta
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:656
Method
test_get_resource_url_handles_trailing_slash
Test _get_resource_url handles trailing slash correctly.
tests/server/auth/test_remote_auth_provider.py:133
Method
test_get_resource_url_uses_resource_base_url_when_provided
Test protected resource URLs are derived from resource_base_url when provided.
tests/server/auth/test_remote_auth_provider.py:155
Method
test_get_resource_url_with_nested_base_url
Test _get_resource_url returns correct URL for .well-known path with nested base_url.
tests/server/auth/test_remote_auth_provider.py:111
Method
test_get_resource_url_with_well_known_path
Test _get_resource_url returns correct URL for .well-known path.
tests/server/auth/test_remote_auth_provider.py:89
Method
test_get_resource_uses_cache
Resource lookups should also use the cache.
tests/server/providers/proxy/test_proxy_server.py:1167
Method
test_get_resources
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:524
Method
test_get_resources_meta
(self, proxy_server)
tests/server/providers/proxy/test_proxy_server.py:532
Function
test_get_result_uses_protocol_cache_fields
()
tests/skills/test_models.py:245
Method
test_get_returns_deep_copy
(self)
tests/utilities/test_token_cache.py:99
Method
test_get_returns_miss_when_disabled
(self)
tests/utilities/test_token_cache.py:49
Method
test_get_routes
Test that get_routes returns only protected resource metadata (no proxy routes).
tests/server/auth/providers/test_keycloak.py:105
Method
test_get_routes_calls_set_mcp_path
Test that get_routes() calls set_mcp_path() to initialize JWT issuer.
tests/server/auth/oauth_proxy/test_config.py:470
Method
test_get_routes_creates_protected_resource_routes
Test that get_routes creates protected resource routes.
tests/server/auth/test_remote_auth_provider.py:68
Method
test_get_routes_is_network_free
get_routes must not perform discovery I/O when building routes.
tests/server/auth/providers/test_descope.py:201
Function
test_get_schema_empty_tools_list
get_schema with an empty tools list returns no-match message.
tests/experimental/transforms/test_code_mode_discovery.py:387
Function
test_get_schema_full_partial_match_returns_valid_json
get_schema with detail=full and missing tools returns valid JSON.
tests/experimental/transforms/test_code_mode_discovery.py:402
Function
test_get_skill_is_authoritative_for_unlisted_skill
()
tests/skills/test_extension.py:199
Function
test_get_skill_reads_from_the_named_server
()
tests/client/group/test_skills.py:45
Function
test_get_skill_requires_a_connection
()
tests/client/group/test_skills.py:59
Method
test_get_skips_failing_mount_by_default
(self, caplog)
tests/server/mount/test_mount.py:381
Function
test_get_tags_empty_catalog
GetTags with no tools returns 'No tools available.'.
tests/experimental/transforms/test_code_mode_discovery.py:216
Function
test_get_task_result_completed_omits_error_and_inputs
A completed result carries only `result` (the union arm forbids the rest).
tests/tasks/server/test_wire_models.py:143
Function
test_get_task_result_matches_schema
(status: TaskStatus, payload: dict[str, Any])
tests/tasks/server/test_wire_models.py:130
Method
test_get_tasks_applies_transforms
get_tasks should apply provider transforms to component names.
tests/server/providers/test_base_provider.py:90
Method
test_get_tasks_applies_transforms
Test that get_tasks applies provider transforms to registration keys.
tests/server/providers/test_local_provider.py:856
Method
test_get_tasks_filters_forbidden_custom_tools
Base Provider.get_tasks() should exclude tools with forbidden task mode.
tests/server/providers/test_base_provider.py:54
Method
test_get_tasks_filters_forbidden_tools
Test that get_tasks excludes tools with forbidden task mode.
tests/server/providers/test_local_provider.py:828
Method
test_get_tasks_includes_custom_tool_subclasses
Base Provider.get_tasks() should include custom Tool subclasses.
tests/server/providers/test_base_provider.py:43
Method
test_get_tasks_includes_custom_tool_subclasses
Test that custom Tool subclasses are included in get_tasks.
tests/server/providers/test_local_provider.py:839
← previous
next →
10,001–10,100 of 15,974, ranked by callers