MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,098 in github.com/PrefectHQ/fastmcp

↓ 1 callersFunction_is_stub
`@overload` signatures and `...` bodies can never run real code.
scripts/pbt_coverage.py:138
↓ 1 callersMethod_is_success_status_code
Check if a status code represents a successful response (2xx).
fastmcp_slim/fastmcp/utilities/openapi/parser.py:424
↓ 1 callersFunction_is_transient
Whether a GitHub API error response is temporary rather than a verdict on the token. Server errors and rate limits are temporary. GitHub reports
fastmcp_slim/fastmcp/server/auth/providers/github.py:43
↓ 1 callersFunction_is_type_checking
(node: ast.If)
scripts/pbt_coverage.py:132
↓ 1 callersFunction_is_unconstrained_sequence
A sequence annotation that says nothing about its items. Bare `list`, `tuple`, `Sequence` (and their `typing` spellings), plus `list[Any]`, `
fastmcp_slim/fastmcp/tools/function_parsing.py:57
↓ 1 callersFunction_is_unspecified_host
(host: str)
fastmcp_slim/fastmcp/server/http.py:148
↓ 1 callersFunction_is_verify_replaceable_factory
Whether a Client-level ``verify`` may replace this OAuth factory. Only the bare ``httpx2.AsyncClient`` default and factories generated from a
fastmcp_slim/fastmcp/client/transports/base.py:41
↓ 1 callersFunction_issue
(node: dict[str, Any])
scripts/rank_issues.py:256
↓ 1 callersMethod_iter_models_from_preferences
( model_preferences: ModelPreferences | str | list[str] | None, )
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:180
↓ 1 callersMethod_iter_models_from_preferences
( model_preferences: ModelPreferences | str | list[str] | None, )
fastmcp_slim/fastmcp/client/sampling/handlers/anthropic.py:184
↓ 1 callersFunction_json_for_script
Serialize JSON for embedding inside an HTML script element.
fastmcp_slim/fastmcp/cli/apps_dev.py:62
↓ 1 callersFunction_json_schema_type_to_str
Produce a short Python-style type string from a JSON-Schema fragment.
fastmcp_slim/fastmcp/cli/client.py:509
↓ 1 callersFunction_json_value_key
Build a hashable, type-tagged key for standard JSON values.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:768
↓ 1 callersFunction_jwk_to_pem
(key_data: dict[str, Any])
fastmcp_slim/fastmcp/server/auth/cimd.py:55
↓ 1 callersFunction_jwk_to_pem
(key_data: JWKKeyData)
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:54
↓ 1 callersFunction_leaf
()
tests/pbt/schema_strategies.py:38
↓ 1 callersFunction_legible_call_error
Rewrite a failed call's error for the model that wrote the code. A failed `call_tool` raises so the failure interrupts the chain instead of f
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:65
↓ 1 callersFunction_lifespan_proxy
( fastmcp_server: FastMCP[LifespanResultT], )
fastmcp_slim/fastmcp/server/server.py:318
↓ 1 callersMethod_list
(self, kind: str)
tests/pbt/test_components_machine.py:287
↓ 1 callersMethod_list_backend
(self)
fastmcp_slim/fastmcp/skills/_proxy.py:97
↓ 1 callersMethod_list_prompts
List all prompts from the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:1220
↓ 1 callersMethod_list_prompts
(self)
tests/server/test_providers.py:435
↓ 1 callersMethod_list_resource_templates
List all resource templates from the mounted server. Runs the mounted server's middleware so filtering/transformation applies. Return
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:529
↓ 1 callersMethod_list_resource_templates
List all resource templates from the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:1176
↓ 1 callersMethod_list_resource_templates
(self)
tests/server/test_providers.py:413
↓ 1 callersMethod_list_resources
(self)
fastmcp_slim/fastmcp/apps/app.py:434
↓ 1 callersMethod_list_resources
(self)
tests/server/providers/proxy/test_skills.py:85
↓ 1 callersMethod_list_skill_entries
( self, context: ServerRequestContext[Any, Any] )
fastmcp_slim/fastmcp/skills/_source.py:17
↓ 1 callersFunction_list_tools
Return raw tool dicts from the MCP server at mcp_url.
fastmcp_slim/fastmcp/cli/apps_dev.py:1108
↓ 1 callersMethod_list_tools
Return all tools.
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:336
↓ 1 callersFunction_listed_name
The name `tool` is listed under after passing through `transforms`. Each transform's listing gives the tool's name above it. A transform that
fastmcp_slim/fastmcp/server/providers/base.py:806
↓ 1 callersFunction_literal_pattern
Regex for a literal run that matches it either as written or percent-encoded. `AnyUrl` percent-encodes some characters that section 3.1 requires
fastmcp_slim/fastmcp/resources/template.py:141
↓ 1 callersMethod_load_components
Discover and register all components from the filesystem.
fastmcp_slim/fastmcp/server/providers/filesystem.py:110
↓ 1 callersMethod_load_skill
Load and parse the skill directory.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:227
↓ 1 callersFunction_load_spec
Load and return a spec dict, or None on failure.
tests/utilities/json_schema_type/test_real_world_schemas.py:205
↓ 1 callersMethod_log_message
( self, message: dict[str, str | int | float], log_level: int | None = None )
fastmcp_slim/fastmcp/server/middleware/logging.py:119
↓ 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_fn
(t: DrawnTemplate)
tests/pbt/test_resource_read.py:27
↓ 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_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:392
↓ 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
← previousnext →2,201–2,300 of 16,098, ranked by callers