MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

↓ 5 callersMethodquery
(search: str)
tests/test_fastmcp_app.py:139
↓ 5 callersFunctionread_client_extension_settings
Read a client's per-request extension opt-in from the request `_meta`. SEP-2133 extensions negotiate per request: the client repeats its extensio
fastmcp_slim/fastmcp/server/extensions.py:306
↓ 5 callersMethodregister_prompts
Registers all methods marked with @mcp_prompt with the FastMCP server. Args: mcp_server: The FastMCP server instance to register
fastmcp_slim/fastmcp/contrib/mcp_mixin/mcp_mixin.py:285
↓ 5 callersMethodregister_tools
Register the tools provided by this class with the given MCP server.
fastmcp_slim/fastmcp/contrib/bulk_tool_caller/bulk_tool_caller.py:72
↓ 5 callersMethodremove_tool
(self, name: str, version: str | None = None)
fastmcp_slim/fastmcp/server/server.py:459
↓ 5 callersMethodreset
Clear all recorded notifications.
tests/server/test_session_visibility.py:45
↓ 5 callersMethodreset_visibility
Clear all session visibility rules. Use this to reset session visibility back to global defaults. Sends notifications to this sessio
fastmcp_slim/fastmcp/server/context.py:1317
↓ 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 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:59
↓ 5 callersMethodto_image_content
Convert to MCP ImageContent.
fastmcp_slim/fastmcp/utilities/types.py:308
↓ 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/client.py:1071
↓ 4 callersMethod__aenter__
(self)
fastmcp_slim/fastmcp/client/group.py:119
↓ 4 callersMethod__aexit__
(self, exc_type, exc_val, exc_tb)
tests/server/test_dependencies.py:28
↓ 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:75
↓ 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_buffer
(self, name: str)
fastmcp_events/fastmcp_events/log.py:115
↓ 4 callersMethod_build_discovery_tools
(self)
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:682
↓ 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 callersFunction_client_puts
(proxy: OAuthProxy)
tests/server/auth/oauth_proxy/test_registration_ttl.py:34
↓ 4 callersMethod_config
Two entries so the transport takes its multi-server composite path.
tests/server/test_mrtr_guards.py:634
↓ 4 callersFunction_confirm
Confirm with the user on either era, falling back when it can't elicit.
tests/server/providers/proxy/test_relayed_capabilities.py:57
↓ 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:617
↓ 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:1553
↓ 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:197
↓ 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 callersMethod_drive_input_required
Resolve a SEP-2322 `InputRequiredResult` to its terminal result. A 2026-era server may answer `tools/call` / `prompts/get` / `resources/read`
fastmcp_slim/fastmcp/client/client.py:1460
↓ 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 callersMethod_forget
( self, name: str, subscription_id: str, principal: str | None = None )
fastmcp_events/fastmcp_events/webhook_delivery.py:538
↓ 4 callersFunction_format_size
(size: int)
fastmcp_slim/fastmcp/apps/file_upload.py:87
↓ 4 callersFunction_front_client
(server: FastMCP, mode: str, elicit: bool)
tests/server/providers/proxy/test_relayed_capabilities.py:112
↓ 4 callersFunction_generate
(tools: list[mcp_types.Tool])
tests/cli/test_generate_cli_param_collisions.py:33
↓ 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:1101
↓ 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:305
↓ 4 callersFunction_get_prefab_types
Import and return Prefab's public app and component types on demand.
fastmcp_slim/fastmcp/utilities/prefab.py:20
↓ 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:959
↓ 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:1137
↓ 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:2982
↓ 4 callersFunction_hash_cache_key
Build a fixed-length SHA-256 cache key from request-derived input.
fastmcp_slim/fastmcp/server/middleware/caching.py:676
↓ 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:207
↓ 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:35
↓ 4 callersMethod_issue
(self, proxy: OAuthProxy)
tests/server/auth/oauth_proxy/test_single_use.py:141
↓ 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_key
(self, name: str)
fastmcp_events/fastmcp_events/redis_log.py:109
↓ 4 callersMethod_list_tools
List all tools from the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:1112
↓ 4 callersMethod_live_parents
The servers this one is attached to, in attach order, dropping any that have been collected.
fastmcp_slim/fastmcp/server/server.py:885
↓ 4 callersMethod_lookup_resource
Resolve a resource as `get_resource` does. Also reports whether a concrete resource exists at `uri` at all, so reads can tell a hidde
fastmcp_slim/fastmcp/server/server.py:1298
↓ 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:728
↓ 4 callersMethod_make_template
(self)
tests/resources/test_resource_template_query_params.py:275
↓ 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_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:153
← previousnext →901–1,000 of 17,519, ranked by callers