MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

↓ 1 callersMethod__init__
Initialize Auth0 OAuth provider. Args: config_url: Auth0 config URL client_id: Auth0 application client id
fastmcp_slim/fastmcp/server/auth/providers/auth0.py:85
↓ 1 callersMethod__init__
Initialize Azure OAuth provider. Args: client_id: Azure application (client) ID from your App registration client_sec
fastmcp_slim/fastmcp/server/auth/providers/azure.py:99
↓ 1 callersMethod__init__
Initialize Clerk OAuth provider. Args: domain: Clerk instance domain (e.g., "saving-primate-16.clerk.accounts.dev").
fastmcp_slim/fastmcp/server/auth/providers/clerk.py:274
↓ 1 callersMethod__init__
Initialize Google OAuth provider. Args: client_id: Google OAuth client ID (e.g., "123456789.apps.googleusercontent.com")
fastmcp_slim/fastmcp/server/auth/providers/google.py:255
↓ 1 callersMethod__init__
Initialize a JWTVerifier configured to validate JWTs using either a static key or a JWKS endpoint. Parameters: public_ke
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:225
↓ 1 callersMethod__init__
Initialize Discord OAuth provider. Args: client_id: Discord OAuth client ID (e.g., "123456789") client_secret: Discor
fastmcp_slim/fastmcp/server/auth/providers/discord.py:194
↓ 1 callersMethod__init__
Initialize the Descope provider. Args: base_url: Public URL of this FastMCP server. config_url: A resource-specific o
fastmcp_slim/fastmcp/server/auth/providers/descope.py:162
↓ 1 callersMethod__init__
Initialize Hugging Face OAuth provider. Args: client_id: Hugging Face OAuth app client ID. Public apps and CIMD c
fastmcp_slim/fastmcp/server/auth/providers/huggingface.py:178
↓ 1 callersMethod__init__
(self, k1: float = 1.5, b: float = 0.75)
fastmcp_slim/fastmcp/server/transforms/search/bm25.py:28
↓ 1 callersMethod__init__
( self, *, search_fn: SearchFn | None = None, name: str = "search", de
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:362
↓ 1 callersMethod__init__
(self, exception: Exception)
tests/client/client/test_session.py:20
↓ 1 callersMethod__init__
(self, tools: Sequence[Tool])
tests/server/test_providers.py:72
↓ 1 callersMethod__init__
(self, app: ASGIApp, header_name: str, header_value: str)
tests/server/http/test_http_middleware.py:22
↓ 1 callersMethod__init__
(self, required_scopes: list[str])
tests/server/auth/test_enhanced_error_responses.py:29
↓ 1 callersFunction_accepts_exploded_query
Whether an annotation explicitly accepts the list produced by explode.
fastmcp_slim/fastmcp/resources/template.py:67
↓ 1 callersFunction_account_panel
( user: HorizonUser, *, title: str, message: str, )
fastmcp_slim/fastmcp/cli/deploy/output.py:53
↓ 1 callersFunction_aggregate_by
(rows: list[dict], key: str)
examples/apps/explorer/explorer_server.py:321
↓ 1 callersMethod_allow_same_origin_fallback
(self, scope: Scope, host: str)
fastmcp_slim/fastmcp/server/http.py:300
↓ 1 callersMethod_allowed_hosts_for_scope
(self, scope: Scope)
fastmcp_slim/fastmcp/server/http.py:310
↓ 1 callersFunction_answer_input_requests
Answer a task's outstanding input requests, then deliver via `tasks/update`. Each request is surfaced by a server-minted key and carries a serial
fastmcp_tasks/fastmcp_tasks/client.py:173
↓ 1 callersMethod_apply_client_auth
Attach client credentials per the configured auth method (RFC 6749 §2.3).
fastmcp_slim/fastmcp/server/auth/oauth_proxy/upstream.py:66
↓ 1 callersFunction_apply_meta_override
Apply a transform's ``meta=`` override, preserving framework namespaces. An override replaces the caller-facing meta wholesale, which is what use
fastmcp_slim/fastmcp/tools/tool_transform.py:251
↓ 1 callersMethod_apply_shared_context
Re-establish app-scoped SharedContext ContextVars for this request. The SDK v2 dispatcher runs handlers in the message sender's context, so
fastmcp_slim/fastmcp/server/low_level.py:305
↓ 1 callersMethod_apply_single_transform
Apply transformation to a single parameter. This method handles the transformation of a single argument according to the specified tr
fastmcp_slim/fastmcp/tools/tool_transform.py:767
↓ 1 callersFunction_apply_value_metadata
Override title/description on the wrapped ``value`` property in-place.
fastmcp_slim/fastmcp/server/elicitation.py:203
↓ 1 callersFunction_as_input_required
Return the `InputRequiredResult` a guard leg produced, or None. A tool body may return the bare `InputRequiredResult` or the `InputRequiredTo
fastmcp_tasks/fastmcp_tasks/input_loop.py:49
↓ 1 callersFunction_ask_dinner_prefs
Return the input request that pauses the task until the client answers.
examples/task_elicitation.py:50
↓ 1 callersMethod_assert_options
(self)
tests/utilities/httpx2_mock.py:207
↓ 1 callersFunction_assertion_granted_scopes
Scopes granted by an ID-JAG, from its `scope` or `scp` claim.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:177
↓ 1 callersFunction_assertion_scopes
Extract the scopes an ID-JAG grants, from `scope` or `scp`.
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:509
↓ 1 callersFunction_author_facts
(login: str, data: dict[str, Any], i: int)
scripts/rank_issues.py:393
↓ 1 callersFunction_author_query
(logins: Sequence[str], repo: str, since: str)
scripts/rank_issues.py:347
↓ 1 callersMethod_backend
(seen: dict[str, dict])
tests/server/telemetry/test_provider_tracing.py:146
↓ 1 callersFunction_backend_sample
Issue a handshake-era `sampling/createMessage` from a backend server.
tests/server/providers/proxy/test_proxy_client.py:73
↓ 1 callersFunction_banner
(title: str, *, style: str)
fastmcp_slim/fastmcp/cli/deploy/output.py:43
↓ 1 callersMethod_bind
Bind this provider to a specific MCP server URL. Called automatically when ``mcp_url`` is provided to ``__init__``, or by the transpo
fastmcp_slim/fastmcp/client/auth/client_credentials.py:357
↓ 1 callersMethod_bind_restoring_handlers
(self)
fastmcp_slim/fastmcp/server/providers/proxy.py:1749
↓ 1 callersFunction_body
()
fastmcp_slim/fastmcp/cli/apps_dev.py:1798
↓ 1 callersFunction_build_actions_section
Render category filter, quantity adjustment, and delete controls.
examples/apps/inventory/inventory_server.py:285
↓ 1 callersFunction_build_add_form
Render the add-item form using Form.from_model().
examples/apps/inventory/inventory_server.py:266
↓ 1 callersMethod_build_composite
Connect configured backends and mount their proxies on one router.
fastmcp_slim/fastmcp/client/transports/config.py:214
↓ 1 callersFunction_build_csp
Build CSP from the generative renderer's declared requirements.
fastmcp_slim/fastmcp/apps/generative.py:44
↓ 1 callersFunction_build_dataclass
( schema: Mapping[str, Any], sanitized_name: str, schemas: Mapping[str, Any], resolving_refs:
fastmcp_slim/fastmcp/utilities/json_schema_type.py:942
↓ 1 callersMethod_build_execute_description
(self)
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:675
↓ 1 callersFunction_build_facets
Build facets for rich text formatting, including auto-detected URLs.
examples/atproto_mcp/src/atproto_mcp/_atproto/_posts.py:92
↓ 1 callersFunction_build_fetch_targets
Build the ordered connection attempts for a validated URL. An empty ``resolved_ips`` means proxy mode (see :func:`validate_url`): a single un
fastmcp_slim/fastmcp/server/auth/ssrf.py:247
↓ 1 callersFunction_build_inventory_table
Render the main DataTable with all current items.
examples/apps/inventory/inventory_server.py:224
↓ 1 callersFunction_build_map_html
( locations: list[dict], zoom: int, )
examples/apps/map/map_server.py:53
↓ 1 callersFunction_build_picker_html
Build Prefab picker page: dropdown selector with per-tool forms.
fastmcp_slim/fastmcp/cli/apps_dev.py:1039
↓ 1 callersFunction_build_pydantic_model
( schema: Mapping[str, Any], name: str, schemas: Mapping[str, Any], resolving_refs: frozenset[
fastmcp_slim/fastmcp/utilities/json_schema_type.py:877
↓ 1 callersFunction_build_quote_embed
Build quote embed.
examples/atproto_mcp/src/atproto_mcp/_atproto/_posts.py:208
↓ 1 callersFunction_build_quote_with_images_embed
Build quote embed with images.
examples/atproto_mcp/src/atproto_mcp/_atproto/_posts.py:223
↓ 1 callersFunction_build_reply_ref
Build reply reference.
examples/atproto_mcp/src/atproto_mcp/_atproto/_posts.py:184
↓ 1 callersFunction_build_request_card
Build a card for a single request inside a ForEach context.
examples/apps/approvals/approvals_server.py:217
↓ 1 callersFunction_build_routes
Build all component management routes.
fastmcp_slim/fastmcp/contrib/component_manager/component_manager.py:121
↓ 1 callersFunction_build_search_section
Render the search form with ForEach results.
examples/apps/inventory/inventory_server.py:241
↓ 1 callersFunction_build_server_span_attrs
( method: str, server_name: str, component_type: str, component_key: str, resource_uri: st
fastmcp_slim/fastmcp/server/telemetry.py:125
↓ 1 callersFunction_build_test_server
Create a minimal FastMCP server for integration tests.
tests/cli/test_client_commands.py:398
↓ 1 callersFunction_build_test_server
Create a minimal FastMCP server for integration tests.
tests/cli/test_generate_cli.py:548
↓ 1 callersMethod_build_url
Build URL by substituting path parameters in the template. Args: path_template: OpenAPI path template (e.g., "/users/{id
fastmcp_slim/fastmcp/utilities/openapi/director.py:389
↓ 1 callersFunction_cache_namespace
Namespace cached tokens by both client identity and requested scopes. Two providers that differ in either their ``client_id`` or their requested
fastmcp_slim/fastmcp/client/auth/client_credentials.py:64
↓ 1 callersFunction_cacheable_result_models
Allowlist of `{class name: model}` for every cacheable result type. Derived from `MONOLITH_RESULTS` (the SDK's per-method result registry) so it
fastmcp_slim/fastmcp/client/caching.py:59
↓ 1 callersFunction_call_result_to_dict
Serialize a ``CallToolResult`` to a JSON-safe dict.
fastmcp_slim/fastmcp/cli/client.py:463
↓ 1 callersFunction_can_open_browser
()
fastmcp_slim/fastmcp/cli/deploy/command.py:70
↓ 1 callersMethod_capture_shared_context
Snapshot the live ``SharedContext`` ContextVar values. The SDK v2 dispatcher runs each request handler in the *message sender's* cont
fastmcp_slim/fastmcp/server/mixins/lifespan.py:160
↓ 1 callersMethod_chat_completion_to_result_with_tools
Convert OpenAI response to CreateMessageResultWithTools.
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:452
↓ 1 callersFunction_check_fastmcp_imports
Return list of broken fastmcp import descriptions.
tests/docs/test_doc_examples.py:65
↓ 1 callersMethod_check_hashed_target
Apply this provider's own checks to the tool a hashed lookup found. During `get_tool_by_hash()` the bottom of the `get_tool()` chain
fastmcp_slim/fastmcp/server/providers/base.py:309
↓ 1 callersFunction_check_removed_kwargs
Raise helpful TypeErrors for kwargs FastMCP no longer accepts.
fastmcp_slim/fastmcp/server/server.py:216
↓ 1 callersFunction_check_syntax
Return error description if syntax is invalid, else None.
tests/docs/test_doc_examples.py:55
↓ 1 callersMethod_check_version_mixing
Check that versioned and unversioned components aren't mixed. LocalProvider enforces a simple rule: for any given name/URI, all regis
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:134
↓ 1 callersFunction_claim_client_tool_call
True once per client ``tools/call``: for the dispatch the client addressed.
fastmcp_slim/fastmcp/server/dependencies.py:269
↓ 1 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:231
↓ 1 callersMethod_clear_consent_binding_cookie
Remove a specific consent binding entry after successful callback.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:398
↓ 1 callersMethod_clear_consent_state_for_transaction
Expire the consent state belonging to one completed transaction. Only this transaction's cookies are removed. Another consent flow the
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:277
↓ 1 callersFunction_clear_oidc_configuration_cache
()
fastmcp_slim/fastmcp/server/auth/oidc_proxy.py:53
↓ 1 callersFunction_clear_signature_caches
Clear signature-related caches for a function. Called after modifying a function's signature to ensure downstream code sees the updated signa
fastmcp_slim/fastmcp/server/dependencies.py:490
↓ 1 callersMethod_close_members
( self, held: contextlib.AsyncExitStack, exc_type: type[BaseException] | None,
fastmcp_slim/fastmcp/client/group.py:153
↓ 1 callersFunction_codec_for
One codec per key, so the derivation cost is paid once per process. The PBKDF2 stretch takes about a second, and every task submission and ev
fastmcp_tasks/fastmcp_tasks/encryption.py:152
↓ 1 callersFunction_coerce_version
Coerce version to string, accepting int, float, or str. Raises TypeError for non-scalar types (list, dict, set, etc.). Raises ValueError if v
fastmcp_slim/fastmcp/utilities/components.py:48
↓ 1 callersFunction_collect_providers
List API provider directories (e.g. 'github.com', 'amazonaws.com').
tests/utilities/json_schema_type/test_real_world_schemas.py:231
↓ 1 callersMethod_compose_tool_call_interceptors
Nest interceptors after middleware, with the first registration outermost.
fastmcp_slim/fastmcp/server/mixins/extensions.py:220
↓ 1 callersFunction_compute_module_name
Compute the dotted module name for a file within a package. Args: file_path: Path to the Python file. package_root: Root director
fastmcp_slim/fastmcp/server/providers/filesystem_discovery.py:103
↓ 1 callersFunction_configured_proxy_url
Return the proxy URL to route proxy-trust fetches through, if any is set. Reads ``HTTPS_PROXY``/``https_proxy`` first, falling back to ``ALL_PROX
fastmcp_slim/fastmcp/server/auth/ssrf.py:80
↓ 1 callersFunction_conformant_discover_only
Hold ``session.send_discover`` to the same wire schema every later reply must meet. ``negotiate_auto`` accepts a probe that parses as the version
fastmcp_slim/fastmcp/client/client.py:140
↓ 1 callersMethod_connect_all
(self)
fastmcp_slim/fastmcp/client/group.py:106
↓ 1 callersFunction_constrain_raw_string
Apply string keywords to the raw instance before `base` parses it, as JSON Schema does. Cached so a schema seen on every tool call maps to one ty
fastmcp_slim/fastmcp/utilities/json_schema_type.py:475
↓ 1 callersFunction_contains_bytes_type
Check if *tp* is or contains bytes, recursing through unions and Annotated.
fastmcp_slim/fastmcp/tools/function_parsing.py:34
↓ 1 callersFunction_contains_prefab_type
Check if *tp* is or contains a prefab type, recursing through unions and Annotated.
fastmcp_slim/fastmcp/tools/function_parsing.py:47
↓ 1 callersMethod_context_manager
(self)
fastmcp_slim/fastmcp/client/client.py:804
↓ 1 callersFunction_convert_schema
( schema: Mapping[str, Any] | bool, schemas: Mapping[str, Any], resolving_refs: frozenset[str], )
fastmcp_slim/fastmcp/utilities/json_schema_type.py:647
↓ 1 callersMethod_convert_string_arguments
Convert string arguments to expected types based on function signature.
fastmcp_slim/fastmcp/prompts/function_prompt.py:257
↓ 1 callersMethod_convert_to_parameter_location
Convert string parameter location to our ParameterLocation type.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:147
↓ 1 callersFunction_convert_to_single_content_block
( item: Any, )
fastmcp_slim/fastmcp/tools/base.py:496
↓ 1 callersMethod_convert_tool_choice_to_openai
Convert MCP tool_choice to OpenAI format.
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:438
↓ 1 callersFunction_convert_tool_to_google_genai
Convert an MCP Tool to Google GenAI format. We prune ``title`` fields from the schema because Gemini 2.5 Flash produces ``MALFORMED_FUNCTION_
fastmcp_slim/fastmcp/client/sampling/handlers/google_genai.py:148
↓ 1 callersMethod_convert_tools_to_openai
Convert MCP tools to OpenAI tool format.
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:416
↓ 1 callersFunction_count_titles
Count the `title` keys down an array-nested schema, iteratively.
tests/utilities/test_json_schema.py:32
↓ 1 callersMethod_create_after_message
( self, context: MiddlewareContext[Any], start_time: float, )
fastmcp_slim/fastmcp/server/middleware/logging.py:105
↓ 1 callersFunction_create_array_type
Create list/set type with optional constraints.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:532
← previousnext →1,501–1,600 of 13,374, ranked by callers