MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,725 in github.com/PrefectHQ/fastmcp

↓ 1 callersFunction_make_token
Create a test access token.
tests/server/versioning/test_auth_version_fallback.py:21
↓ 1 callersFunction_make_token
Create a test access token.
tests/server/versioning/test_visibility_version_fallback.py:20
↓ 1 callersMethod_mark_non_object_result
Mark structured content declared by a non-object output schema. Legacy MCP clients require object structured content, so the wire han
fastmcp_slim/fastmcp/tools/base.py:558
↓ 1 callersFunction_mask_error_details
The worker server's error-masking policy, mirroring the sync call path. Resolves the owning server through ``get_server()`` (the worker-server
fastmcp_tasks/fastmcp_tasks/input_loop.py:87
↓ 1 callersFunction_match_host
Match host component, supporting *.example.com wildcard patterns. Args: uri_host: The host from the URI being validated pattern_h
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:197
↓ 1 callersFunction_match_path
Match path component using fnmatch for wildcard support. Args: uri_path: The path from the URI pattern_path: The path pattern (ma
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:319
↓ 1 callersFunction_match_port
Match port component, supporting * wildcard for any port. Args: uri_port: The port from the URI (None if default, string otherwise)
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:277
↓ 1 callersMethod_matches
(value: str, expected: str)
fastmcp_slim/fastmcp/cli/apps_dev_security.py:96
↓ 1 callersFunction_matches_registered_loopback_redirect_uri
( redirect_uri: AnyUrl, registered_uri: AnyUrl, )
fastmcp_slim/fastmcp/server/auth/oauth_proxy/models.py:192
↓ 1 callersFunction_matches_registered_redirect_uri
( redirect_uri: AnyUrl, registered_uris: list[AnyUrl] | None, )
fastmcp_slim/fastmcp/server/auth/oauth_proxy/models.py:221
↓ 1 callersMethod_may_complete
(self, context: MiddlewareContext[Any])
fastmcp_slim/fastmcp/server/middleware/authorization.py:132
↓ 1 callersFunction_maybe_apply_prefab_ui
Mark a tool as a Prefab tool if its config or return type implies it. Per-tool renderer resources are synthesized lazily at list/read time; h
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:81
↓ 1 callersMethod_maybe_cleanup
Run ``_cleanup_expired`` at most once per cleanup interval.
fastmcp_slim/fastmcp/utilities/token_cache.py:163
↓ 1 callersMethod_maybe_cleanup
(self)
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:254
↓ 1 callersMethod_maybe_cleanup
Periodically cleanup expired JTIs to prevent unbounded growth.
fastmcp_slim/fastmcp/server/auth/cimd.py:529
↓ 1 callersMethod_maybe_handle_id_jag
Dispatch the SEP-990 jwt-bearer grant, or None to fall through. Returns a response for the jwt-bearer grant (ID-JAG), or None when the
fastmcp_slim/fastmcp/server/auth/auth.py:152
↓ 1 callersFunction_measure_depth
Return how many `items` levels deep an array-nested schema goes. Walks iteratively so the assertion helpers cannot themselves hit the recursi
tests/utilities/test_json_schema.py:19
↓ 1 callersFunction_media_list
(playable: list[MediaCandidate], notices: list[str])
examples/apps/media_picker/media_picker_server.py:268
↓ 1 callersFunction_median
(samples: Sequence[Sample], key: str)
scripts/benchmark_http_startup.py:129
↓ 1 callersFunction_merge_domain_lists
( base: list[str] | None, extra: list[str] | None )
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:61
↓ 1 callersFunction_merge_domains
Merge two domain lists, deduplicating.
fastmcp_slim/fastmcp/apps/config.py:179
↓ 1 callersFunction_merge_ref_siblings
Merge sibling keywords from original $ref nodes into dereferenced schema. When jsonref resolves $ref, it replaces the entire node with the refere
fastmcp_slim/fastmcp/utilities/json_schema.py:444
↓ 1 callersFunction_merged_in_paths
Paths of keys that `_merge_defaults` added to the caller's data.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:1606
↓ 1 callersFunction_mint_surfaced_key
Mint a unique surfaced key for one outstanding request (SEP-2663 L350). Namespaced by the task id and suffixed with fresh entropy so no two r
fastmcp_tasks/fastmcp_tasks/input_store.py:117
↓ 1 callersMethod_mirror_front_capabilities
Declare to the backend only the relayed features the front client declared. The default relays forward roots, sampling, and elicitation reque
fastmcp_slim/fastmcp/server/providers/proxy.py:2070
↓ 1 callersFunction_mirror_front_era_mode
Return the backend connect ``mode`` that mirrors the front connection's era. A proxy is a server on its front and a client on its back. The two p
fastmcp_slim/fastmcp/server/providers/proxy.py:1525
↓ 1 callersFunction_missing_path_arguments
Name the arguments for declared path parameters that have no value. A path parameter is satisfied when any argument mapped to it is present and
fastmcp_slim/fastmcp/utilities/openapi/director.py:282
↓ 1 callersFunction_mock_github_failure
Configure *mock_client* to return a 401 GitHub response.
tests/server/auth/providers/test_github.py:179
↓ 1 callersFunction_model_from_schema
Dynamically create a Pydantic model from a JSON Schema for form generation.
fastmcp_slim/fastmcp/cli/apps_dev.py:834
↓ 1 callersFunction_mounted_source
(provider: Provider)
fastmcp_slim/fastmcp/skills/_composition.py:140
↓ 1 callersMethod_narrow
Wide passes until the candidate set fits the close read. Probabilities from different chunks are not comparable, so each chunk's shor
fastmcp_slim/fastmcp/experimental/transforms/jev_search.py:338
↓ 1 callersFunction_needs_recursive_processing
Check if the schema needs recursive processing (smarter than just checking for recursive fields).
fastmcp_slim/fastmcp/utilities/openapi/json_schema_converter.py:259
↓ 1 callersFunction_needs_ref_merge
Keep sibling restoration and the existing handling of other pointers.
fastmcp_slim/fastmcp/utilities/json_schema.py:319
↓ 1 callersFunction_nested
(path: str, other: str)
fastmcp_slim/fastmcp/skills/provider.py:433
↓ 1 callersFunction_nested_fields
Suffix listing an object-valued field's own field names, or empty. Names only: the level below is what turns `items (object[])` into somethin
fastmcp_slim/fastmcp/server/transforms/search/base.py:172
↓ 1 callersFunction_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_output_schema.py:18
↓ 1 callersFunction_normalize_call_tool_result
Normalize a tool's ``to_mcp_result()`` output into a ``CallToolResult``. ``ToolResult.to_mcp_result()`` returns one of three shapes for backward
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:80
↓ 1 callersFunction_normalize_callback_host_for_bind
(host: str)
fastmcp_slim/fastmcp/client/auth/oauth.py:39
↓ 1 callersMethod_normalize_contents
Normalize input to list[ResourceContent].
fastmcp_slim/fastmcp/resources/base.py:171
↓ 1 callersFunction_normalize_iso_timestamp
Return an ISO 8601 timestamp for createdAt, tolerating a missing value.
fastmcp_tasks/fastmcp_tasks/handlers.py:94
↓ 1 callersMethod_normalize_messages
Normalize input to list[Message].
fastmcp_slim/fastmcp/prompts/base.py:173
↓ 1 callersMethod_normalize_uri
Normalize a URI to a canonical form for consent tracking. The query is kept: it is part of the redirect URI the consent page showed,
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:88
↓ 1 callersFunction_npm_tarball_url
Return the ext-apps tarball URL, honoring ``npm_config_registry``.
fastmcp_slim/fastmcp/cli/apps_dev.py:1163
↓ 1 callersFunction_numeric_date_claim
Read a NumericDate claim (RFC 7519 §2), rejecting non-numeric values. A validly-signed assertion could still carry a malformed `exp`/`iat`/`nbf`
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:494
↓ 1 callersFunction_object_fields
Field names of the object a schema describes, one level deep, or None. Looks through a local `$ref`, an array's `items`, every object branch
fastmcp_slim/fastmcp/server/transforms/search/base.py:130
↓ 1 callersFunction_occurrence
The event an `event` frame carries, with its own `_meta` and not the routing ID.
fastmcp_slim/fastmcp/experimental/events/subscription.py:407
↓ 1 callersFunction_oembed_client
()
examples/apps/media_picker/media_picker_server.py:101
↓ 1 callersMethod_on_list_resources
List all available resources. Supports pagination via params.cursor.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:217
↓ 1 callersMethod_open
( self, subscription_id: RequestId, stop: Callable[[], None] )
fastmcp_slim/fastmcp/experimental/events/client.py:124
↓ 1 callersFunction_open_browser
()
fastmcp_slim/fastmcp/cli/apps_dev.py:1806
↓ 1 callersFunction_operator_entry
Keep only the schema's fields from another system's entry.
scripts/maintenance_status.py:399
↓ 1 callersFunction_opted_in_call
Run a `tools/call` WITH the tasks opt-in bound (used to prove sync paths).
tests/tasks/server/test_task_config.py:35
↓ 1 callersFunction_opted_in_call
Run a `tools/call` WITH the tasks opt-in bound (used to prove sync paths).
tests/tasks/server/test_task_tools.py:48
↓ 1 callersMethod_origin_allowed
( self, origin: str, request_origin: str, host: str, allow_same_origin
fastmcp_slim/fastmcp/server/http.py:326
↓ 1 callersFunction_origin_host
(origin: str)
fastmcp_slim/fastmcp/server/http.py:169
↓ 1 callersFunction_origin_matches
(origin: str, allowed_origins: Sequence[str])
fastmcp_slim/fastmcp/server/http.py:221
↓ 1 callersFunction_origin_port
(scheme: str, port: int | None)
fastmcp_slim/fastmcp/server/http.py:178
↓ 1 callersFunction_owning_server
The server a mounted tool lives on, for worker context resolution. A mounted tool is a ``FastMCPProviderTool`` that references the child server
fastmcp_tasks/fastmcp_tasks/creation.py:146
↓ 1 callersMethod_owns_skill_resource
(self, uri: str)
fastmcp_slim/fastmcp/skills/provider.py:327
↓ 1 callersMethod_owns_skill_resource
Whether manifest coherence requires this URI to be read live.
fastmcp_slim/fastmcp/skills/_source.py:29
↓ 1 callersMethod_owns_skill_resource
(self, uri: str)
tests/skills/test_extension.py:71
↓ 1 callersFunction_package_path_matches
Check whether a package module's __path__ points at package_root. Used to tell whether a top-level package name already present in sys.module
fastmcp_slim/fastmcp/server/providers/filesystem_discovery.py:120
↓ 1 callersFunction_params_dict
Query params as a dict, order-insensitive, mirroring pytest-httpx.
tests/utilities/httpx2_mock.py:31
↓ 1 callersMethod_parse_cache_policy
Parse HTTP cache headers and derive cache behavior.
fastmcp_slim/fastmcp/server/auth/cimd.py:249
↓ 1 callersFunction_parse_descope_config_url
(config_url: str)
fastmcp_slim/fastmcp/server/auth/providers/descope.py:34
↓ 1 callersFunction_parse_dict_syntax
Parse dict syntax: {"low": {"title": "..."}} -> single-select titled.
fastmcp_slim/fastmcp/server/elicitation.py:269
↓ 1 callersFunction_parse_frontmatter_line_based
Legacy line-based frontmatter parser (key: value only). Used as a fallback when full YAML parsing fails so plain scalar keys (including value
fastmcp_slim/fastmcp/server/providers/skills/_common.py:40
↓ 1 callersFunction_parse_generic_list
Parse list[X] type annotation -> multi-select.
fastmcp_slim/fastmcp/server/elicitation.py:341
↓ 1 callersFunction_parse_host_port
Parse host and port from netloc, handling wildcards. Args: netloc: The netloc component (e.g., "localhost:8080" or "localhost:*") Re
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:165
↓ 1 callersFunction_parse_key_version
Split a component key suffix into (name, version) on the last ``@``.
fastmcp_tasks/fastmcp_tasks/handlers.py:104
↓ 1 callersFunction_parse_list_syntax
Parse list patterns: [[...]], [{...}], or [...].
fastmcp_slim/fastmcp/server/elicitation.py:290
↓ 1 callersFunction_parse_scalar_type
Parse scalar types (bool, int, float, str, Literal, Enum).
fastmcp_slim/fastmcp/server/elicitation.py:351
↓ 1 callersFunction_parse_statements
(path: Path)
scripts/pbt_coverage.py:270
↓ 1 callersFunction_path_argument_name
(route: HTTPRoute, parameter_name: str)
fastmcp_slim/fastmcp/server/providers/openapi/components.py:437
↓ 1 callersFunction_path_checks
Lazily load the SDK's path-safety helpers. The screening logic lives in the `mcp` SDK, which is an optional dependency of `fastmcp-slim`. Imp
fastmcp_slim/fastmcp/resources/security.py:33
↓ 1 callersMethod_perform_authorization
(self)
fastmcp_slim/fastmcp/client/auth/client_credentials.py:424
↓ 1 callersFunction_pins_legacy_mode
(tree: ast.AST)
tests/test_examples_ping.py:22
↓ 1 callersFunction_poll
()
tests/client/test_stdio.py:54
↓ 1 callersMethod_poll
(self)
fastmcp_slim/fastmcp/experimental/events/subscription.py:189
↓ 1 callersFunction_prefab_to_tool_result
Convert a PrefabApp to a FastMCP ToolResult.
fastmcp_slim/fastmcp/tools/base.py:705
↓ 1 callersFunction_prefix
(local_name: str)
fastmcp_slim/fastmcp/apps/app.py:77
↓ 1 callersMethod_prepare_scopes_for_token_exchange
Prepare scopes for initial token exchange (auth code -> tokens). The default omits the `scope` parameter from the upstream code excha
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1788
↓ 1 callersFunction_print_occurrence
(event: EventOccurrence, cursor: str | None)
fastmcp_slim/fastmcp/cli/events.py:129
↓ 1 callersFunction_print_schema
Print a JSON schema with a label.
fastmcp_slim/fastmcp/cli/client.py:566
↓ 1 callersFunction_private_package_prefix
Compute a collision-safe synthetic package name anchored at a directory.
fastmcp_slim/fastmcp/server/providers/filesystem_discovery.py:134
↓ 1 callersFunction_proxied_source
(provider: Provider)
fastmcp_slim/fastmcp/skills/_proxy.py:156
↓ 1 callersMethod_prune_idle
(self, now: float)
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:35
↓ 1 callersMethod_push
Hold an `events/stream` request open, reopening it if it drops. A stream that ends with a connection error, or goes quiet for three h
fastmcp_slim/fastmcp/experimental/events/subscription.py:234
↓ 1 callersMethod_rank_and_fit_chunk
One request that both ranks a chunk and asks the fit question of every tool in it, on summaries. Returns the fitting names with their
fastmcp_slim/fastmcp/experimental/transforms/jev_search.py:285
↓ 1 callersMethod_rank_chunk
One wide request: rank every tool in a chunk by summary.
fastmcp_slim/fastmcp/experimental/transforms/jev_search.py:266
↓ 1 callersFunction_raw_message
The message payload handed to the root dispatch's ``on_message``/``on_request`` pass. The raw inbound params mapping is used verbatim rather than
fastmcp_slim/fastmcp/server/low_level.py:64
↓ 1 callersMethod_read
Server entry point - read file directly without creating ephemeral resource.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:109
↓ 1 callersMethod_read_connected
Read metadata without changing the client's adopted negotiation state.
fastmcp_slim/fastmcp/server/providers/proxy.py:1403
↓ 1 callersMethod_read_consent_bindings
Read a pre-upgrade consent binding map from its signed cookie. Kept temporarily so OAuth flows approved before an upgrade can finish.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:345
↓ 1 callersFunction_read_mcp_resource
Read an MCP resource by URI and return its text content.
fastmcp_slim/fastmcp/cli/apps_dev.py:1130
↓ 1 callersFunction_read_outstanding_map
Return the surfaced-key → tool-key mapping for a leg.
fastmcp_tasks/fastmcp_tasks/input_store.py:305
↓ 1 callersMethod_rebind_prefab_tool_names
Re-address a Prefab payload's tool references to this server's names. Runs on the way out of every ``tools/call``, above the middleware
fastmcp_slim/fastmcp/server/server.py:909
↓ 1 callersFunction_reconnect_delay
Exponential backoff with jitter: 0.5-1 s, then 1-2 s, 2-4 s, 4-8 s.
fastmcp_slim/fastmcp/experimental/events/subscription.py:84
↓ 1 callersFunction_record_failure
( bucket: str, schema_name: str, schema_obj: dict, exc: BaseException )
tests/utilities/json_schema_type/test_real_world_schemas.py:283
↓ 1 callersFunction_redirect_uri_path
(uri_path: str)
fastmcp_slim/fastmcp/server/auth/oauth_proxy/models.py:188
← previousnext →2,401–2,500 of 16,725, ranked by callers