MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,098 in github.com/PrefectHQ/fastmcp

↓ 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:100
↓ 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:284
↓ 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:277
↓ 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:231
↓ 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:196
↓ 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:179
↓ 1 callersMethod__init__
(self, k1: float = 1.5, b: float = 0.75)
fastmcp_slim/fastmcp/server/transforms/search/bm25.py:29
↓ 1 callersMethod__init__
(self, skills: SkillCatalog | None = None)
fastmcp_slim/fastmcp/skills/provider.py:246
↓ 1 callersMethod__init__
( self, *, search_fn: SearchFn | None = None, name: str = "search", de
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:368
↓ 1 callersMethod__init__
(self, exception: Exception)
tests/client/client/test_session.py:28
↓ 1 callersMethod__init__
(self, admin: redis.Redis)
tests/downstream/smoke_redis_credentials.py:110
↓ 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:23
↓ 1 callersMethod__init__
(self, required_scopes: list[str])
tests/server/auth/test_enhanced_error_responses.py:29
↓ 1 callersMethod__setattr__
(self, name: str, value: object)
fastmcp_slim/fastmcp/skills/skill.py:259
↓ 1 callersMethod_absorb_tool_listing
( self, result: mcp_types.ListToolsResult, *, complete: bool )
fastmcp_slim/fastmcp/client/transports/base.py:89
↓ 1 callersFunction_accepts_exploded_query
Whether an annotation explicitly accepts the list produced by explode.
fastmcp_slim/fastmcp/resources/template.py:74
↓ 1 callersFunction_access_restricted_names
Names of the object's properties annotated with any of ``access_keys``. A property counts when its own schema, its ``$ref`` target, or one of its
fastmcp_slim/fastmcp/utilities/openapi/json_schema_converter.py:380
↓ 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:304
↓ 1 callersMethod_allowed_hosts_for_scope
(self, scope: Scope)
fastmcp_slim/fastmcp/server/http.py:314
↓ 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_add
(self, kind, owner, ident, version, tags)
tests/pbt/test_components_machine.py:141
↓ 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:365
↓ 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:303
↓ 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:929
↓ 1 callersFunction_apply_value_metadata
Override title/description on the wrapped ``value`` property in-place.
fastmcp_slim/fastmcp/server/elicitation.py:228
↓ 1 callersMethod_arg_transform_explicit_required_names
( transform_args: dict[str, ArgTransform] | None, )
fastmcp_slim/fastmcp/tools/tool_transform.py:1022
↓ 1 callersMethod_arg_transform_type_override_names
( transform_args: dict[str, ArgTransform] | None, )
fastmcp_slim/fastmcp/tools/tool_transform.py:1006
↓ 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
(field: str, message: str, state: str)
tests/server/transforms/test_input_required.py:31
↓ 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:180
↓ 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_async_fn
(x: int)
tests/utilities/test_async_utils.py:21
↓ 1 callersFunction_author_facts
(login: str, data: dict[str, Any], i: int)
scripts/rank_issues.py:391
↓ 1 callersFunction_author_query
(logins: Sequence[str], repo: str, since: str)
scripts/rank_issues.py:345
↓ 1 callersMethod_backend
(seen: dict[str, dict])
tests/server/telemetry/test_provider_tracing.py:147
↓ 1 callersFunction_backend_sample
Issue a handshake-era `sampling/createMessage` from a backend server.
tests/server/providers/proxy/test_proxy_client.py:80
↓ 1 callersFunction_backend_sample_result
Issue a handshake-era `sampling/createMessage` and return the whole result.
tests/server/providers/proxy/test_proxy_client.py:100
↓ 1 callersFunction_banner
(title: str, *, style: str)
fastmcp_slim/fastmcp/cli/deploy/output.py:43
↓ 1 callersFunction_bash_quote
Quote a value as one bash word that stays on one line. `shlex.quote` keeps newlines literal, which would split the word across lines of the g
fastmcp_slim/fastmcp/cli/generate.py:681
↓ 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:380
↓ 1 callersMethod_bind_restoring_handlers
(self)
fastmcp_slim/fastmcp/server/providers/proxy.py:1951
↓ 1 callersFunction_body
()
fastmcp_slim/fastmcp/cli/apps_dev.py:1714
↓ 1 callersMethod_bounded_body
Copy JSON bodies and replace unusually large payloads with a marker.
fastmcp_slim/fastmcp/cli/apps_dev_log.py:53
↓ 1 callersFunction_bounded_error_body
Limit upstream error text included in a tool error.
fastmcp_slim/fastmcp/server/providers/openapi/components.py:72
↓ 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:216
↓ 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:1481
↓ 1 callersMethod_build_execute_description
(self)
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:686
↓ 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:246
↓ 1 callersFunction_build_form_urlencoded_data
Serialize structured urlencoded fields as JSON per the OAS Encoding Object. Object properties default to `contentType: application/json`, so they
fastmcp_slim/fastmcp/utilities/openapi/director.py:189
↓ 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:926
↓ 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:1380
↓ 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:122
↓ 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:147
↓ 1 callersFunction_build_test_server
Create a minimal FastMCP server for integration tests.
tests/cli/test_client_commands.py:783
↓ 1 callersFunction_build_test_server
Create a minimal FastMCP server for integration tests.
tests/cli/test_generate_cli.py:566
↓ 1 callersFunction_cache_namespace
Isolate tokens by client, requested scopes, and configured issuer.
fastmcp_slim/fastmcp/client/auth/client_credentials.py:64
↓ 1 callersFunction_cacheable_result_models
Allowlist of `{class name: model}` for cacheable result types. Derived from `MONOLITH_RESULTS` (the SDK's per-method result registry) so it t
fastmcp_slim/fastmcp/client/caching.py:60
↓ 1 callersMethod_call
(self, kind: str, name: str, version: str | None)
tests/pbt/test_components_machine.py:348
↓ 1 callersFunction_call_shape_probe
Mirror ``fn``'s signature on a function that only returns its keyword arguments. ``TypeAdapter`` validates a callable's arguments by calling it,
fastmcp_tasks/fastmcp_tasks/components.py:250
↓ 1 callersFunction_calls_ping
(tree: ast.AST)
tests/test_examples_ping.py:13
↓ 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:462
↓ 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:311
↓ 1 callersFunction_check_removed_kwargs
Raise helpful TypeErrors for kwargs FastMCP no longer accepts.
fastmcp_slim/fastmcp/server/server.py:247
↓ 1 callersMethod_check_resource_access
( self, uri: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/server.py:1665
↓ 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:271
↓ 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:297
↓ 1 callersFunction_clear_oidc_configuration_cache
()
fastmcp_slim/fastmcp/server/auth/oidc_proxy.py:52
↓ 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:499
↓ 1 callersMethod_close_members
( self, held: contextlib.AsyncExitStack, exc_type: type[BaseException] | None,
fastmcp_slim/fastmcp/client/group.py:195
↓ 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:77
↓ 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:226
↓ 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:79
↓ 1 callersMethod_configured_source_id
Identify a configured trust source independently of its credentials.
fastmcp_slim/fastmcp/server/auth/auth.py:905
↓ 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:148
← previousnext →1,901–2,000 of 16,098, ranked by callers