MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,976 in github.com/PrefectHQ/fastmcp

↓ 5 callersFunctionresolve_credential
Resolve environment, stored, then interactive credentials.
fastmcp_slim/fastmcp/cli/deploy/credentials.py:130
↓ 5 callersFunctionrun_module_command
Run a Python module directly using ``python -m <module>``. When ``-m`` is used, the module manages its own server startup. No server-object d
fastmcp_slim/fastmcp/cli/run.py:285
↓ 5 callersMethodsave
(self, deps: Deps)
examples/memory.py:100
↓ 5 callersFunctionscoped_admin_tool
()
tests/server/middleware/test_tool_injection.py:313
↓ 5 callersMethodsearch
Search for available tools by query. Returns matching tools ranked by relevance.
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:392
↓ 5 callersFunctionsend
(message: Message)
fastmcp_slim/fastmcp/utilities/asgi_transport.py:249
↓ 5 callersMethodsend
(self, message: dict[str, Any])
tests/client/minimal_stdio_server.py:92
↓ 5 callersMethodserve
()
fastmcp_slim/fastmcp/client/auth/oauth.py:473
↓ 5 callersMethodset_api_origin
Set the origin and clear credentials before an origin change.
fastmcp_slim/fastmcp/cli/deploy/configuration.py:55
↓ 5 callersMethodset_client_info
(self, client_info: OAuthClientInformationFull)
fastmcp_slim/fastmcp/client/auth/oauth.py:185
↓ 5 callersMethodset_mcp_path
Bind the default verifier's audience to this server's resource URL.
fastmcp_slim/fastmcp/server/auth/providers/auth0.py:290
↓ 5 callersMethodstream
()
tests/tools/test_tool_run_in_thread.py:112
↓ 5 callersFunctionsvg
(tag, attrs, text)
status-site/app.js:49
↓ 5 callersMethodto_image_content
Convert to MCP ImageContent.
fastmcp_slim/fastmcp/utilities/types.py:304
↓ 5 callersMethodto_mcp_prompt_message
Convert to MCP PromptMessage.
fastmcp_slim/fastmcp/prompts/base.py:100
↓ 5 callersFunctionuse_platform
( monkeypatch: pytest.MonkeyPatch, installer: Installer, platform: str, executable: str, )
tests/cli/test_install_cli_arguments.py:310
↓ 5 callersFunctionvalidate_command
Validate a hosted CIMD document. Fetches the document from the given URL and validates: - URL is valid CIMD URL (HTTPS, non-root path) -
fastmcp_slim/fastmcp/cli/cimd.py:144
↓ 5 callersFunctionwindows_batch_command_line
Build a cmd.exe command line that runs a batch file with literal arguments. `command[0]` is the batch file path and the remaining items are its
fastmcp_slim/fastmcp/cli/install/shared.py:113
↓ 4 callersMethod__aenter__
(self)
fastmcp_slim/fastmcp/client/group.py:119
↓ 4 callersMethod__aenter__
(self)
tests/server/test_dependencies.py:24
↓ 4 callersMethod__anext__
(self)
tests/client/auth/test_oauth_client.py:420
↓ 4 callersMethod__init__
Initialize a FastMCPProvider. Args: server: The FastMCP server to wrap.
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:409
↓ 4 callersMethod__init__
Initialize the multi-auth provider. Args: server: Optional auth provider (e.g., OAuthProxy) that owns routes and
fastmcp_slim/fastmcp/server/auth/auth.py:808
↓ 4 callersMethod__new__
(cls, *args: Any, **kwargs: Any)
fastmcp_slim/fastmcp/skills/skill.py:188
↓ 4 callersFunction_answer
Read the string value a client accepted for `key` (test helper).
tests/tasks/server/test_guard_reentrant.py:47
↓ 4 callersFunction_apply_snapshot_to_context
Populate the ambient request context a worker's tool body reads. A Docket worker has no live request or SDK auth context — especially a Redis
fastmcp_tasks/fastmcp_tasks/context.py:538
↓ 4 callersFunction_approve
Render the explicit consent prompt, approve it and keep the cookie. The remembered-approval cookie is a ``__Host-`` (Secure) cookie, which the
tests/server/auth/test_oauth_consent_remembered_key.py:85
↓ 4 callersFunction_args_key
(docket: Docket, task_scope: str | None, task_id: str)
fastmcp_tasks/fastmcp_tasks/input_store.py:81
↓ 4 callersFunction_assert_sent_as_configured
(request: httpx2.Request)
tests/server/providers/openapi/test_undeclared_arguments.py:87
↓ 4 callersFunction_audio_content_to_openai_part
Convert MCP AudioContent to OpenAI input_audio content part.
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:90
↓ 4 callersFunction_backend_list_roots
Issue a handshake-era `roots/list` from a backend server. `Context` has no `list_roots()`: server-initiated requests are not part of FastMCP'
tests/server/providers/proxy/test_proxy_client.py:69
↓ 4 callersFunction_bound_kinds
Names of the pydantic constraints a numeric schema converts to.
tests/utilities/json_schema_type/test_constraints.py:186
↓ 4 callersMethod_build_discovery_tools
(self)
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:653
↓ 4 callersFunction_call
(mcp: FastMCP)
tests/server/middleware/test_logging_methods_filter.py:41
↓ 4 callersFunction_capture
()
tests/server/middleware/test_logging_methods_filter.py:22
↓ 4 callersFunction_claiming_server
An SDK MCPServer whose `claimed_tool` returns a claimed extension result.
tests/client/test_client_extensions.py:117
↓ 4 callersFunction_clamp_logger
Clamp the logger to a minimum and maximum level. If min_level is provided, messages logged at a lower level than `min_level` will have their leve
fastmcp_slim/fastmcp/utilities/logging.py:236
↓ 4 callersMethod_config
Two entries so the transport takes its multi-server composite path.
tests/server/test_mrtr_guards.py:634
↓ 4 callersMethod_consent_binding_cookie_name
Return an independent cookie name for one consent transaction.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:370
↓ 4 callersFunction_consent_state_cookie_names
Names of the per-token consent-state cookies currently held.
tests/server/auth/test_oauth_consent_flow.py:176
↓ 4 callersFunction_content_block_to_dict
Serialize a content block while preserving its MCP JSON fields.
fastmcp_slim/fastmcp/cli/client.py:605
↓ 4 callersMethod_context_prompt_server
()
tests/server/test_mrtr_guards_components.py:70
↓ 4 callersFunction_convert_set_default_none
Convert a sequence to a set, defaulting to an empty set if None.
fastmcp_slim/fastmcp/utilities/components.py:68
↓ 4 callersFunction_create_client_factory
Create a client factory from the given target. Internal helper that handles the session strategy based on the target type: - Connected Client
fastmcp_slim/fastmcp/server/providers/proxy.py:1476
↓ 4 callersMethod_create_default_client
Create a default httpx client from the OpenAPI spec's server URL.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:189
↓ 4 callersFunction_ctx_with_meta
(meta: dict[str, Any] | None)
tests/server/test_extensions.py:411
↓ 4 callersFunction_current_leg_key
(docket: Docket, task_scope: str | None, task_id: str)
fastmcp_tasks/fastmcp_tasks/input_store.py:85
↓ 4 callersFunction_deprecated
(name: str, replacement: str)
fastmcp_slim/fastmcp/utilities/skills.py:25
↓ 4 callersFunction_echo_server
()
tests/server/http/test_routable_headers.py:20
↓ 4 callersFunction_elicit_request
(message: str)
tests/tasks/server/test_guard_reentrant.py:35
↓ 4 callersMethod_ensure_discovered
Ensure skills are discovered, rediscovering if reload is enabled.
fastmcp_slim/fastmcp/server/providers/skills/directory_provider.py:174
↓ 4 callersFunction_error
(response: httpx2.Response)
tests/server/providers/openapi/test_http_error_details_regression.py:9
↓ 4 callersFunction_extract_csrf
Extract CSRF token from HTML form.
tests/server/auth/test_oauth_consent_page.py:110
↓ 4 callersFunction_extract_result
Extract the list of names from a call_tool ToolResult.
tests/server/transforms/test_catalog.py:253
↓ 4 callersMethod_extract_schema_as_dict
Resolves a schema and returns it as a dictionary.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:216
↓ 4 callersFunction_file_uri
(path: str, file: str)
fastmcp_slim/fastmcp/skills/provider.py:490
↓ 4 callersFunction_find_request
(request_id: str)
examples/apps/approvals/approvals_server.py:133
↓ 4 callersFunction_format_size
(size: int)
fastmcp_slim/fastmcp/apps/file_upload.py:87
↓ 4 callersFunction_get_cache_path
Get the path to the version cache file.
fastmcp_slim/fastmcp/utilities/version_check.py:21
↓ 4 callersMethod_get_client
Gets a client instance by calling the sync or async factory.
fastmcp_slim/fastmcp/server/providers/proxy.py:1044
↓ 4 callersMethod_get_client_identifier
Get client identifier for rate limiting.
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:256
↓ 4 callersMethod_get_highest_version_result
Get the highest version from successful non-None results. Used for versioned components where we want the highest version across all
fastmcp_slim/fastmcp/server/providers/aggregate.py:234
↓ 4 callersFunction_get_prefab_types
Import and return Prefab's public app and component types on demand.
fastmcp_slim/fastmcp/utilities/prefab.py:18
↓ 4 callersMethod_get_refresh_lock
Get or create a per-token refresh lock, evicting LRU entries when at capacity.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:908
↓ 4 callersMethod_get_scopes_supported
Return the advertised scopes, discovering them lazily if enabled. The result of a successful discovery is cached for the provider's l
fastmcp_slim/fastmcp/server/auth/providers/descope.py:273
↓ 4 callersMethod_get_token_expiry_cache_key
(self)
fastmcp_slim/fastmcp/client/auth/oauth.py:133
↓ 4 callersMethod_get_tool
( self, name: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/proxy.py:1080
↓ 4 callersMethod_handle_idp_callback
Handle callback from upstream IdP and forward to client. This implements the DCR-compliant callback forwarding: 1. Receive IdP callba
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:2776
↓ 4 callersFunction_hash_cache_key
Build a fixed-length SHA-256 cache key from request-derived input.
fastmcp_slim/fastmcp/server/middleware/caching.py:670
↓ 4 callersFunction_highest_available_version
Look up each candidate version, highest first, until one is returned. Each version goes through `lookup`, the same path an explicit version r
fastmcp_slim/fastmcp/server/server.py:199
↓ 4 callersFunction_image_content_to_anthropic_block
Convert MCP ImageContent to Anthropic ImageBlockParam.
fastmcp_slim/fastmcp/client/sampling/handlers/anthropic.py:67
↓ 4 callersFunction_is_prefab_tool
True if *tool* was marked as needing a Prefab renderer at registration.
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:34
↓ 4 callersMethod_issue_access_token
Issue a FastMCP token backed by an upstream grant of `scope`.
tests/server/auth/providers/test_workos.py:446
↓ 4 callersMethod_list_tools
List all tools from the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:1055
↓ 4 callersFunction_make_ctx
(request: Request | None)
tests/server/http/test_stale_access_token.py:25
↓ 4 callersMethod_make_provider
(self, resource: str | None = None)
tests/server/auth/providers/test_propelauth.py:190
↓ 4 callersFunction_make_read_resource_cache_key
Make a cache key for a resource read using version and URI.
fastmcp_slim/fastmcp/server/middleware/caching.py:722
↓ 4 callersMethod_make_template
(self)
tests/resources/test_resource_template_query_params.py:271
↓ 4 callersMethod_make_verify_factory
(self)
fastmcp_slim/fastmcp/client/transports/sse.py:107
↓ 4 callersFunction_make_versioned_tool
Create a tool with a specific version for testing.
tests/server/transforms/test_catalog.py:23
↓ 4 callersFunction_map_key
Redis hash mapping a leg's surfaced keys back to the tool's own keys.
fastmcp_tasks/fastmcp_tasks/input_store.py:112
↓ 4 callersFunction_mock_github_success
Configure *mock_client* to return a successful GitHub user + scopes response.
tests/server/auth/providers/test_github.py:160
↓ 4 callersFunction_mrtr_server
An SDK MCPServer whose `greet` tool elicits a name via a resolver. At 2026-07-28 the elicitation is delivered as an `InputRequiredResult`.
tests/client/client/test_input_required_driver.py:70
↓ 4 callersFunction_next_poll_delay
Delay before the next poll, plus the backoff for the round after. With no status notifications on the modern protocol, polling is the only si
fastmcp_tasks/fastmcp_tasks/client.py:152
↓ 4 callersFunction_normalize_host
(host: str)
fastmcp_slim/fastmcp/server/http.py:120
↓ 4 callersFunction_oauth_config
()
tests/client/transports/test_oauth_transport_reuse.py:28
↓ 4 callersFunction_opted_in_call
Run a `tools/call` WITH the tasks opt-in bound (used to prove sync paths).
tests/tasks/server/test_server_tasks_parameter.py:23
↓ 4 callersFunction_park_key
(mcp: FastMCP, task_id: str)
tests/tasks/server/test_guard_reentrant.py:74
↓ 4 callersMethod_ping_loop
Send periodic pings until the connection ends.
fastmcp_slim/fastmcp/server/middleware/ping.py:89
↓ 4 callersFunction_poll_ceiling
The upper bound for the poll backoff, in seconds. A server-advertised `pollIntervalMs` is a deliberate statement about how much load the serv
fastmcp_tasks/fastmcp_tasks/client.py:139
↓ 4 callersFunction_query_scalar_to_str
Convert a scalar to its query-string representation. Booleans are lowercased to match JSON/OpenAPI conventions (true/false) rather than Pytho
fastmcp_slim/fastmcp/utilities/openapi/director.py:26
↓ 4 callersFunction_raw_request
Send a bare JSON-RPC request through the dispatcher, bypassing the typed `send_request` that normally stamps the outgoing envelope. The moder
tests/server/middleware/test_message_visibility.py:69
↓ 4 callersFunction_recall_snapshot
Return the snapshot bound for ``task_id`` in the current context. Returns ``None`` if nothing is bound, or if the bound entry belongs to a di
fastmcp_tasks/fastmcp_tasks/context.py:281
↓ 4 callersFunction_recording_extension
(identifier: str, log: list[str])
tests/server/test_extensions.py:335
↓ 4 callersFunction_redact_headers
(headers: httpx2.Headers)
fastmcp_slim/fastmcp/server/providers/openapi/components.py:49
↓ 4 callersMethod_register
(self, oauth_proxy, payload: dict)
tests/server/auth/oauth_proxy/test_client_registration.py:445
↓ 4 callersMethod_remove_component
Remove a component from unified storage. Args: key: The prefixed key of the component. Raises: KeyError: If
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:203
↓ 4 callersFunction_requests_key
Redis hash of a leg's outstanding input requests, keyed by surfaced key. Scoped by leg number so a re-entered leg's fresh requests never collide
fastmcp_tasks/fastmcp_tasks/input_store.py:101
↓ 4 callersFunction_resolve_allowed_hosts_for_run
( *, host: str, host_origin_protection: HostOriginProtection, allowed_hosts: list[str] | None,
fastmcp_slim/fastmcp/server/mixins/transport.py:51
↓ 4 callersMethod_respond
(self, messages: list[Any])
tests/downstream/smoke_agno.py:44
← previousnext →801–900 of 15,976, ranked by callers