MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

↓ 5 callersFunction_guard_status
( *, host: str, origin: str | None = None, server: tuple[str, int] | None = None, mode: Li
tests/server/http/test_http_auth_middleware.py:50
↓ 5 callersFunction_http_auth
Build the server's transport and return the auth it resolved to.
tests/client/transports/test_oauth_transport_reuse.py:39
↓ 5 callersMethod_index
Live subscription IDs, with when each lapses. The store has no way to list keys, so each event type and each client keeps an index.
fastmcp_events/fastmcp_events/webhook_delivery.py:285
↓ 5 callersFunction_input_required
( requests: dict[str, mcp_types.ElicitRequest], request_state: str | None = None, )
tests/tasks/server/test_guard_reentrant.py:55
↓ 5 callersFunction_is_loopback_host
(host: str)
fastmcp_slim/fastmcp/server/http.py:140
↓ 5 callersMethod_list_tools
(self)
fastmcp_slim/fastmcp/server/providers/filesystem.py:210
↓ 5 callersFunction_make_dev_app
Build the authenticated Starlette development host.
fastmcp_slim/fastmcp/cli/apps_dev.py:1320
↓ 5 callersFunction_make_get_prompt_cache_key
Make a cache key for a prompt get using name, version, and arguments.
fastmcp_slim/fastmcp/server/middleware/caching.py:738
↓ 5 callersFunction_make_resolver
Create a CallTool resolver that addresses peer tools by identity. ``app_name`` is the FastMCPApp's name, known at serialization time from the
fastmcp_slim/fastmcp/apps/app.py:56
↓ 5 callersFunction_methods_server
()
tests/tasks/server/test_task_methods.py:31
↓ 5 callersFunction_mrtr_server
An SDK MCPServer whose `greet` tool elicits a name via a resolver. At 2026-07-28 the elicitation is delivered as an `InputRequiredResult`.
tests/client/client/test_input_required_driver.py:70
↓ 5 callersMethod_raises_on_provider_error
Whether a failing provider fails the aggregate operation. The global setting is read on every call so it can be toggled at runtime.
fastmcp_slim/fastmcp/server/providers/aggregate.py:223
↓ 5 callersFunction_read_cache
Read cached version info. Returns: Tuple of (cached_version, cache_timestamp) or (None, 0) if no cache.
fastmcp_slim/fastmcp/utilities/version_check.py:29
↓ 5 callersFunction_rebuild_transport
Evaluate a serialized transport expression together with its imports.
tests/cli/test_generate_cli_remote.py:37
↓ 5 callersMethod_request
( self, method: str, path: str, *, authenticated: bool = False,
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:191
↓ 5 callersMethod_request_manifests
(self)
fastmcp_slim/fastmcp/skills/provider.py:92
↓ 5 callersFunction_require_events_extension
(client: Client)
fastmcp_events/fastmcp_events/subscription.py:438
↓ 5 callersMethod_require_status
(response: httpx2.Response, expected: int)
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:235
↓ 5 callersMethod_resource_server
()
tests/server/test_mrtr_guards_components.py:127
↓ 5 callersFunction_response_to_create_message_result
Convert Google GenAI response to CreateMessageResult (no tools).
fastmcp_slim/fastmcp/client/sampling/handlers/google_genai.py:380
↓ 5 callersFunction_rotate_once
(proxy)
tests/server/auth/oauth_proxy/test_refresh_reuse.py:22
↓ 5 callersFunction_run_call
(*argv: str)
tests/cli/test_client_commands.py:1013
↓ 5 callersFunction_scan_cursor_workspace
Walk up from *start_dir* looking for ``.cursor/mcp.json``.
fastmcp_slim/fastmcp/cli/discovery.py:243
↓ 5 callersFunction_scan_gemini
Scan Gemini CLI settings for MCP servers. Checks both user-level ``~/.gemini/settings.json`` and project-level ``.gemini/settings.json``.
fastmcp_slim/fastmcp/cli/discovery.py:270
↓ 5 callersFunction_schema_title
(schema: Mapping[str, Any], default: str)
fastmcp_slim/fastmcp/utilities/json_schema_type.py:1243
↓ 5 callersFunction_schema_type
(schema: Any)
fastmcp_slim/fastmcp/server/transforms/search/base.py:93
↓ 5 callersMethod_server
(self)
tests/tasks/server/test_task_config.py:150
↓ 5 callersFunction_session_request_meta
Adapt forwardable metadata for a direct backend-session call. Direct session calls bypass the high-level client mixins, so trace context is i
fastmcp_slim/fastmcp/server/providers/proxy.py:231
↓ 5 callersMethod_session_with_capabilities
Build a session over a 2026-07-28 request envelope.
tests/test_apps.py:459
↓ 5 callersMethod_sign_cookie
Sign a cookie payload with HMAC-SHA256. Returns: base64(payload).base64(signature)
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:147
↓ 5 callersFunction_spec
(path: str, method: str, operation: dict[str, Any])
tests/server/providers/openapi/test_undeclared_arguments.py:47
↓ 5 callersFunction_stash_proxy_request_context
Stash the proxy's ``RequestContext`` on a ``ProxyClient`` before a backend call. Every proxy component (tool, resource, template, prompt) must ca
fastmcp_slim/fastmcp/server/providers/proxy.py:307
↓ 5 callersFunction_trace_meta
()
fastmcp_events/fastmcp_events/subscription.py:98
↓ 5 callersMethod_transform_uri
Apply namespace to a URI: protocol://path → protocol://namespace/path.
fastmcp_slim/fastmcp/server/transforms/namespace.py:77
↓ 5 callersFunction_unwrap_type_alias
Resolve a PEP 695 ``type X = ...`` alias to its underlying value. ``get_origin()`` returns ``None`` for a ``TypeAliasType``, so an alias that
fastmcp_slim/fastmcp/tools/function_parsing.py:82
↓ 5 callersFunction_upstream
(status: int)
tests/server/providers/openapi/test_http_errors.py:51
↓ 5 callersFunction_upstream_client
(requests: list[httpx2.Request])
tests/server/providers/openapi/test_undeclared_arguments.py:63
↓ 5 callersFunction_validate_relative_path
(path: str)
fastmcp_slim/fastmcp/skills/skill.py:54
↓ 5 callersMethod_verify_cookie
Verify and extract payload from signed cookie. Returns: payload if signature valid, None otherwise
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:157
↓ 5 callersFunction_write_json
(payload: object, *, stderr: bool = False)
fastmcp_slim/fastmcp/cli/deploy/output.py:38
↓ 5 callersFunction_write_utf8_json
(path: Path, data: dict[str, Any])
tests/cli/test_config_encoding.py:47
↓ 5 callersMethodadd_exception
( self, exception: BaseException, *, url: str | re.Pattern[str] | httpx2.URL |
tests/utilities/httpx2_mock.py:127
↓ 5 callersMethodadd_template
Add a resource template to the server. Args: template: A ResourceTemplate instance to add Returns: The templ
fastmcp_slim/fastmcp/server/server.py:2342
↓ 5 callersMethodainvoke
( self, messages: list[Any], *args: Any, **kwargs: Any )
tests/downstream/smoke_agno.py:75
↓ 5 callersFunctionarguments_received_through_batch_file
Return the batch file and the argv its program receives. Models `cmd /s /c`, then a batch file line such as npm's `"%_prog%" "%dp0%\\cli.js"
tests/cli/test_install_cli_arguments.py:177
↓ 5 callersFunctionassert_files_match
(client: Client, entry: MCPSkill)
tests/skills/test_composition.py:34
↓ 5 callersMethodauthorize
Start OAuth transaction and redirect to Azure AD. Override parent's authorize method to filter out the 'resource' parameter which is
fastmcp_slim/fastmcp/server/auth/providers/azure.py:417
↓ 5 callersFunctioncall
()
tests/client/test_stdio.py:119
↓ 5 callersFunctioncaller
(scopes: frozenset[str] | None)
tests/pbt/test_middleware.py:153
↓ 5 callersFunctioncheck_public_response_is_valid
The public response validates, an empty one is rejected, and the request still carries and requires `password`.
tests/server/providers/openapi/test_write_only_responses.py:194
↓ 5 callersFunctionclaude_project
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_claude_code_precedence.py:14
↓ 5 callersFunctioncreate_launch
(client: TestClient, tool: str = "ping")
tests/cli/test_apps_dev_server.py:98
↓ 5 callersFunctioncreate_openapi_server
Helper to create a FastMCP server with OpenAPIProvider.
tests/server/providers/openapi/test_deepobject_style.py:11
↓ 5 callersFunctioncreate_page
Create a complete HTML page with FastMCP styling. Args: content: HTML content to place inside the page title: Page title
fastmcp_slim/fastmcp/utilities/ui.py:453
↓ 5 callersMethodcreate_proxy
Create an OAuth proxy with specified storage.
tests/server/auth/test_oauth_proxy_storage.py:49
↓ 5 callersMethodcreate_proxy
(self, jwt_verifier, storage=None)
tests/server/auth/test_oauth_proxy_storage.py:247
↓ 5 callersMethodcreate_scoped_app
( required_scopes: list[str], scopes_supported: list[str], challenge_scopes: list[str]
tests/server/auth/test_enhanced_error_responses.py:700
↓ 5 callersFunctioncreate_server
()
tests/server/http/test_sse_host_origin_protection.py:28
↓ 5 callersFunctiondateLabel
(at, options = {})
status-site/app.js:35
↓ 5 callersFunctiondayLabel
(day, options = {})
status-site/downloads.js:27
↓ 5 callersFunctiondefault_log_handler
Default handler that properly routes server log messages to appropriate log levels.
fastmcp_slim/fastmcp/client/logging.py:17
↓ 5 callersMethodexposed
(self, kind: str, owner: str, ident: str)
tests/pbt/test_components_machine.py:134
↓ 5 callersFunctionformat_fastmcp_info
Format FastMCPInfo as FastMCP-specific JSON. This includes FastMCP-specific fields like tags, enabled, annotations, etc.
fastmcp_slim/fastmcp/utilities/inspect.py:438
↓ 5 callersMethodfrom_dict
(cls, data: dict[str, str])
fastmcp_slim/fastmcp/client/oauth_callback.py:92
↓ 5 callersFunctiongenerate_schema
Generate JSON schema for fastmcp.json files. This is used to create the schema file that IDEs can use for validation and auto-completion.
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:446
↓ 5 callersFunctionget_auth_span_attributes
Get auth attributes for the current request, if authenticated.
fastmcp_slim/fastmcp/server/telemetry.py:69
↓ 5 callersMethodget_client_info
(self)
fastmcp_slim/fastmcp/client/auth/oauth.py:179
↓ 5 callersFunctionget_dataclass_field
(type: type, field_name: str)
tests/utilities/json_schema_type/test_advanced.py:18
↓ 5 callersMethodget_meta
(self)
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:60
↓ 5 callersMethodget_notifications
Get all recorded notifications, optionally filtered by method.
tests/server/test_session_visibility.py:37
↓ 5 callersMethodget_prompt_mcp
Send a prompts/get request and return the complete MCP protocol result. Args: name (str): The name of the prompt to retrieve.
fastmcp_slim/fastmcp/client/mixins/prompts.py:120
↓ 5 callersMethodget_resource_template
Get resource template by transformed URI with all transforms applied. Note: This method does NOT filter disabled components. The Server
fastmcp_slim/fastmcp/server/providers/base.py:395
↓ 5 callersMethodget_resource_template
( self, uri: str, call_next: GetResourceTemplateNext, *, version: Vers
tests/server/auth/test_authorization.py:1531
↓ 5 callersMethodget_routes
Delegate route creation to the server.
fastmcp_slim/fastmcp/server/auth/auth.py:1038
↓ 5 callersMethodget_since
(self, since_id: int = 0)
fastmcp_slim/fastmcp/cli/apps_dev_log.py:169
↓ 5 callersMethodget_tool_by_hash
Get an app-visible tool by its identity hash, through `get_tool()`. The identity hash survives renaming, so `_get_tool_by_hash()` finds
fastmcp_slim/fastmcp/server/providers/base.py:270
↓ 5 callersMethodget_tool_catalog
Fetch the real tool catalog, bypassing this transform. The result is deduplicated by name so that only the highest version of each to
fastmcp_slim/fastmcp/server/transforms/catalog.py:172
↓ 5 callersFunctioninstall_claude_desktop
Install FastMCP server in Claude Desktop. Args: file: Path to the server file server_object: Optional server object name (for :ob
fastmcp_slim/fastmcp/cli/install/claude_desktop.py:49
↓ 5 callersMethodis_allowed
Check if a request is allowed.
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:147
↓ 5 callersMethodis_fresh
(self, ttl: float)
fastmcp_slim/fastmcp/server/providers/proxy.py:992
↓ 5 callersFunctionjson_values
(max_leaves: int = 8)
tests/pbt/schema_strategies.py:19
↓ 5 callersFunctionlisted
(provider: SkillsDirectoryProvider)
tests/skills/test_directory_provider.py:29
↓ 5 callersMethodload
(self)
fastmcp_slim/fastmcp/cli/deploy/configuration.py:40
↓ 5 callersMethodload_access_token
Validate FastMCP JWT by swapping for upstream token. This implements the token swap pattern: 1. Verify FastMCP JWT signature (proves
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:2413
↓ 5 callersFunctionmake
(tag, text, className)
status-site/pbt.js:39
↓ 5 callersFunctionmake_app_server
A server whose ``contacts`` app backend tool ``save`` records its calls.
tests/server/auth/test_authorization.py:1671
↓ 5 callersFunctionmake_proxy
(jwt_verifier, ttl: int | None)
tests/server/auth/oauth_proxy/test_registration_ttl.py:18
↓ 5 callersFunctionmanifest_for
(files: dict[str, bytes])
tests/skills/test_read_skill.py:179
↓ 5 callersFunctionmanifest_server
(files: dict[str, bytes], manifest: dict[str, Any])
tests/skills/test_read_skill.py:160
↓ 5 callersFunctionmock_cognito_oidc_discovery
Context manager to mock AWS Cognito OIDC discovery endpoint.
tests/server/auth/providers/test_aws.py:12
↓ 5 callersFunctionnested_discriminator_spec
The discriminated parent sits below the body: a property and array items.
tests/server/providers/openapi/test_openapi_discriminator.py:289
↓ 5 callersFunctionnew_mock_context
Create a new mock middleware context.
tests/server/middleware/test_logging.py:38
↓ 5 callersFunctionnormalize_timeout_to_timedelta
Normalize a timeout value to a timedelta. Args: value: Timeout value as int/float (seconds), timedelta, or None Returns: tim
fastmcp_slim/fastmcp/utilities/timeout.py:8
↓ 5 callersMethodnotify_prompts_changed
Tell listening clients that this server's prompt list changed. See `notify_tools_changed` for delivery semantics.
fastmcp_slim/fastmcp/server/server.py:2132
↓ 5 callersMethodon_message
Handle errors for all messages.
fastmcp_slim/fastmcp/server/middleware/error_handling.py:120
↓ 5 callersMethodon_message
Start ping task on first message from a connection.
fastmcp_slim/fastmcp/server/middleware/ping.py:45
↓ 5 callersFunctionparse_header
(value: str)
fastmcp_remote/fastmcp_remote/cli.py:78
↓ 5 callersFunctionpet_spec
(openapi_version: str)
tests/server/providers/openapi/test_read_only_requests.py:12
↓ 5 callersFunctionprepare
Prepare a FastMCP project by creating a persistent uv environment. This command creates a persistent uv project with all dependencies installed:
fastmcp_slim/fastmcp/cli/cli.py:1025
↓ 5 callersMethodprepare
Prepare the Python environment using uv. Args: output_dir: Directory where the persistent uv project will be created.
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/environments/uv.py:109
← previousnext →801–900 of 17,519, ranked by callers