MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_writes_utf8_regardless_of_locale
Output is UTF-8 even where the default text encoding is not (Windows).
tests/cli/test_generate_cli.py:661
Methodtest_writing_state_does_not_clobber_the_marker
(self)
tests/server/test_sessions.py:200
Methodtest_wrong_app_returns_none
(self)
tests/test_fastmcp_app.py:338
Methodtest_wrong_audience_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:461
Methodtest_wrong_auth_method_raises
validate_private_key_jwt raises ValueError if auth method is not private_key_jwt.
tests/server/auth/test_cimd_validators.py:672
Methodtest_wrong_client_binding_does_not_consume_jti
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:652
Methodtest_wrong_resource_binding_does_not_consume_jti
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:676
Methodtest_wrong_signature_rejected
( self, config: IdentityAssertion, rsa_key_pair_2: RSAKeyPair )
tests/server/auth/oauth_proxy/test_identity_assertion.py:507
Methodtest_wrong_startup_token_starts_no_session
(self, token: str)
tests/cli/test_apps_dev_server.py:149
Methodtest_wrong_tool_returns_none
(self)
tests/test_fastmcp_app.py:347
Methodtest_wrong_typ_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:472
Methodtest_wrong_type_is_argument_error
(self)
tests/tools/tool/test_argument_validation.py:44
Methodtest_www_authenticate_header_points_to_base_url
Test that WWW-Authenticate header points to RFC 9728-compliant metadata URL. The WWW-Authenticate header includes the resource path per RFC 9
tests/server/auth/test_auth_provider.py:267
Functiontest_x_mcp_header_annotation_survives_schema_generation
FastMCP preserves `x-mcp-header` in a tool's advertised input schema. This is the annotation the SDK client reads to decide which arguments to
tests/server/http/test_routable_headers.py:80
Methodtest_yaml_collection_description_falls_back_to_body
( self, tmp_path: Path, frontmatter: str )
tests/server/providers/test_skills_provider.py:550
Methodtest_yields_in_memory_server
(self)
tests/utilities/test_asgi_transport.py:270
Methodtest_yields_url_of_running_server
(self)
tests/utilities/test_tests.py:53
Functiontest_youtube_video_id
(url: str, expected: str | None)
examples/apps/media_picker/test_media_picker.py:70
Functiontest_zero_capacity_accepts_empty_files
()
tests/apps/test_file_upload_retention.py:95
Functiontest_zero_interval_allows_immediate_rotation
(key_data: dict[str, Any])
tests/server/auth/test_jwks_refresh.py:133
Methodtest_zero_page_size_raises
Zero page size should raise ValueError.
tests/server/test_pagination.py:383
Methodtest_zero_rate_deprecation_points_to_omitting_burst_capacity
The reject-all setup keeps its behavior and gets a migration that preserves it.
tests/server/middleware/test_rate_limiting.py:233
Methodtest_zero_rate_keeps_rejecting_every_request
A rate of 0 has no default burst, so it still closes the endpoint.
tests/server/middleware/test_rate_limiting.py:216
Methodtest_zero_threshold_only_refreshes_on_actual_expiry
With threshold=0, token that's not yet expired is not refreshed.
tests/server/auth/oauth_proxy/test_tokens.py:2189
Methodtest_zero_ttl_server_not_cached_on_modern
A modern server that emits `ttlMs: 0` (no hint) is not cached even though the connection is modern.
tests/client/client/test_response_cache.py:154
Methodtest_zero_values_disable_timeout
(self)
tests/utilities/test_timeout.py:22
Methodtestserver_url_has_query
Test detection of query parameters in server URLs.
tests/server/auth/oauth_proxy/test_config.py:61
Functiontext_encoding
(encoding: str | None, stacklevel: int = 2)
tests/cli/test_config_encoding.py:40
Functiontext_me
Send a text message to a phone number via https://surgemsg.com/
examples/text_me.py:48
Methodtext_plain_spec
OpenAPI spec with a text/plain resource template endpoint.
tests/server/providers/openapi/test_openapi_features.py:569
Methodthing
(ctx: Context)
tests/tasks/server/test_task_catalog_transforms.py:176
Functionthread_ids
(ctx: Context)
tests/tools/test_generator_thread_dispatch.py:38
Methodtick
()
tests/tools/test_tool_run_in_thread.py:150
Functionticket_breakdown
Show open tickets by category as a donut chart.
examples/apps/patterns_server.py:265
Methodtime_format
(self)
tests/utilities/json_schema_type/test_formats.py:47
Functiontimed_out
()
tests/server/test_legacy_httpx_errors.py:28
Functiontimed_out_call_leaves_connection_usable
()
tests/downstream/smoke_pydantic_ai.py:187
Functiontimed_out_call_leaves_connection_usable
()
tests/downstream/smoke_langchain_mcp.py:199
Methodtimed_tool
(self)
tests/contrib/test_mcp_mixin.py:555
Methodtimes_out
()
tests/tools/test_tool_timeout.py:226
Functiontiming_server
Create a FastMCP server specifically for timing middleware tests.
tests/server/middleware/test_timing.py:140
Methodto_client_logger
(self)
tests/server/test_context.py:644
Methodto_dict
(self)
fastmcp_slim/fastmcp/client/oauth_callback.py:95
Methodto_mcp_result
(self)
fastmcp_slim/fastmcp/tools/base.py:286
Methodto_mcp_skill
Build the Skills extension entry for this skill served at `skill://{path}/`.
fastmcp_slim/fastmcp/skills/skill.py:110
Methodto_transport
Get the transport for the transforming MCP server.
fastmcp_slim/fastmcp/mcp_config.py:165
Methodto_transport
(self)
tests/test_mcp_config.py:115
Methodto_transport
(self)
tests/test_mcp_config.py:1350
Methodto_transport
(self)
tests/client/group/test_client_group.py:32
Functionto_uppercase
Convert text to uppercase.
examples/search/server_regex.py:63
Functionto_uppercase
Convert text to uppercase.
examples/search/server_bm25.py:59
Functionto_uppercase
Convert text to uppercase.
examples/code_mode/server.py:57
Methodtoggle
Toggle a feature.
tests/server/test_input_validation.py:506
Methodtoggle
(flag: bool)
tests/server/providers/local_provider_tools/test_parameters.py:142
Methodtoggle_test
(ctx: Context)
tests/server/test_session_visibility.py:324
Functiontoken_client
( rsa_key_pair: RSAKeyPair, request: pytest.FixtureRequest )
tests/server/auth/test_private_key_jwt_auth.py:28
Methodtoken_endpoint
(self)
tests/server/auth/oauth_proxy/conftest.py:58
Methodtoken_endpoint_url
The token endpoint URL, as advertised in the authorization server metadata. A CIMD `private_key_jwt` assertion is bound to this URL as its `a
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:865
Functiontokens
Exchange authorization code for tokens. Parameters can be customized via indirect parameterization: @pytest.mark.parametrize("tokens",
tests/server/test_auth_integration.py:318
Functiontool
(query: str)
tests/experimental/transforms/test_jev_search.py:104
Methodtool
( self, name_or_fn: F, *, name: str | None = None, description: str |
fastmcp_slim/fastmcp/apps/app.py:183
Methodtool
Backwards-compatible access to the component as a Tool.
fastmcp_slim/fastmcp/utilities/authorization.py:40
Methodtool
( self: LocalProvider, name_or_fn: F, *, name: str | None = None, vers
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:166
Methodtool
(self)
tests/contrib/test_mcp_mixin.py:458
Methodtool
(item: str, session_id: SessionId)
tests/server/test_sessions.py:233
Methodtool1
()
tests/server/mount/test_advanced.py:100
Methodtool1x
()
tests/utilities/test_inspect.py:578
Methodtool2
()
tests/server/mount/test_advanced.py:104
Methodtool2x
()
tests/utilities/test_inspect.py:582
Methodtool_1
()
tests/server/providers/local_provider_tools/test_tags.py:46
Methodtool_2
()
tests/server/providers/local_provider_tools/test_tags.py:50
Methodtool_a
()
tests/test_apps_prefab.py:167
Methodtool_a
()
tests/test_apps.py:736
Methodtool_a
(config: dict[str, str] = Shared(get_config))
tests/server/test_dependencies.py:1029
Methodtool_a
()
tests/server/providers/test_prefab_synthesis.py:186
Methodtool_a
()
tests/server/providers/proxy/test_stateful_proxy_client.py:180
Methodtool_a
()
tests/server/mount/test_mount.py:667
Methodtool_all
(self)
tests/contrib/test_mcp_mixin.py:176
Methodtool_all_p
(self)
tests/contrib/test_mcp_mixin.py:204
Methodtool_b
()
tests/test_apps_prefab.py:171
Methodtool_b
()
tests/test_apps.py:740
Methodtool_b
(config: dict[str, str] = Shared(get_config))
tests/server/test_dependencies.py:1033
Methodtool_b
()
tests/server/providers/test_prefab_synthesis.py:190
Methodtool_b
()
tests/server/providers/proxy/test_stateful_proxy_client.py:184
Methodtool_b
()
tests/server/mount/test_mount.py:671
Methodtool_call
()
tests/client/client/test_client.py:1167
Methodtool_cust
(self)
tests/contrib/test_mcp_mixin.py:237
Functiontool_error
()
tests/downstream/smoke_pydantic_ai.py:122
Functiontool_error
()
tests/downstream/smoke_openai_agents.py:119
Functiontool_error
()
tests/downstream/smoke_langchain_mcp.py:167
Functiontool_error
()
tests/downstream/smoke_agent_framework.py:100
Functiontool_error
()
tests/downstream/smoke_langchain_mcp_adapters.py:121
Functiontool_error
()
tests/downstream/smoke_agno.py:120
Functiontool_error_from_one_member
()
tests/downstream/smoke_langchain_mcp.py:281
Functiontool_fn
(x: Existing, y: dict | None = None)
tests/tools/tool_transform/test_tool_transform.py:344
Methodtool_fn
(x: int)
tests/test_json_schema_generation.py:153
Methodtool_fn
(n: Annotated[int, Field(le=10)])
tests/tools/tool/test_argument_validation.py:29
Methodtool_fn
(data: str)
tests/tools/tool/test_argument_validation.py:65
Methodtool_fn
(n: int)
tests/tools/tool/test_argument_validation.py:100
Methodtool_fn
(n: Annotated[int, Field(le=10)])
tests/tools/tool/test_argument_validation.py:122
← previousnext →15,601–15,700 of 15,974, ranked by callers