MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,976 in github.com/PrefectHQ/fastmcp

↓ 4 callersFunction_response
(document: dict[str, object])
tests/server/auth/test_oidc_discovery_cache.py:30
↓ 4 callersFunction_restrict_access
(path: Path, *, directory: bool = False)
fastmcp_slim/fastmcp/cli/deploy/state.py:78
↓ 4 callersFunction_return_visit
Visit the consent page the way a client-initiated navigation does.
tests/server/auth/test_oauth_consent_remembered_key.py:110
↓ 4 callersMethod_revoke_internal
Internal helper to remove tokens and their associations.
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:318
↓ 4 callersMethod_run_middleware
Builds and executes the middleware chain for a single dispatch phase. ``phase`` selects whether a pass runs only the method-agnostic hooks
fastmcp_slim/fastmcp/server/server.py:710
↓ 4 callersFunction_sample
Issue a handshake-era `sampling/createMessage` request from a server. `Context` has no `sample()` — server-initiated sampling is not part of
tests/client/test_sampling.py:13
↓ 4 callersMethod_save_raw
Write the session's full dict back under its single key (no TTL).
fastmcp_slim/fastmcp/server/sessions.py:223
↓ 4 callersMethod_search
(self, tools: Sequence[Tool], query: str)
fastmcp_slim/fastmcp/server/transforms/search/bm25.py:134
↓ 4 callersFunction_send_get
Send `tasks/get` and parse the detailed task response.
fastmcp_tasks/fastmcp_tasks/client.py:84
↓ 4 callersFunction_server
A server whose only tool is task-enabled and renamed by a transform.
tests/tasks/server/test_task_transformed_tools.py:28
↓ 4 callersFunction_server
(middleware: Middleware)
tests/server/middleware/test_logging_methods_filter.py:31
↓ 4 callersMethod_server_spans
(exporter: InMemorySpanExporter)
tests/server/telemetry/test_provider_tracing.py:193
↓ 4 callersFunction_serving_client_tool_call
()
fastmcp_slim/fastmcp/server/dependencies.py:263
↓ 4 callersMethod_set_consent_binding_cookie
Set an independently signed cookie for one consent transaction. This cookie binds the browser that approved consent to the IdP callback,
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:375
↓ 4 callersMethod_should_retry
Determine if an error should trigger a retry. Checks both the error itself and its ``__cause__``, since FastMCP wraps tool exceptions
fastmcp_slim/fastmcp/server/middleware/error_handling.py:190
↓ 4 callersMethod_skills_unavailable_reason
Why this connection can't send Skills requests, or None if it can.
fastmcp_slim/fastmcp/client/mixins/skills.py:50
↓ 4 callersFunction_snapshot_redis_key
The Redis key holding a task's context snapshot.
fastmcp_tasks/fastmcp_tasks/context.py:137
↓ 4 callersFunction_start_flow
Register the client (idempotent) and start a flow; returns the txn_id.
tests/server/auth/test_oauth_consent_remembered_key.py:64
↓ 4 callersFunction_store_proxy_access_token
( proxy: OAuthProxy, *, upstream_scope: str, )
tests/server/auth/providers/test_github_transient_failures.py:44
↓ 4 callersFunction_strict_input_validation
The ``strict`` value to pass to pydantic for the running server. Reads ``strict_input_validation`` off the active request's ``FastMCP`` insta
fastmcp_slim/fastmcp/tools/function_tool.py:147
↓ 4 callersMethod_string_key
Derive a stable store key from every `CacheKey` field. `CacheKey` is `(method, params_key, partition)`, where the coordinator has alr
fastmcp_slim/fastmcp/client/caching.py:142
↓ 4 callersFunction_suppress_user_scanners
Suppress all scanners that read real user config files.
tests/cli/test_discovery.py:691
↓ 4 callersFunction_task_not_found
The single "not found" error for missing, expired, or cross-scope ids. Uses one message for all three so a caller cannot probe another scope's ta
fastmcp_tasks/fastmcp_tasks/handlers.py:85
↓ 4 callersMethod_template
(self, skill_dir: Path)
tests/server/providers/test_skills_provider.py:1064
↓ 4 callersMethod_tool
(self, version: str | None)
tests/server/versioning/test_versioning.py:431
↓ 4 callersFunction_upstream
( handler: Callable[[httpx2.Request], httpx2.Response], )
tests/server/providers/openapi/test_transport_errors.py:28
↓ 4 callersMethod_upstream_oauth_client
(self)
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:901
↓ 4 callersMethod_uses_alternate_verification
Return True when id_token verification is enabled. This ensures ``load_access_token`` always patches the validated result with upstre
fastmcp_slim/fastmcp/server/auth/oidc_proxy.py:561
↓ 4 callersFunction_validate
(def_name: str, instance: dict[str, Any])
tests/tasks/server/test_wire_models.py:47
↓ 4 callersMethod_validate_provider_extensions
Require a provider's bundles in every active runtime using this aggregate.
fastmcp_slim/fastmcp/server/providers/aggregate.py:171
↓ 4 callersMethod_validate_response
( response: httpx2.Response, model: type[ResponseModelT], )
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:222
↓ 4 callersMethod_verify_consent_binding_cookie
Verify the consent binding for a specific transaction.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:411
↓ 4 callersFunction_version_request_meta
( version: VersionSpec | None, )
fastmcp_slim/fastmcp/server/server.py:156
↓ 4 callersMethodadd
Add two numbers.
tests/tools/tool/test_tool.py:24
↓ 4 callersFunctionadd_component_to_docket
Schedule a component for background execution via Docket. Handles each component type's calling convention: - ``FunctionTool``: splats the a
fastmcp_tasks/fastmcp_tasks/components.py:99
↓ 4 callersMethodadd_prompts
(self, fastmcp: FastMCP, prefix: str = "")
tests/server/middleware/test_caching.py:181
↓ 4 callersFunctionadd_query_params
Append query parameters to a URL while preserving existing parameters. The existing query string is appended to verbatim rather than decoded
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:42
↓ 4 callersFunctionalias_pointer_schema
`#/$defs/Alias/properties/value` passes through `Alias`, a reference to `Actual`.
tests/utilities/test_json_schema_expansion.py:137
↓ 4 callersFunctionauthorization
(*, expires_in: int = 600, interval: int = 5)
tests/cli/deploy/test_authentication.py:28
↓ 4 callersFunctionbuild_provider
Build a plain OAuth provider mounted at BASE_URL, optionally with a distinct issuer.
tests/server/auth/test_issuer_url_identity.py:77
↓ 4 callersFunctionbuild_proxy
( target: ClientTransport | Client, ignore_tools: Sequence[str] )
fastmcp_remote/fastmcp_remote/cli.py:267
↓ 4 callersMethodcall_tool
Call a tool by name with the given arguments. Use this to execute tools discovered via search_tools.
fastmcp_slim/fastmcp/server/transforms/search/base.py:364
↓ 4 callersMethodcall_tool_bulk
Call a single tool registered on this MCP server multiple times with a single request. Each call can include different arguments. Us
fastmcp_slim/fastmcp/contrib/bulk_tool_caller/bulk_tool_caller.py:113
↓ 4 callersMethodcallback_handler
Handle OAuth callback and return the authorization code result.
fastmcp_slim/fastmcp/client/auth/oauth.py:458
↓ 4 callersMethodclear_if_matches
Clear a key only while its Horizon origin and value are active.
fastmcp_slim/fastmcp/cli/deploy/credentials.py:100
↓ 4 callersMethodclient_factory
(**kwargs: Any)
tests/cli/test_apps_dev_server.py:638
↓ 4 callersMethodclient_supports_extension
Check whether the connected client supports a given MCP extension. Inspects the ``extensions`` capability the client declared, read from
fastmcp_slim/fastmcp/server/context.py:678
↓ 4 callersFunctioncoerce_task_arguments
Validate and coerce task arguments before any task state is created. Called by ``submit_to_docket`` up front, so invalid inputs raise before the
fastmcp_tasks/fastmcp_tasks/components.py:151
↓ 4 callersFunctioncompare_versions
Compare two version strings. Args: a: First version string (or None). b: Second version string (or None). Returns: -
fastmcp_slim/fastmcp/utilities/versions.py:237
↓ 4 callersMethodconnect_session
( self, *, transport_options: TransportOptions | None = None, **session_kwargs
fastmcp_slim/fastmcp/client/transports/config.py:130
↓ 4 callersMethodcopy
(self, **kwargs: Any)
fastmcp_slim/fastmcp/server/middleware/middleware.py:109
↓ 4 callersMethodcreate_device_authorization
( self, metadata: DeviceMetadata | None = None, )
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:242
↓ 4 callersFunctioncreate_elicitation_callback
( elicitation_handler: ElicitationHandler, )
fastmcp_slim/fastmcp/client/elicitation.py:53
↓ 4 callersFunctioncreate_error_html
Create a styled HTML error page for OAuth errors. Args: error_title: The error title (e.g., "OAuth Error", "Authorization Failed")
fastmcp_slim/fastmcp/server/auth/oauth_proxy/ui.py:216
↓ 4 callersFunctioncreate_function_without_params
Create a new function with the same code but without the specified parameters in annotations. This is used to exclude parameters from type a
fastmcp_slim/fastmcp/utilities/types.py:190
↓ 4 callersFunctioncreate_log_callback
(handler: LogHandler | None = None)
fastmcp_slim/fastmcp/client/logging.py:47
↓ 4 callersFunctioncreate_logo
Create logo HTML. Args: icon_url: Optional custom icon URL. If not provided, uses the FastMCP logo. alt_text: Alt text for the lo
fastmcp_slim/fastmcp/utilities/ui.py:501
↓ 4 callersFunctioncreate_mcp_config_server
Create a FastMCP server from a MCPConfig.
fastmcp_slim/fastmcp/cli/run.py:115
↓ 4 callersFunctioncreate_openapi_server
Helper to create a FastMCP server with OpenAPIProvider.
tests/server/providers/openapi/test_end_to_end_compatibility.py:13
↓ 4 callersFunctioncreate_secure_html_response
Create an HTMLResponse with security headers. Adds X-Frame-Options: DENY to prevent clickjacking attacks per MCP security best practices.
fastmcp_slim/fastmcp/utilities/ui.py:609
↓ 4 callersFunctiondayLabel
(day)
status-site/app.js:42
↓ 4 callersMethoddelete
(self, key: CacheKey)
fastmcp_slim/fastmcp/client/caching.py:186
↓ 4 callersFunctiondiscover_servers
Run all scanners and return the combined results. Duplicate names across sources are preserved — callers can use :pyattr:`DiscoveredServer.qu
fastmcp_slim/fastmcp/cli/discovery.py:360
↓ 4 callersFunctionemit_identity
Show the authenticated user.
fastmcp_slim/fastmcp/cli/deploy/output.py:148
↓ 4 callersMethodexchange_authorization_code
Exchange authorization code for FastMCP-issued tokens. Implements the token factory pattern: 1. Retrieves upstream tokens from stored
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1350
↓ 4 callersMethodexchange_device_authorization
( self, device_code: str, )
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:262
↓ 4 callersFunctionfetch
(path, **kwargs)
tests/test_public_triage.py:203
↓ 4 callersFunctionfetch_prs
(numbers: list[int])
scripts/release_contributor_credit.py:60
↓ 4 callersMethodformat
(self, record: logging.LogRecord)
tests/server/test_logging.py:12
↓ 4 callersFunctionformat_info
Format server information according to the specified format. Args: mcp: The FastMCP instance format: Output format ("fastmcp" or
fastmcp_slim/fastmcp/utilities/inspect.py:503
↓ 4 callersFunctionformat_ip_for_url
Format IP address for use in URL (bracket IPv6 addresses). IPv6 addresses must be bracketed in URLs to distinguish the address from the port
fastmcp_slim/fastmcp/server/auth/ssrf.py:58
↓ 4 callersFunctiongetAmplitude
()
docs/fastmcp-analytics.js:42
↓ 4 callersMethodget_current_user
(self)
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:287
↓ 4 callersFunctionget_latest_version
Get the latest version of FastMCP from PyPI, using cache when available. Args: include_prereleases: If True, include pre-release versions
fastmcp_slim/fastmcp/utilities/version_check.py:106
↓ 4 callersMethodget_resource
Get resource by transformed URI with all transforms applied. Note: This method does NOT filter disabled components. The Server (FastM
fastmcp_slim/fastmcp/server/providers/base.py:346
↓ 4 callersMethodget_span_attributes
(self)
fastmcp_slim/fastmcp/tools/base.py:629
↓ 4 callersMethodget_tasks
Return components eligible for background task execution. Returns components that have task_config.mode != 'forbidden'. This includes
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:438
↓ 4 callersFunctionguard_client
A client that answers each round automatically.
tests/server/middleware/test_caching_guards.py:82
↓ 4 callersMethodintersect
Return a spec that satisfies both this spec and other. Used by transforms to combine caller constraints with filter constraints. For
fastmcp_slim/fastmcp/utilities/versions.py:88
↓ 4 callersFunctionisPrefectDestination
(url)
docs/fastmcp-analytics.js:115
↓ 4 callersFunctionis_url
Check if a string is a URL.
fastmcp_slim/fastmcp/cli/run.py:84
↓ 4 callersFunctionissue_token
( proxy: OAuthProxy, jwt_verifier )
tests/server/auth/oauth_proxy/test_revocation.py:80
↓ 4 callersMethoditems
(page: int = 1, size: int = 10)
tests/resources/test_resource_template_level3.py:65
↓ 4 callersFunctionlink
(text, url)
status-site/operations.js:16
↓ 4 callersMethodlist_prompts
Retrieve all prompts available on the server. This method automatically fetches all pages if the server paginates results, returning
fastmcp_slim/fastmcp/client/mixins/prompts.py:72
↓ 4 callersMethodlist_resources
Retrieve all resources available on the server. This method automatically fetches all pages if the server paginates results, returnin
fastmcp_slim/fastmcp/client/mixins/resources.py:73
↓ 4 callersMethodlist_skills_mcp
Send one `skills/list` request and return its protocol result. Args: cursor: Optional pagination cursor from a previous result.
fastmcp_slim/fastmcp/client/mixins/skills.py:78
↓ 4 callersMethodlist_tools
Apply transforms to matching tools.
fastmcp_slim/fastmcp/server/transforms/tool_transform.py:64
↓ 4 callersFunctionnested_items_schema
(title: str)
tests/utilities/json_schema_type/test_generated_classes.py:34
↓ 4 callersFunctionnormalize_resource_url
Normalize a resource URL by removing query parameters and trailing slashes. RFC 8707 allows clients to include query parameters in resource URLs,
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:474
↓ 4 callersFunctionnumber
(n)
status-site/app.js:34
↓ 4 callersMethodon_request
Implement retry logic for requests.
fastmcp_slim/fastmcp/server/middleware/error_handling.py:209
↓ 4 callersFunctionparseUrl
(href)
docs/fastmcp-analytics.js:107
↓ 4 callersFunctionparse_elicit_response_type
Parse response_type into schema and handling configuration. A response type is required; ``None`` raises ``TypeError``. Supports multiple syn
fastmcp_slim/fastmcp/server/elicitation.py:168
↓ 4 callersFunctionparse_hashed_resource_uri
Extract the hash from a Prefab renderer URI, or None.
fastmcp_slim/fastmcp/server/providers/addressing.py:98
↓ 4 callersFunctionparse_version_key
Parse a version string into a sortable key. Args: version: The version string, or None for unversioned. Returns: A VersionKe
fastmcp_slim/fastmcp/utilities/versions.py:197
↓ 4 callersFunctionpoll_device_authorization
Poll at the server interval until the device request completes.
fastmcp_slim/fastmcp/cli/deploy/authentication.py:32
↓ 4 callersMethodread
()
tests/client/test_result_hydration.py:176
↓ 4 callersFunctionread_outstanding_inputs
Return a leg's outstanding input requests, keyed by surfaced key. Empty when the leg is not waiting on input. Consumed by ``tasks/get`` to bu
fastmcp_tasks/fastmcp_tasks/input_store.py:282
↓ 4 callersMethodread_resource
Read the contents of a resource or resolved template. Args: uri (AnyUrl | str): The URI of the resource to read. Can be a string
fastmcp_slim/fastmcp/client/mixins/resources.py:278
← previousnext →901–1,000 of 15,976, ranked by callers