MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,224 in github.com/PrefectHQ/fastmcp

↓ 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:1596
↓ 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 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:1444
↓ 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:279
↓ 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:492
↓ 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_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 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:252
↓ 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:324
↓ 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:273
↓ 1 callersFunction_parse_scalar_type
Parse scalar types (bool, int, float, str, Literal, Enum).
fastmcp_slim/fastmcp/server/elicitation.py:334
↓ 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:412
↓ 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 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:1713
↓ 1 callersFunction_print_schema
Print a JSON schema with a label.
fastmcp_slim/fastmcp/cli/client.py:554
↓ 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_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:58
↓ 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:1346
↓ 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:868
↓ 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:164
↓ 1 callersMethod_refresh_jwks_key
Refresh the complete key set while holding the refresh lock.
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:398
↓ 1 callersFunction_refused_deferred
A config that cannot apply hides its own tool and nothing else.
tests/pbt/test_tool_transform.py:197
↓ 1 callersMethod_register_bundled_extensions
(self: FastMCP, provider: Provider)
fastmcp_slim/fastmcp/server/mixins/extensions.py:175
↓ 1 callersFunction_register_client
Register the MCP client so the token endpoint can authenticate it.
tests/server/auth/oauth_proxy/test_identity_assertion.py:132
↓ 1 callersMethod_register_completion_handler
Register the low-level ``completion/complete`` handler. Called when a completion handler is set (via ``add_completion_handler``) so t
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:578
↓ 1 callersMethod_register_component
Register a single component based on its type.
fastmcp_slim/fastmcp/server/providers/filesystem.py:155
↓ 1 callersMethod_register_tools
(self)
fastmcp_slim/fastmcp/apps/choice.py:80
↓ 1 callersMethod_register_tools
(self)
fastmcp_slim/fastmcp/apps/approval.py:104
↓ 1 callersMethod_register_tools
(self)
fastmcp_slim/fastmcp/apps/form.py:146
↓ 1 callersMethod_register_tools
(self)
fastmcp_slim/fastmcp/apps/file_upload.py:359
↓ 1 callersFunction_registered_task_component
Return the component Docket registered for ``tool``'s key. ``get_tasks()`` yields the same components that were registered with Docket (the u
fastmcp_tasks/fastmcp_tasks/creation.py:205
↓ 1 callersFunction_reject_non_finite
(value: JsonValue)
fastmcp_slim/fastmcp/skills/models.py:115
↓ 1 callersFunction_reject_nonfinite
Raise ToolError if a non-finite float survived JSON serialization. JSON cannot represent NaN or Infinity. A non-finite float in the parsed ou
fastmcp_slim/fastmcp/tools/base.py:97
↓ 1 callersFunction_release_worker_hooks
()
fastmcp_tasks/fastmcp_tasks/extension.py:378
↓ 1 callersFunction_remaining
()
fastmcp_tasks/fastmcp_tasks/client.py:202
↓ 1 callersMethod_remember_request
( self, jsonrpc_id: int | str | None, method: str, timestamp: float )
fastmcp_slim/fastmcp/cli/apps_dev_log.py:88
↓ 1 callersFunction_remember_snapshot
Bind a snapshot to the current asyncio context under ``task_id``. Nothing outside this task's context sees it; stale entries left in a reused
fastmcp_tasks/fastmcp_tasks/context.py:272
↓ 1 callersMethod_remove_cache_entry
Remove a document from the process-local cache.
fastmcp_slim/fastmcp/server/auth/cimd.py:245
↓ 1 callersMethod_remove_context_session
Remove one matching context hold from a task's pending exits.
fastmcp_slim/fastmcp/client/client.py:1040
↓ 1 callersFunction_rename_error_locations
Rebuild a parent tool's validation error using the transformed argument names.
fastmcp_slim/fastmcp/tools/tool_transform.py:132
↓ 1 callersMethod_render
Delegate to the child server's render_prompt(). fn_key is already set by the parent server before calling this method.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:229
← previousnext →2,301–2,400 of 16,224, ranked by callers