MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,524 in github.com/PrefectHQ/fastmcp

↓ 1 callersFunction_is_scalar_type
Check if response_type is a scalar type that needs wrapping.
fastmcp_slim/fastmcp/server/elicitation.py:217
↓ 1 callersMethod_is_session_dead
Check if the session's underlying streams have been closed. Checks both the write stream (stdin to subprocess) and the read stream (s
fastmcp_slim/fastmcp/client/transports/stdio.py:143
↓ 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:405
↓ 1 callersFunction_is_unsafe_redirect_uri
(uri: str)
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:156
↓ 1 callersFunction_is_unspecified_host
(host: str)
fastmcp_slim/fastmcp/server/http.py:142
↓ 1 callersMethod_iter_models_from_preferences
( model_preferences: ModelPreferences | str | list[str] | None, )
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:157
↓ 1 callersMethod_iter_models_from_preferences
( model_preferences: ModelPreferences | str | list[str] | None, )
fastmcp_slim/fastmcp/client/sampling/handlers/anthropic.py:150
↓ 1 callersFunction_json_for_script
Serialize JSON for embedding inside an HTML script element.
fastmcp_slim/fastmcp/cli/apps_dev.py:58
↓ 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:42
↓ 1 callersFunction_lifespan_proxy
( fastmcp_server: FastMCP[LifespanResultT], )
fastmcp_slim/fastmcp/server/server.py:284
↓ 1 callersMethod_list_prompts
List all prompts from the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:739
↓ 1 callersMethod_list_prompts
(self)
tests/server/test_providers.py:434
↓ 1 callersMethod_list_prompts_mcp
List all available prompts, in the format expected by the low-level MCP server. Supports pagination when list_page_size is configured
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:168
↓ 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:606
↓ 1 callersMethod_list_resource_templates
List all resource templates from the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:702
↓ 1 callersMethod_list_resource_templates
(self)
tests/server/test_providers.py:412
↓ 1 callersMethod_list_resources
(self)
fastmcp_slim/fastmcp/apps/app.py:399
↓ 1 callersMethod_list_resources
(self)
tests/server/test_providers.py:390
↓ 1 callersFunction_list_tools
Return raw tool dicts from the MCP server at mcp_url.
fastmcp_slim/fastmcp/cli/apps_dev.py:1211
↓ 1 callersMethod_list_tools
Return all tools.
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:347
↓ 1 callersMethod_load_components
Discover and register all components from the filesystem.
fastmcp_slim/fastmcp/server/providers/filesystem.py:106
↓ 1 callersMethod_load_skill
Load and parse the skill directory.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:228
↓ 1 callersFunction_load_spec
Load and return a spec dict, or None on failure.
tests/utilities/json_schema_type/test_real_world_schemas.py:200
↓ 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:166
↓ 1 callersFunction_log_to_server_and_client
Log a message to the server and client.
fastmcp_slim/fastmcp/server/context.py:1425
↓ 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:181
↓ 1 callersFunction_make_endpoint
Create an endpoint function for enabling/disabling a component type.
fastmcp_slim/fastmcp/contrib/component_manager/component_manager.py:91
↓ 1 callersMethod_make_execute_tool
(self)
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:589
↓ 1 callersFunction_make_token
Create a test access token.
tests/server/versioning/test_visibility_version_fallback.py:20
↓ 1 callersFunction_match_host
Match host component, supporting *.example.com wildcard patterns. Args: uri_host: The host from the URI being validated pattern_h
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:54
↓ 1 callersFunction_match_path
Match path component using fnmatch for wildcard support. Args: uri_path: The path from the URI pattern_path: The path pattern (ma
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:133
↓ 1 callersFunction_match_port
Match port component, supporting * wildcard for any port. Args: uri_port: The port from the URI (None if default, string otherwise)
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:91
↓ 1 callersFunction_matches_registered_loopback_redirect_uri
( redirect_uri: AnyUrl, registered_uri: AnyUrl, )
fastmcp_slim/fastmcp/server/auth/oauth_proxy/models.py:146
↓ 1 callersFunction_matches_registered_redirect_uri
( redirect_uri: AnyUrl, registered_uris: list[AnyUrl] | None, )
fastmcp_slim/fastmcp/server/auth/oauth_proxy/models.py:175
↓ 1 callersMethod_materialize_generator
Consume generators/async generators into lists. Without this, async generators pass through as objects (repr string), and sync genera
fastmcp_slim/fastmcp/tools/function_tool.py:475
↓ 1 callersMethod_maybe_cleanup
Run ``_cleanup_expired`` at most once per cleanup interval.
fastmcp_slim/fastmcp/utilities/token_cache.py:159
↓ 1 callersMethod_maybe_cleanup
Periodically cleanup expired JTIs to prevent unbounded growth.
fastmcp_slim/fastmcp/server/auth/cimd.py:498
↓ 1 callersFunction_merge_domain_lists
( base: list[str] | None, extra: list[str] | None )
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:62
↓ 1 callersFunction_merge_domains
Merge two domain lists, deduplicating.
fastmcp_slim/fastmcp/apps/config.py:169
↓ 1 callersFunction_merge_ref_siblings
Merge sibling keywords from original $ref nodes into dereferenced schema. When jsonref resolves $ref, it replaces the entire node with the refere
fastmcp_slim/fastmcp/utilities/json_schema.py:227
↓ 1 callersFunction_mock_github_failure
Configure *mock_client* to return a 401 GitHub response.
tests/server/auth/providers/test_github.py:178
↓ 1 callersFunction_model_from_schema
Dynamically create a Pydantic model from a JSON Schema for form generation.
fastmcp_slim/fastmcp/cli/apps_dev.py:942
↓ 1 callersFunction_needs_recursive_processing
Check if the schema needs recursive processing (smarter than just checking for recursive fields).
fastmcp_slim/fastmcp/utilities/openapi/json_schema_converter.py:212
↓ 1 callersFunction_normalize_anyof_order
Normalize the order of items in anyOf arrays for consistent comparison.
tests/server/providers/local_provider_tools/test_output_schema.py:19
↓ 1 callersFunction_normalize_callback_host_for_bind
(host: str)
fastmcp_slim/fastmcp/client/auth/oauth.py:37
↓ 1 callersMethod_normalize_contents
Normalize input to list[ResourceContent].
fastmcp_slim/fastmcp/resources/base.py:175
↓ 1 callersMethod_normalize_messages
Normalize input to list[Message].
fastmcp_slim/fastmcp/prompts/base.py:169
↓ 1 callersMethod_normalize_uri
Normalize a URI to a canonical form for consent tracking.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:50
↓ 1 callersFunction_normalize_yaml_types
Convert YAML-parsed types back to JSON-native types. ``yaml.safe_load`` converts ISO date-time strings to ``datetime``/``date`` objects. The
fastmcp_slim/fastmcp/utilities/json_schema_type.py:91
↓ 1 callersFunction_open_browser
()
fastmcp_slim/fastmcp/cli/apps_dev.py:1832
↓ 1 callersMethod_origin_allowed
( self, origin: str, request_origin: str, host: str, allow_same_origin
fastmcp_slim/fastmcp/server/http.py:320
↓ 1 callersFunction_origin_host
(origin: str)
fastmcp_slim/fastmcp/server/http.py:163
↓ 1 callersFunction_origin_matches
(origin: str, allowed_origins: Sequence[str])
fastmcp_slim/fastmcp/server/http.py:215
↓ 1 callersFunction_origin_port
(scheme: str, port: int | None)
fastmcp_slim/fastmcp/server/http.py:172
↓ 1 callersFunction_package_path_matches
Check whether a package module's __path__ points at package_root. Used to tell whether a top-level package name already present in sys.module
fastmcp_slim/fastmcp/server/providers/filesystem_discovery.py:120
↓ 1 callersMethod_parse_cache_policy
Parse HTTP cache headers and derive cache behavior.
fastmcp_slim/fastmcp/server/auth/cimd.py:224
↓ 1 callersFunction_parse_dict_syntax
Parse dict syntax: {"low": {"title": "..."}} -> single-select titled.
fastmcp_slim/fastmcp/server/elicitation.py:226
↓ 1 callersFunction_parse_generic_list
Parse list[X] type annotation -> multi-select.
fastmcp_slim/fastmcp/server/elicitation.py:289
↓ 1 callersFunction_parse_host_port
Parse host and port from netloc, handling wildcards. Args: netloc: The netloc component (e.g., "localhost:8080" or "localhost:*") Re
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:22
↓ 1 callersFunction_parse_key_version
Parse a key suffix into (name_or_uri, version). Keys always contain @ as a version delimiter (sentinel pattern): - "add@1.0" → ("add", "1.0")
fastmcp_slim/fastmcp/server/tasks/requests.py:53
↓ 1 callersFunction_parse_list_syntax
Parse list patterns: [[...]], [{...}], or [...].
fastmcp_slim/fastmcp/server/elicitation.py:242
↓ 1 callersFunction_parse_scalar_type
Parse scalar types (bool, int, float, str, Literal, Enum).
fastmcp_slim/fastmcp/server/elicitation.py:299
↓ 1 callersFunction_path_argument_name
(route: HTTPRoute, parameter_name: str)
fastmcp_slim/fastmcp/server/providers/openapi/components.py:356
↓ 1 callersFunction_prefab_to_tool_result
Convert a PrefabApp to a FastMCP ToolResult.
fastmcp_slim/fastmcp/tools/base.py:592
↓ 1 callersFunction_prefix
(local_name: str)
fastmcp_slim/fastmcp/apps/app.py:72
↓ 1 callersMethod_prepare_scopes_for_token_exchange
Prepare scopes for initial token exchange (auth code -> tokens). Override this method to provide scopes during the authorization code
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1291
↓ 1 callersFunction_print_schema
Print a JSON schema with a label.
fastmcp_slim/fastmcp/cli/client.py:401
↓ 1 callersFunction_private_package_prefix
Compute a collision-safe synthetic package name anchored at a directory.
fastmcp_slim/fastmcp/server/providers/filesystem_discovery.py:134
↓ 1 callersFunction_proxy_upstream_error
(error: Exception)
fastmcp_slim/fastmcp/server/providers/proxy.py:69
↓ 1 callersMethod_read
Server entry point - read file directly without creating ephemeral resource. Note: task_meta is ignored - this template doesn't support backg
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:101
↓ 1 callersFunction_read_mcp_resource
Read an MCP resource by URI and return its text content.
fastmcp_slim/fastmcp/cli/apps_dev.py:1230
↓ 1 callersMethod_read_resource_as_task
Read a resource for background execution (SEP-1686). Returns a ResourceTask object that handles both background and immediate execution.
fastmcp_slim/fastmcp/client/mixins/resources.py:321
↓ 1 callersMethod_received_request
Override the _received_request method to route special requests through FastMCP middleware. Handles initialization requests
fastmcp_slim/fastmcp/server/low_level.py:75
↓ 1 callersFunction_record_failure
( bucket: str, schema_name: str, schema_obj: dict, exc: BaseException )
tests/utilities/json_schema_type/test_real_world_schemas.py:278
↓ 1 callersFunction_redirect_uri_path
(uri_path: str)
fastmcp_slim/fastmcp/server/auth/oauth_proxy/models.py:138
↓ 1 callersMethod_register_component
Register a single component based on its type.
fastmcp_slim/fastmcp/server/providers/filesystem.py:149
↓ 1 callersMethod_register_tools
(self)
fastmcp_slim/fastmcp/apps/choice.py:80
↓ 1 callersMethod_register_tools
(self)
fastmcp_slim/fastmcp/apps/approval.py:104
↓ 1 callersMethod_register_tools
(self)
fastmcp_slim/fastmcp/apps/form.py:146
↓ 1 callersMethod_register_tools
(self)
fastmcp_slim/fastmcp/apps/file_upload.py:279
↓ 1 callersMethod_render
( self, arguments: dict[str, Any] | None = None, task_meta: None = None, )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:262
↓ 1 callersFunction_request_origin
(scope: Scope, host: str)
fastmcp_slim/fastmcp/server/http.py:211
↓ 1 callersFunction_require_property
Return a copy of *schema* with *property_name* in ``required``.
fastmcp_slim/fastmcp/utilities/json_schema.py:106
↓ 1 callersMethod_resolve_factory
Resolve a server object or factory function to a server instance. Args: obj: The object that might be a server or factory functio
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/sources/filesystem.py:169
↓ 1 callersFunction_resolve_fastmcp_dependencies
Resolve Docket dependencies for a FastMCP function. Sets up the minimal context needed for Docket's Depends() to work: - A cache for resolved
fastmcp_slim/fastmcp/server/dependencies.py:631
↓ 1 callersFunction_resolve_json_spec
Disambiguate a ``.json`` server spec.
fastmcp_slim/fastmcp/cli/client.py:130
↓ 1 callersFunction_resolve_output_by_alias
Resolve ``by_alias`` for the output schema of return type *tp*. Unwraps ``Annotated`` and ``Optional``/``Union`` wrappers to find the underly
fastmcp_slim/fastmcp/tools/function_parsing.py:68
↓ 1 callersMethod_rewrite_prefab_uris
Replace placeholder Prefab URIs with per-tool hashed ones. For each tool whose ``meta.ui.resourceUri`` is the placeholder, reads the
fastmcp_slim/fastmcp/server/server.py:546
↓ 1 callersMethod_run
( self, arguments: dict[str, Any], task_meta: None = None, )
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:84
↓ 1 callersMethod_run_monty
Launch the sandbox and return its awaitable. Isolated so the cancellation handling in `run()` can be exercised without a live `pydant
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:182
↓ 1 callersMethod_scope_stream_id
(self, stream_id: StreamId)
fastmcp_slim/fastmcp/server/event_store.py:47
↓ 1 callersMethod_search
(self, tools: Sequence[Tool], query: str)
fastmcp_slim/fastmcp/server/transforms/search/regex.py:42
↓ 1 callersMethod_search
(self, tools: Sequence[Tool], query: str)
fastmcp_slim/fastmcp/server/transforms/search/bm25.py:131
↓ 1 callersFunction_send_images
Send post with images using the client's send_images method.
examples/atproto_mcp/src/atproto_mcp/_atproto/_posts.py:261
↓ 1 callersFunction_send_mcp_notification
Reconstruct MCP notification from dict and send to session. For input_required notifications with elicitation metadata, also sends a standard
fastmcp_slim/fastmcp/server/tasks/notifications.py:165
↓ 1 callersMethod_send_missing_auth
Send 401 response for missing authentication (RFC 6750 §3.1 compliant). When a request lacks any authentication information, per RFC 6750 §3.
fastmcp_slim/fastmcp/server/auth/middleware.py:76
← previousnext →1,101–1,200 of 10,524, ranked by callers