MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

↓ 1 callersFunction_log_record_reserved_keys
Names a `LogRecord` already uses; `Logger.log(extra=...)` raises KeyError when `extra` contains one of them. Read from the active record factory,
fastmcp_slim/fastmcp/server/context.py:121
↓ 1 callersFunction_log_response_bytes
Parse accumulated proxy response bytes and log as message entries.
fastmcp_slim/fastmcp/cli/apps_dev_log.py:193
↓ 1 callersFunction_log_to_server_and_client
Log a message to the server and client.
fastmcp_slim/fastmcp/server/context.py:1377
↓ 1 callersFunction_looks_like_pem_public_key
Return True when key text appears to be PEM-encoded asymmetric key material.
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:197
↓ 1 callersMethod_lookup_later
(self)
tests/server/test_hashed_tool_dispatch.py:363
↓ 1 callersFunction_lowlevel_of
Resolve the underlying lowlevel MCP `Server` for either server type. The SDK's own high-level `MCPServer` exposes its lowlevel server as `_lo
fastmcp_slim/fastmcp/client/transports/memory.py:24
↓ 1 callersFunction_make_claim
()
tests/client/test_client_extensions.py:66
↓ 1 callersFunction_make_elicit_server
()
tests/test_mcp_config.py:1174
↓ 1 callersFunction_make_endpoint
Create an endpoint function for enabling/disabling a component type.
fastmcp_slim/fastmcp/contrib/component_manager/component_manager.py:151
↓ 1 callersMethod_make_execute_tool
(self)
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:709
↓ 1 callersFunction_make_greet_server
()
tests/test_mcp_config.py:1208
↓ 1 callersFunction_make_log_server
()
tests/test_mcp_config.py:904
↓ 1 callersFunction_make_ping_server
()
tests/test_mcp_config.py:1479
↓ 1 callersFunction_make_property
Build a warn-once property routing a camelCase read to a snake attr. The getter reads the live `mcp_camelcase_compat` setting on every access: if
fastmcp_slim/fastmcp/_compat.py:109
↓ 1 callersFunction_make_session_server
()
tests/test_mcp_config.py:1295
↓ 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:168
↓ 1 callersFunction_matches_registered_redirect_uri
( redirect_uri: AnyUrl, registered_uris: list[AnyUrl] | None, )
fastmcp_slim/fastmcp/server/auth/oauth_proxy/models.py:197
↓ 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:159
↓ 1 callersMethod_maybe_cleanup
(self)
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:252
↓ 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_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_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:385
↓ 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_path_argument_name
(route: HTTPRoute, parameter_name: str)
fastmcp_slim/fastmcp/server/providers/openapi/components.py:400
↓ 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:1707
↓ 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
← previousnext →2,201–2,300 of 15,974, ranked by callers