MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

↓ 1 callersMethod_get_expanded_path
Expand environment variables and user home in path.
fastmcp_slim/fastmcp/utilities/types.py:290
↓ 1 callersFunction_get_fastmcp_app_name
Read the FastMCPApp name from a tool's metadata, if present.
fastmcp_slim/fastmcp/tools/base.py:552
↓ 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:607
↓ 1 callersMethod_get_injected_tool
The injected tool with this name from the outermost middleware that has one.
fastmcp_slim/fastmcp/server/server.py:653
↓ 1 callersMethod_get_mime_type
Get MIME type from format or guess from file extension.
fastmcp_slim/fastmcp/utilities/types.py:294
↓ 1 callersMethod_get_mime_type
Get MIME type from format or guess from file extension.
fastmcp_slim/fastmcp/utilities/types.py:367
↓ 1 callersMethod_get_mime_type
Get MIME type from format or guess from file extension.
fastmcp_slim/fastmcp/utilities/types.py:430
↓ 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:432
↓ 1 callersMethod_get_prompt
(self, name: str, version: Any = None)
fastmcp_slim/fastmcp/apps/app.py:428
↓ 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:561
↓ 1 callersMethod_get_resource
(self, uri: str, version: Any = None)
fastmcp_slim/fastmcp/apps/app.py:416
↓ 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:499
↓ 1 callersMethod_get_resource
( self, uri: str, version: VersionSpec | None = None )
fastmcp_slim/fastmcp/server/providers/proxy.py:1014
↓ 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:530
↓ 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_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:874
↓ 1 callersMethod_get_tool_by_hash
Look up an app-visible tool by its identity hash, before transforms. Matches on ``meta["fastmcp"]["tool_hash"]`` and requires ``"app"`` in
fastmcp_slim/fastmcp/server/providers/base.py:321
↓ 1 callersFunction_get_tool_resolver
Get the Prefab peer-reference resolver bound to an app name.
fastmcp_slim/fastmcp/tools/base.py:528
↓ 1 callersMethod_get_verification_key
Get the verification key for the token.
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:331
↓ 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:2040
↓ 1 callersMethod_get_verifier
(self, issuer: str)
fastmcp_slim/fastmcp/server/auth/identity_assertion.py:306
↓ 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, ctx: ServerRequestContext[Any, Any], params: GetTaskParams )
fastmcp_tasks/fastmcp_tasks/extension.py:199
↓ 1 callersFunction_handle_prompt
Handle a prompt get within an open client session.
fastmcp_slim/fastmcp/cli/client.py:579
↓ 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:541
↓ 1 callersFunction_handle_tool_call
Handle a tool call within an open client session.
fastmcp_slim/fastmcp/cli/client.py:492
↓ 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:255
↓ 1 callersMethod_has_freshness_headers
Return True when response includes cache freshness directives.
fastmcp_slim/fastmcp/server/auth/cimd.py:293
↓ 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:138
↓ 1 callersFunction_has_ui_resource
Return True if the tool has a UI resourceUri in its metadata.
fastmcp_slim/fastmcp/cli/apps_dev.py:936
↓ 1 callersFunction_has_unsupported_critical_headers
(header: dict[str, Any])
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:59
↓ 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:155
↓ 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 callersMethod_initialize
(self)
fastmcp_slim/fastmcp/client/auth/client_credentials.py:379
↓ 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:207
↓ 1 callersFunction_install_worker_hooks
()
fastmcp_tasks/fastmcp_tasks/extension.py:321
↓ 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:295
↓ 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:101
↓ 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:52
↓ 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:288
↓ 1 callersMethod_is_modern_protocol
True when the negotiated MCP protocol era removed the back-channel. Reads the negotiated protocol version from the active request context.
fastmcp_slim/fastmcp/server/context.py:943
↓ 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:765
↓ 1 callersFunction_is_scalar_type
Check if response_type is a scalar type that needs wrapping.
fastmcp_slim/fastmcp/server/elicitation.py:218
↓ 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:198
↓ 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:41
↓ 1 callersMethod_is_success_status_code
Check if a status code represents a successful response (2xx).
fastmcp_slim/fastmcp/utilities/openapi/parser.py:423
↓ 1 callersFunction_is_unconstrained_sequence
A sequence annotation that says nothing about its items. Bare `list`, `tuple`, `Sequence` (and their `typing` spellings), plus `list[Any]`, `
fastmcp_slim/fastmcp/tools/function_parsing.py:57
↓ 1 callersFunction_is_unspecified_host
(host: str)
fastmcp_slim/fastmcp/server/http.py:144
↓ 1 callersFunction_issue
(node: dict[str, Any])
scripts/rank_issues.py:258
↓ 1 callersMethod_iter_models_from_preferences
( model_preferences: ModelPreferences | str | list[str] | None, )
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:158
↓ 1 callersMethod_iter_models_from_preferences
( model_preferences: ModelPreferences | str | list[str] | None, )
fastmcp_slim/fastmcp/client/sampling/handlers/anthropic.py:154
↓ 1 callersFunction_json_for_script
Serialize JSON for embedding inside an HTML script element.
fastmcp_slim/fastmcp/cli/apps_dev.py:62
↓ 1 callersFunction_json_schema_type_to_str
Produce a short Python-style type string from a JSON-Schema fragment.
fastmcp_slim/fastmcp/cli/client.py:356
↓ 1 callersFunction_jwk_to_pem
(key_data: dict[str, Any])
fastmcp_slim/fastmcp/server/auth/cimd.py:48
↓ 1 callersFunction_jwk_to_pem
(key_data: JWKKeyData)
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:48
↓ 1 callersFunction_legible_call_error
Rewrite a failed call's error for the model that wrote the code. A failed `call_tool` raises so the failure interrupts the chain instead of f
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:63
↓ 1 callersFunction_lifespan_proxy
( fastmcp_server: FastMCP[LifespanResultT], )
fastmcp_slim/fastmcp/server/server.py:283
↓ 1 callersMethod_list_prompts
List all prompts from the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:1072
↓ 1 callersMethod_list_prompts
(self)
tests/server/test_providers.py:435
↓ 1 callersMethod_list_resource_templates
List all resource templates from the mounted server. Runs the mounted server's middleware so filtering/transformation applies. Return
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:514
↓ 1 callersMethod_list_resource_templates
List all resource templates from the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:1033
↓ 1 callersMethod_list_resource_templates
(self)
tests/server/test_providers.py:413
↓ 1 callersMethod_list_resources
(self)
fastmcp_slim/fastmcp/apps/app.py:413
↓ 1 callersMethod_list_resources
(self)
tests/server/test_providers.py:391
↓ 1 callersFunction_list_tools
Return raw tool dicts from the MCP server at mcp_url.
fastmcp_slim/fastmcp/cli/apps_dev.py:1216
↓ 1 callersMethod_list_tools
Return all tools.
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:347
↓ 1 callersFunction_listed_name
The name `tool` is listed under after passing through `transforms`. Each transform's listing gives the tool's name above it. A transform that
fastmcp_slim/fastmcp/server/providers/base.py:804
↓ 1 callersFunction_literal_pattern
Regex for a literal run that matches it either as written or percent-encoded. `AnyUrl` percent-encodes some characters that section 3.1 requires
fastmcp_slim/fastmcp/resources/template.py:129
↓ 1 callersMethod_load_components
Discover and register all components from the filesystem.
fastmcp_slim/fastmcp/server/providers/filesystem.py:108
↓ 1 callersMethod_load_skill
Load and parse the skill directory.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:226
↓ 1 callersFunction_load_spec
Load and return a spec dict, or None on failure.
tests/utilities/json_schema_type/test_real_world_schemas.py:205
↓ 1 callersMethod_log_message
( self, message: dict[str, str | int | float], log_level: int | None = None )
fastmcp_slim/fastmcp/server/middleware/logging.py:119
↓ 1 callersFunction_log_response_bytes
Parse accumulated proxy response bytes and log as message entries.
fastmcp_slim/fastmcp/cli/apps_dev.py:170
↓ 1 callersFunction_log_to_server_and_client
Log a message to the server and client.
fastmcp_slim/fastmcp/server/context.py:1331
↓ 1 callersFunction_looks_like_pem_public_key
Return True when key text appears to be PEM-encoded asymmetric key material.
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:191
↓ 1 callersMethod_lookup_later
(self)
tests/server/test_hashed_tool_dispatch.py:363
↓ 1 callersFunction_lowlevel_of
Resolve the underlying lowlevel MCP `Server` for either server type. The SDK's own high-level `MCPServer` exposes its lowlevel server as `_lo
fastmcp_slim/fastmcp/client/transports/memory.py:24
↓ 1 callersFunction_make_claim
()
tests/client/test_client_extensions.py:66
↓ 1 callersFunction_make_elicit_server
()
tests/test_mcp_config.py:1141
↓ 1 callersFunction_make_endpoint
Create an endpoint function for enabling/disabling a component type.
fastmcp_slim/fastmcp/contrib/component_manager/component_manager.py:150
↓ 1 callersMethod_make_execute_tool
(self)
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:698
↓ 1 callersFunction_make_greet_server
()
tests/test_mcp_config.py:1175
← previousnext →1,701–1,800 of 13,374, ranked by callers