MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,098 in github.com/PrefectHQ/fastmcp

↓ 1 callersFunction_fingerprint
Identity of everything the model is shown about a tool.
fastmcp_slim/fastmcp/experimental/transforms/jev_search.py:73
↓ 1 callersFunction_flatten_discriminator_subtypes
Flatten the subtypes named by an OpenAPI ``discriminator.mapping``. A parent schema carrying a discriminator describes its children only thro
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:432
↓ 1 callersFunction_form_body_schema_spec
Build a form-urlencoded spec around an arbitrary body schema.
tests/server/providers/openapi/test_object_request_bodies.py:249
↓ 1 callersFunction_form_property_schemas
Collect a form body's property schemas, merging `allOf` members. Returns the declared properties plus the `additionalProperties` schema (if a
fastmcp_slim/fastmcp/utilities/openapi/director.py:158
↓ 1 callersFunction_format_callback_host_for_url
(host: str)
fastmcp_slim/fastmcp/client/auth/oauth.py:45
↓ 1 callersFunction_format_duration
(seconds: int)
fastmcp_slim/fastmcp/cli/deploy/output.py:75
↓ 1 callersFunction_format_origin_host
(host: str)
fastmcp_slim/fastmcp/server/http.py:188
↓ 1 callersFunction_format_params
Format inputSchema properties as a compact signature.
examples/search/client_regex.py:34
↓ 1 callersFunction_format_params
Format inputSchema properties as a compact signature.
examples/search/client_bm25.py:34
↓ 1 callersFunction_format_params
Format inputSchema properties as a compact signature.
examples/code_mode/client.py:37
↓ 1 callersFunction_format_prompt_result
Format PromptResult for tool output. Returns JSON with the messages array. Preserves embedded resources as structured JSON objects.
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:154
↓ 1 callersFunction_format_result
Format ResourceResult for tool output. Single text content is returned as-is. Single binary content is base64-encoded. Multiple contents are
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:163
↓ 1 callersFunction_format_schema_for_help
Format a JSON schema for display in help text.
fastmcp_slim/fastmcp/cli/generate.py:114
↓ 1 callersFunction_format_uptime
()
examples/apps/system_monitor/system_monitor_server.py:93
↓ 1 callersFunction_forward_ctx
Fold middleware edits to the *message* back into the SDK context. The outer pass hands middleware a *copy* of the raw params (see ``_raw_mess
fastmcp_slim/fastmcp/server/low_level.py:75
↓ 1 callersMethod_function_has_kwargs
Check if function accepts **kwargs. This determines whether a custom function can accept arbitrary keyword arguments, which affects h
fastmcp_slim/fastmcp/tools/tool_transform.py:1162
↓ 1 callersFunction_gate_transaction_reads
Hold every transaction read open until the gate releases. Parks concurrent consent renders in the window where each has read the transaction
tests/server/auth/test_oauth_consent_flow.py:201
↓ 1 callersMethod_generate_default_name
Generate a default name from the route.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:212
↓ 1 callersMethod_generate_manifest
Generate JSON manifest for the skill.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:79
↓ 1 callersMethod_generate_pkce_pair
Generate PKCE code verifier and challenge pair. Returns: Tuple of (code_verifier, code_challenge) using S256 method
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:924
↓ 1 callersFunction_geocode
Geocode an address using OpenStreetMap Nominatim (free, no key).
examples/apps/map/map_server.py:33
↓ 1 callersFunction_get
(d: dict[str, Any], snake: str, camel: str)
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:104
↓ 1 callersMethod_get_backend
(self, uri: str)
fastmcp_slim/fastmcp/skills/_proxy.py:125
↓ 1 callersMethod_get_callback
( self, request: httpx2.Request )
tests/utilities/httpx2_mock.py:141
↓ 1 callersMethod_get_client
Gets a client instance by calling the sync or async factory.
fastmcp_slim/fastmcp/server/providers/proxy.py:548
↓ 1 callersMethod_get_client
Gets a client instance by calling the sync or async factory.
fastmcp_slim/fastmcp/server/providers/proxy.py:666
↓ 1 callersMethod_get_client
Gets a client instance by calling the sync or async factory.
fastmcp_slim/fastmcp/server/providers/proxy.py:819
↓ 1 callersMethod_get_client
(self)
fastmcp_slim/fastmcp/server/providers/proxy.py:1653
↓ 1 callersMethod_get_client_identifier
Get client identifier for rate limiting.
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:335
↓ 1 callersFunction_get_client_log_level
Return the minimum log level the client set with logging/setLevel, if any. v2 constructs sessions per-request, so the stable identity is the
fastmcp_slim/fastmcp/server/context.py:1362
↓ 1 callersMethod_get_component_identity
Get the identity (type, name/uri) for a component. Returns: A tuple of (component_type, logical_name) where logical_name is
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:113
↓ 1 callersMethod_get_expanded_path
Expand environment variables and user home in path.
fastmcp_slim/fastmcp/utilities/types.py:269
↓ 1 callersFunction_get_fastmcp_app_name
Read the FastMCPApp name from a tool's metadata, if present.
fastmcp_slim/fastmcp/tools/base.py:692
↓ 1 callersFunction_get_forwardable_http_headers
Return ambient headers safe to copy onto a new MCP connection. MCP transport and routing headers describe one HTTP hop and must be regenerate
fastmcp_slim/fastmcp/client/dependencies.py:22
↓ 1 callersFunction_get_free_port
()
tests/conformance/test_conformance.py:34
↓ 1 callersFunction_get_from_type_handler
Get the appropriate type handler for the schema.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:1042
↓ 1 callersMethod_get_injected_tool
The injected tool with this name from the outermost middleware that has one.
fastmcp_slim/fastmcp/server/server.py:779
↓ 1 callersFunction_get_json_serializer
Build a serializer that follows the real JSON serialization contract. `ser_json_inf_nan="constants"` keeps non-finite floats as NaN/Infinity JSON
fastmcp_slim/fastmcp/tools/base.py:82
↓ 1 callersMethod_get_jwks_key
(self, kid: str | None)
tests/server/auth/test_jwks_refresh.py:235
↓ 1 callersMethod_get_mime_type
Get MIME type from format or guess from file extension.
fastmcp_slim/fastmcp/utilities/types.py:273
↓ 1 callersMethod_get_mime_type
Get MIME type from format or guess from file extension.
fastmcp_slim/fastmcp/utilities/types.py:346
↓ 1 callersMethod_get_mime_type
Get MIME type from format or guess from file extension.
fastmcp_slim/fastmcp/utilities/types.py:414
↓ 1 callersFunction_get_package_path
Return a package directory without importing the package.
fastmcp_slim/fastmcp/utilities/logging.py:16
↓ 1 callersMethod_get_primary_success_response
Get the primary success response for an MCP tool. We only need one success response.
fastmcp_slim/fastmcp/utilities/openapi/parser.py:433
↓ 1 callersMethod_get_prompt
Get a specific prompt by name. Default implementation filters _list_prompts() and picks the highest version matching the spec.
fastmcp_slim/fastmcp/server/providers/base.py:563
↓ 1 callersMethod_get_resource
Get a specific resource by URI. Default implementation filters _list_resources() and returns highest version matching the spec.
fastmcp_slim/fastmcp/server/providers/base.py:501
↓ 1 callersMethod_get_resource
( self, uri: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/proxy.py:1157
↓ 1 callersMethod_get_resource_template
Get a resource template that matches the given URI. Default implementation lists all templates, finds those whose pattern matches the
fastmcp_slim/fastmcp/server/providers/base.py:532
↓ 1 callersFunction_get_result
Extract the value from a CallToolResult (structured or text).
examples/search/client_regex.py:24
↓ 1 callersFunction_get_result
Extract the value from a CallToolResult (structured or text).
examples/search/client_bm25.py:24
↓ 1 callersFunction_get_result
Extract the value from a CallToolResult (structured or text).
examples/code_mode/client.py:27
↓ 1 callersMethod_get_sandbox
Lazily create the Pyodide sandbox.
fastmcp_slim/fastmcp/apps/generative.py:91
↓ 1 callersMethod_get_skill_entry
( self, uri: str, context: ServerRequestContext[Any, Any] )
fastmcp_slim/fastmcp/skills/_source.py:21
↓ 1 callersMethod_get_tool
Get a tool by name via aggregation from providers. Extends AggregateProvider._get_tool() with component-level auth checks. Args:
fastmcp_slim/fastmcp/server/server.py:1002
↓ 1 callersFunction_get_tool_hash
Read the stored hash from tool meta, or compute from app name + tool name.
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:45
↓ 1 callersFunction_get_tool_resolver
Get the Prefab peer-reference resolver bound to an app name.
fastmcp_slim/fastmcp/tools/base.py:668
↓ 1 callersMethod_get_verification_key
Get the verification key for the token.
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:348
↓ 1 callersMethod_get_verification_token
Get the token string to pass to the token verifier. Returns the upstream access token by default. Subclasses can override to verify a
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:2109
↓ 1 callersMethod_get_verifier
(self, issuer: str)
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:306
↓ 1 callersFunction_google_function_response_image_part
Build a Gemini function-response image part when supported by the SDK.
fastmcp_slim/fastmcp/client/sampling/handlers/google_genai.py:62
↓ 1 callersFunction_guard_result
(status_code: int)
tests/server/http/test_sse_host_origin_protection.py:38
↓ 1 callersMethod_handle_async_request
(self, request: httpx2.Request)
tests/utilities/httpx2_mock.py:176
↓ 1 callersMethod_handle_get
( self, context: ServerRequestContext[Any, Any], params: GetSkillParams, )
tests/skills/test_extension.py:109
↓ 1 callersMethod_handle_request
(self, request: httpx2.Request)
tests/utilities/httpx2_mock.py:172
↓ 1 callersFunction_handle_resource
Handle a resource read within an open client session.
fastmcp_slim/fastmcp/cli/client.py:688
↓ 1 callersFunction_handle_tool_call
Handle a tool call within an open client session.
fastmcp_slim/fastmcp/cli/client.py:639
↓ 1 callersFunction_has_dot_segments
Return True if a URI path contains `.` or `..` segments. Browsers collapse dot-segments when resolving a 302 Location per RFC 3986 §5.2.4. Al
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:304
↓ 1 callersMethod_has_freshness_headers
Return True when response includes cache freshness directives.
fastmcp_slim/fastmcp/server/auth/cimd.py:302
↓ 1 callersFunction_has_prefab_return_type
Check if a FunctionTool's return type annotation is a prefab type.
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:55
↓ 1 callersFunction_has_transport_cause
(error: RuntimeError)
fastmcp_slim/fastmcp/server/providers/proxy.py:146
↓ 1 callersFunction_has_ui_resource
Return True if the tool has a UI resourceUri in its metadata.
fastmcp_slim/fastmcp/cli/apps_dev.py:823
↓ 1 callersFunction_has_unsupported_critical_headers
(header: dict[str, Any])
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:65
↓ 1 callersFunction_head_matches_pinned
Return True when CLONE_DIR is already checked out at the pinned commit.
tests/utilities/json_schema_type/test_real_world_schemas.py:193
↓ 1 callersFunction_header
(title: str, status: str)
examples/apps/media_picker/media_picker_server.py:340
↓ 1 callersFunction_host_matches
(host: str, allowed_hosts: Sequence[str])
fastmcp_slim/fastmcp/server/http.py:159
↓ 1 callersMethod_import_module
Import a Python module from a file path. Args: file_path: Path to the Python file Returns: The imported modu
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/sources/filesystem.py:83
↓ 1 callersFunction_inclusive_bound
Value for a non-strict bound, or None when a strict bound replaces the sibling. A boolean ``true`` (draft-04) always replaces the sibling: ``{"mi
fastmcp_slim/fastmcp/utilities/json_schema_type.py:657
↓ 1 callersFunction_inert_text_block
Keep server-supplied text from adding code blocks to SKILL.md. A description containing a code fence could otherwise plant its own `bash` blo
fastmcp_slim/fastmcp/cli/generate.py:702
↓ 1 callersMethod_initialize
(self)
fastmcp_slim/fastmcp/client/auth/client_credentials.py:407
↓ 1 callersFunction_inline_result
Convert a completed task's raw return into an inlined CallToolResult dict. A completed task should never carry an ``InputRequiredResult``: a func
fastmcp_tasks/fastmcp_tasks/handlers.py:211
↓ 1 callersFunction_install_worker_hooks
()
fastmcp_tasks/fastmcp_tasks/extension.py:360
↓ 1 callersMethod_interpolate_env_vars
Interpolate environment variables in a string. Replaces ${VAR_NAME} with the value of VAR_NAME from the environment. If the variable
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:112
↓ 1 callersFunction_invoke_serializer
Call a serializer and await the result if it returns a coroutine.
fastmcp_slim/fastmcp/server/transforms/search/base.py:73
↓ 1 callersFunction_is_client_tool_call
Whether the tool being dispatched is the one the client's ``tools/call`` named.
fastmcp_slim/fastmcp/server/dependencies.py:297
↓ 1 callersFunction_is_fastmcp_server
(transport: object)
fastmcp_slim/fastmcp/client/transports/inference.py:202
↓ 1 callersFunction_is_insufficient_scope_challenge
True when a response is an RFC 6750 ``insufficient_scope`` step-up challenge.
fastmcp_slim/fastmcp/client/auth/client_credentials.py:98
↓ 1 callersFunction_is_json_data
Whether *value* is built only from types a JSON parser produces.
fastmcp_slim/fastmcp/tools/function_tool.py:164
↓ 1 callersFunction_is_json_media_type
Return whether a media type denotes JSON, ignoring parameters.
fastmcp_slim/fastmcp/utilities/openapi/director.py:51
↓ 1 callersFunction_is_legacy_httpx_client
Detect a legacy httpx client without importing the legacy package.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:53
↓ 1 callersFunction_is_list_only
Whether an annotation accepts only lists, optionally wrapped or nullable.
fastmcp_slim/fastmcp/resources/template.py:59
↓ 1 callersFunction_is_mergeable_object
Whether flattening *schema* into ``properties``/``required`` loses nothing. Only keywords the merge fully represents are allowed; any other const
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:381
↓ 1 callersFunction_is_openapi_directory_clone
Check whether *path* looks like a clone of the openapi-directory repo.
tests/utilities/json_schema_type/test_real_world_schemas.py:114
↓ 1 callersFunction_is_package_dir
Check if a directory is a Python package (has __init__.py).
fastmcp_slim/fastmcp/server/providers/filesystem_discovery.py:69
↓ 1 callersFunction_is_prefab_type
Check if *tp* is or contains a prefab type, recursing through unions and Annotated.
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:45
↓ 1 callersFunction_is_rate_limit_error
Check if an exception indicates a rate limit error from GitHub API. Args: excinfo: The exception info from pytest report: Optiona
tests/integration_tests/conftest.py:6
↓ 1 callersFunction_is_reserved_field_name
Whether a property name would act as a class or Pydantic control name. Leading underscores cover dunders, Pydantic private attributes, and the
fastmcp_slim/fastmcp/utilities/json_schema_type.py:1236
↓ 1 callersFunction_is_same_project_dir
Return whether a Claude Code ``projects`` key names *resolved_start*.
fastmcp_slim/fastmcp/cli/discovery.py:235
↓ 1 callersFunction_is_scalar_type
Check if response_type is a scalar type that needs wrapping.
fastmcp_slim/fastmcp/server/elicitation.py:243
↓ 1 callersMethod_is_session_dead
Check whether the session's underlying connection has closed. SDK v2 drives the session through a `JSONRPCDispatcher` rather than exp
fastmcp_slim/fastmcp/client/transports/stdio.py:305
↓ 1 callersFunction_is_simple_array
Check if schema is an array of simple types. Returns (is_simple_array, item_type_str).
fastmcp_slim/fastmcp/cli/generate.py:48
← previousnext →2,101–2,200 of 16,098, ranked by callers