MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

↓ 3 callersFunctionactivity
(login, when, *, bot=False, association="MEMBER", **fields)
tests/test_public_triage.py:51
↓ 3 callersFunctionactivity
()
status-site/app.js:312
↓ 3 callersMethodadd
(self, a: int, b: int)
tests/server/middleware/test_caching.py:129
↓ 3 callersMethodadd_resources
(self, fastmcp: FastMCP, prefix: str = "")
tests/server/middleware/test_caching.py:188
↓ 3 callersMethodaiter_bytes
()
tests/server/auth/test_ssrf_protection.py:246
↓ 3 callersMethodassert_eventually_disconnected
A cancelled exit returns at once and stops the session in its own task.
tests/client/client/test_client.py:1117
↓ 3 callersFunctionassert_files_match
(client: Client, entry: MCPSkill)
tests/skills/test_composition.py:33
↓ 3 callersFunctionassessment_model
(config: Config)
scripts/rank_issues.py:990
↓ 3 callersFunctionauthorize_device
Create, present, and complete a Horizon device authorization.
fastmcp_slim/fastmcp/cli/deploy/authentication.py:77
↓ 3 callersMethodbody
()
tests/utilities/test_asgi_transport.py:42
↓ 3 callersFunctionbuild_server
(transform)
tests/server/transforms/test_model_visibility_boundary.py:31
↓ 3 callersFunctionbuild_spec
( components: dict[str, Any], body: dict[str, Any] | None = None, response: dict[str, Any] | None
tests/server/providers/openapi/test_component_property_refs.py:16
↓ 3 callersMethodcached_connection
A transport that believes it already holds a session built for `options`.
tests/client/client/test_session.py:362
↓ 3 callersFunctioncall
()
tests/client/test_stdio.py:119
↓ 3 callersFunctioncall_tool_error
(tool: Tool, arguments: dict[str, Any])
tests/tools/tool_transform/test_args.py:546
↓ 3 callersMethodcapture
Capture current context for background task execution. ``owning_tool_name``/``owning_tool_version`` identify the exact tool the call
fastmcp_tasks/fastmcp_tasks/context.py:174
↓ 3 callersFunctioncheck_distributed_backend
Check if Docket is configured with a distributed backend. The CLI worker runs as a separate process, so it needs Redis/Valkey to coordinate w
fastmcp_tasks/fastmcp_tasks/worker_cli.py:93
↓ 3 callersMethodclear
(self)
fastmcp_slim/fastmcp/cli/deploy/credentials.py:126
↓ 3 callersMethodclear
Empty the session's user state but keep the session valid. The user-state sub-dict is reset to empty while the creation marker stays
fastmcp_slim/fastmcp/server/sessions.py:281
↓ 3 callersFunctionclear_codec_cache
Drop the cached codecs, so a changed key takes effect.
fastmcp_tasks/fastmcp_tasks/encryption.py:169
↓ 3 callersMethodcreate_initialization_options
( self, notification_options: NotificationOptions | None = None, experimental_capabili
fastmcp_slim/fastmcp/server/low_level.py:533
↓ 3 callersFunctioncreate_mcp_server
( public_key: str, auth_kwargs: dict[str, Any] | None = None, )
tests/server/auth/test_jwt_provider_bearer.py:35
↓ 3 callersFunctioncreate_okp_key_pair
Serialize an EdDSA key pair as PEM strings.
tests/server/auth/test_jwt_provider.py:87
↓ 3 callersFunctioncreate_openapi_server
Helper to create a FastMCP server with OpenAPIProvider.
tests/server/providers/openapi/test_parameter_collisions.py:11
↓ 3 callersFunctioncreate_openapi_server
Helper to create a FastMCP server with OpenAPIProvider.
tests/server/providers/openapi/test_performance_comparison.py:13
↓ 3 callersFunctioncreate_sampling_callback
( sampling_handler: SamplingHandler, )
fastmcp_slim/fastmcp/client/sampling/__init__.py:44
↓ 3 callersFunctioncreate_test_server
Create a FastMCP server with tools, resources, and prompts.
tests/client/test_sse.py:17
↓ 3 callersFunctioncreate_test_server
Create a FastMCP server with tools, resources, and prompts.
tests/client/test_streamable_http.py:22
↓ 3 callersFunctioncustom_verifier
()
tests/server/auth/test_remote_auth_required_scopes.py:24
↓ 3 callersFunctiondefault_serializer
(data: Any)
fastmcp_slim/fastmcp/tools/base.py:77
↓ 3 callersFunctiondrive_until_metadata
Run the flow through resource metadata discovery; return requested URLs.
tests/client/auth/test_oauth_static_client_issuer.py:29
↓ 3 callersFunctionemit_device_challenge
Show a device challenge before polling starts.
fastmcp_slim/fastmcp/cli/deploy/output.py:84
↓ 3 callersFunctionemit_environment_logout
Explain why logout cannot change an environment credential.
fastmcp_slim/fastmcp/cli/deploy/output.py:182
↓ 3 callersFunctionemit_logout
Show a successful local logout result.
fastmcp_slim/fastmcp/cli/deploy/output.py:216
↓ 3 callersMethodenum_schema
Generate inline enum schema. Always generates enum pattern: `{"enum": [value, ...]}` Titled enums are handled separately via dict-bas
fastmcp_slim/fastmcp/server/elicitation.py:118
↓ 3 callersMethodexchange_refresh_token
Exchange FastMCP refresh token for new FastMCP access token. Implements two-tier refresh: 1. Verify FastMCP refresh token 2.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1833
↓ 3 callersFunctionextract_exploded_query_params
Extract query parameter names declared with the RFC 6570 explode modifier. `{?tags*}` (or `{&tags*}`) marks `tags` as repeatable — `?tags=a&tags=
fastmcp_slim/fastmcp/resources/template.py:95
↓ 3 callersFunctionfastmcp_spans
Names of spans emitted by FastMCP's own instrumentation scope.
tests/telemetry/test_interop.py:43
↓ 3 callersFunctionformat_mcp_info
Format server info as standard MCP protocol JSON. Uses Client to get the standard MCP protocol format with camelCase fields. Includes version
fastmcp_slim/fastmcp/utilities/inspect.py:467
↓ 3 callersFunctionforward_raw
Forward directly to parent tool without transformation. This function bypasses all argument transformation and validation, calling the parent
fastmcp_slim/fastmcp/tools/tool_transform.py:191
↓ 3 callersMethodfrom_config
Create one independent client for each configured server. A server entry may include a FastMCP-specific ``mode`` field. It applies on
fastmcp_slim/fastmcp/client/group.py:88
↓ 3 callersMethodfrom_file
Load configuration from a JSON file. Relative `source.path` and `environment.requirements` values are anchored to the configuration f
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:223
↓ 3 callersFunctiongc_collect_harder
()
tests/client/test_stdio.py:35
↓ 3 callersFunctiongenerated_app
(server: FastMCP)
tests/cli/test_generate_cli_empty_arrays.py:12
↓ 3 callersFunctiongenerated_cli
(server: FastMCP)
tests/cli/test_generate_cli_arguments.py:14
↓ 3 callersMethodget_error_stats
Get error statistics for monitoring. The map is capped at 1000 entries. Errors that would exceed the cap are counted together under `
fastmcp_slim/fastmcp/server/middleware/error_handling.py:134
↓ 3 callersFunctionget_function_type_hints
Resolve a function's type hints, keeping `Annotated` metadata.
fastmcp_slim/fastmcp/utilities/types.py:48
↓ 3 callersFunctionget_http_headers
Extract headers from the current HTTP request if available. Never raises an exception, even if there is no active HTTP request (in which case
fastmcp_slim/fastmcp/server/dependencies.py:609
↓ 3 callersMethodget_resource_template
( self, uri: str, call_next: GetResourceTemplateNext, *, version: Vers
tests/server/auth/test_authorization.py:1531
↓ 3 callersMethodget_span_attributes
(self)
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:123
↓ 3 callersMethodget_tool
Get tool by transformed name.
fastmcp_slim/fastmcp/server/transforms/tool_transform.py:75
↓ 3 callersMethodget_tool
( self, name: str, call_next: GetToolNext, *, version: VersionSpec | None = None )
tests/server/providers/test_catalog_tool_names.py:21
↓ 3 callersMethodget_tool
( self, name: str, call_next: GetToolNext, *, version: VersionSpec | None = None )
tests/server/transforms/test_catalog.py:46
↓ 3 callersFunctionget_visibility_rules
Load visibility rule dicts from session state. Returns no rules when there is no session or no client identity to scope them to.
fastmcp_slim/fastmcp/server/transforms/visibility.py:327
↓ 3 callersFunctiongh_json
(*args: str)
scripts/maintenance_status.py:125
↓ 3 callersFunctionhandle_elicit_accept
Handle an accepted elicitation response. Args: config: The elicitation configuration from parse_elicit_response_type content: The
fastmcp_slim/fastmcp/server/elicitation.py:344
↓ 3 callersFunctionhandler
(request: httpx2.Request)
tests/cli/deploy/test_authentication.py:44
↓ 3 callersFunctioninspector
Run an MCP server with the MCP Inspector for development. Args: server_spec: Python file to run, optionally with :object suffix, or None
fastmcp_slim/fastmcp/cli/cli.py:134
↓ 3 callersFunctioninstall_cursor_workspace
Install FastMCP server to workspace-specific Cursor configuration. Args: file: Path to the server file server_object: Optional se
fastmcp_slim/fastmcp/cli/install/cursor.py:59
↓ 3 callersFunctioninstall_stdio
Generate the stdio command for running a FastMCP server. Args: file: Path to the server file server_object: Optional server objec
fastmcp_slim/fastmcp/cli/install/stdio.py:21
↓ 3 callersFunctionis_human
(actor: dict[str, Any] | None)
scripts/release_contributor_credit.py:40
↓ 3 callersFunctionis_timeout_error
Return whether an exception is an httpx2 or legacy-httpx timeout.
fastmcp_slim/fastmcp/utilities/exceptions.py:34
↓ 3 callersFunctionkind
(item: dict)
scripts/backlog_status.py:64
↓ 3 callersMethodlifespan_context
Access the server's lifespan context. Returns the context dict yielded by *this* server's lifespan function. For a mounted child this
fastmcp_slim/fastmcp/server/context.py:431
↓ 3 callersFunctionlist_components
()
fastmcp_slim/fastmcp/contrib/mcp_mixin/example.py:43
↓ 3 callersFunctionlist_only_tool
(spec: dict[str, Any])
tests/server/providers/openapi/test_component_property_refs.py:59
↓ 3 callersMethodlist_tools
Mark tools by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:210
↓ 3 callersFunctionlisted_files
(client: Client, list_files: str)
tests/server/test_session_scope.py:51
↓ 3 callersMethodlog_bridge
(self, body: dict[str, Any])
fastmcp_slim/fastmcp/cli/apps_dev_log.py:172
↓ 3 callersMethodlog_request
(self, body: dict[str, Any])
fastmcp_slim/fastmcp/cli/apps_dev_log.py:111
↓ 3 callersMethodlog_response
(self, body: dict[str, Any])
fastmcp_slim/fastmcp/cli/apps_dev_log.py:127
↓ 3 callersFunctionlogout
Revoke the current Horizon key and remove the local credential.
fastmcp_slim/fastmcp/cli/deploy/command.py:353
↓ 3 callersFunctionmake_client
(proxy)
tests/server/auth/oauth_proxy/test_nonpositive_expires_in.py:33
↓ 3 callersFunctionmake_gateway
( upstream: FastMCP, *, backend_mode: str, identity: Literal["proxy", "upstream"] = "proxy",
tests/server/providers/proxy/test_server_metadata.py:148
↓ 3 callersFunctionmake_issue
(author_association: str = "NONE")
tests/scripts/test_auto_close_needs_mre.py:8
↓ 3 callersFunctionnames_spec
(*routes: tuple[str, str])
tests/server/providers/openapi/test_server.py:367
↓ 3 callersFunctionnumber
(value)
status-site/operations.js:9
↓ 3 callersMethodon_request
Apply sliding window rate limiting to requests.
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:344
↓ 3 callersFunctionopt_in_meta
The per-request `_meta` block that opts the tasks extension in.
tests/tasks/task_helpers.py:51
↓ 3 callersFunctionorder_item_schema
(children: dict[str, Any], title: str = TITLE)
tests/utilities/json_schema_type/test_generated_classes.py:26
↓ 3 callersFunctionparse_verify
Interpret the --verify value as a boolean toggle or a CA bundle path.
fastmcp_remote/fastmcp_remote/cli.py:93
↓ 3 callersFunctionpatch_client
(server: FastMCP)
tests/cli/test_list_skills.py:21
↓ 3 callersMethodping
()
tests/server/middleware/test_dereference.py:165
↓ 3 callersFunctionprovider
()
tests/server/auth/providers/test_metadata_forwarding_cache.py:53
↓ 3 callersFunctionquote_windows_batch_argument
Quote one argument for a command line that runs a `.cmd` or `.bat` file. The result reaches the program that the batch file launches as the o
fastmcp_slim/fastmcp/cli/install/shared.py:80
↓ 3 callersFunctionread_bytes
(client: Client, uri: str)
tests/skills/test_provider.py:45
↓ 3 callersFunctionrecord_span_exception
Record an exception and error status on a span.
fastmcp_slim/fastmcp/server/telemetry.py:177
↓ 3 callersFunctionrecover_client_pid
Reconnect `client` and return the pid of the freshly spawned subprocess.
tests/client/test_stdio.py:116
↓ 3 callersFunctionregister_task_session
Register a session for in-process background task access. Called automatically when a task is submitted to Docket. The session is stored as a
fastmcp_tasks/fastmcp_tasks/context.py:414
↓ 3 callersMethodrelease
(self, client_id: str)
fastmcp_slim/fastmcp/server/middleware/rate_limiting.py:72
↓ 3 callersFunctionrelease_update_lock
Release the per-task update lock.
fastmcp_tasks/fastmcp_tasks/input_store.py:524
↓ 3 callersFunctionrender
(ctx: Context, prefix: str)
tests/server/transforms/test_input_required.py:54
↓ 3 callersMethodreply
(self, request_id: Any, result: dict[str, Any])
tests/client/minimal_stdio_server.py:96
↓ 3 callersFunctionresolve_docket_settings
The effective Docket settings for `server`'s registered tasks extension. Reads the *registered* `TasksExtension`'s resolved settings, not the
fastmcp_tasks/fastmcp_tasks/worker_cli.py:30
↓ 3 callersMethodresolve_security
Resolve the effective security policy for this template. A per-component ``security`` overrides the server default. ``INHERIT_SECURIT
fastmcp_slim/fastmcp/resources/template.py:460
↓ 3 callersFunctionresolve_ui_mime_type
Return the appropriate MIME type for a resource URI. For ``ui://`` scheme resources, defaults to ``UI_MIME_TYPE`` when no explicit MIME type
fastmcp_slim/fastmcp/utilities/mime.py:10
↓ 3 callersFunctionresolve_within
Resolve `relative` under `base`, rejecting paths that escape `base`. `base` must already be resolved. The containment check uses it as given, so
fastmcp_slim/fastmcp/server/providers/skills/_common.py:124
↓ 3 callersMethodresource
Decorator to register a function as a resource. The function will be called when the resource is read to generate its content. The fu
fastmcp_slim/fastmcp/server/server.py:2125
↓ 3 callersMethodrevoke_current_api_key
(self)
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:326
↓ 3 callersFunctionrewrite_payload_tool_names
Re-address a payload's tool references to this server's own names. Mutates in place and returns the payload. A reference this server cannot
fastmcp_slim/fastmcp/server/providers/prefab_payload.py:115
← previousnext →1,201–1,300 of 15,974, ranked by callers