MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

↓ 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:68
↓ 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:1466
↓ 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:1365
↓ 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 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
↓ 1 callersMethod_connect_all
(self)
fastmcp_slim/fastmcp/client/group.py:126
↓ 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:617
↓ 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:840
↓ 1 callersFunction_convert_exclusive_bounds
Convert OpenAPI 3.0 boolean exclusive bounds to JSON Schema numeric bounds. ``{"minimum": 5, "exclusiveMinimum": true}`` becomes ``{"exclusiv
fastmcp_slim/fastmcp/utilities/openapi/json_schema_converter.py:186
↓ 1 callersFunction_convert_input_schema
Convert a combined tool input schema to JSON Schema. readOnly properties are removed: the server sets them, so a request does not send them,
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:825
↓ 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:1067
↓ 1 callersMethod_convert_string_arguments
Convert string arguments to expected types based on function signature.
fastmcp_slim/fastmcp/prompts/function_prompt.py:271
↓ 1 callersMethod_convert_to_parameter_location
Convert string parameter location to our ParameterLocation type.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:148
↓ 1 callersFunction_convert_to_single_content_block
( item: Any, )
fastmcp_slim/fastmcp/tools/base.py:636
↓ 1 callersMethod_convert_tool_choice_to_openai
Convert MCP tool_choice to OpenAI format.
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:448
↓ 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:182
↓ 1 callersMethod_convert_tools_to_openai
Convert MCP tools to OpenAI tool format.
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:426
↓ 1 callersFunction_count_titles
Count the `title` keys down an array-nested schema, iteratively.
tests/utilities/test_json_schema.py:33
↓ 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/tuple type with optional constraints.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:917
↓ 1 callersMethod_create_enhanced_error_response
Create enhanced error response with content negotiation. Args: request: The original request client_id: The unregiste
fastmcp_slim/fastmcp/server/auth/handlers/authorize.py:289
↓ 1 callersFunction_create_enum
Create enum type from list of values.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:709
↓ 1 callersMethod_create_error_message
( self, context: MiddlewareContext[Any], start_time: float, error: Exception,
fastmcp_slim/fastmcp/server/middleware/logging.py:89
↓ 1 callersMethod_create_forwarding_transform
Create schema and forwarding function that encapsulates all transformation logic. This method builds a new JSON schema for the transformed to
fastmcp_slim/fastmcp/tools/tool_transform.py:777
↓ 1 callersFunction_create_numeric_type
Create numeric type with optional constraints.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:687
↓ 1 callersMethod_create_openapi_resource
Create and register an OpenAPIResource.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:315
↓ 1 callersMethod_create_openapi_template
Create and register an OpenAPIResourceTemplate.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:350
↓ 1 callersMethod_create_openapi_tool
Create and register an OpenAPITool.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:259
↓ 1 callersFunction_create_prefix_items_type
Validate positions while preserving unrestricted-list compatibility.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:813
↓ 1 callersMethod_create_protected_resource_route
Build a protected resource metadata route that discovers scopes lazily. Mirrors ``create_protected_resource_routes`` (RFC 9728) but resolves
fastmcp_slim/fastmcp/server/auth/providers/descope.py:293
↓ 1 callersMethod_create_proxy
Create underlying transport, proxy client, and proxy server for a single backend. The ProxyClient is connected via the AsyncExitStack *before
fastmcp_slim/fastmcp/client/transports/config.py:317
↓ 1 callersFunction_create_pydantic_model
Create Pydantic BaseModel from object schema with additionalProperties.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:1321
↓ 1 callersFunction_create_roots_callback_from_fn
( fn: Callable[[RequestContext[ClientSession, LifespanContextT]], RootsList] | Callable[[RequestContex
fastmcp_slim/fastmcp/client/roots.py:58
↓ 1 callersFunction_create_roots_callback_from_roots
( roots: RootsList, )
fastmcp_slim/fastmcp/client/roots.py:45
↓ 1 callersFunction_create_string_type
Create string type with optional constraints.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:567
← previousnext →1,901–2,000 of 15,974, ranked by callers