MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

↓ 3 callersMethod_get_visible_tools
Get the auth-filtered tool catalog, excluding pinned tools.
fastmcp_slim/fastmcp/server/transforms/search/base.py:401
↓ 3 callersFunction_guide
(name: str)
tests/docs/test_upgrade_guide_api_claims.py:34
↓ 3 callersFunction_image_content_to_anthropic_block
Convert MCP ImageContent to Anthropic ImageBlockParam.
fastmcp_slim/fastmcp/client/sampling/handlers/anthropic.py:55
↓ 3 callersFunction_image_content_to_openai_part
Convert MCP ImageContent to OpenAI image_url content part.
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:64
↓ 3 callersMethod_initialize
Load stored tokens and client info, properly setting token expiry.
fastmcp_slim/fastmcp/client/auth/oauth.py:352
↓ 3 callersFunction_input_responses_key
(docket: Docket, task_scope: str | None, task_id: str)
fastmcp_tasks/fastmcp_tasks/input_store.py:97
↓ 3 callersFunction_is_continuation_leg
Whether this request is answering a previous round's ask (SEP-2322). A continuation must bypass the cache entirely. Cache keys are built from the
fastmcp_slim/fastmcp/server/middleware/caching.py:44
↓ 3 callersFunction_is_legacy_httpx_exception
Check a legacy-httpx exception without importing the legacy package.
fastmcp_slim/fastmcp/utilities/exceptions.py:11
↓ 3 callersFunction_is_prefab_tool
True if *tool* was marked as needing a Prefab renderer at registration.
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:36
↓ 3 callersFunction_leg_number_key
(docket: Docket, task_scope: str | None, task_id: str)
fastmcp_tasks/fastmcp_tasks/input_store.py:89
↓ 3 callersFunction_lift_meta
Lift the raw ``_meta`` block from the request params. ``ctx.params`` is the raw params mapping (or None); its ``_meta`` key holds the full me
fastmcp_slim/fastmcp/server/dependencies.py:97
↓ 3 callersMethod_list_tools
(self)
tests/server/providers/test_base_provider.py:31
↓ 3 callersFunction_load_session_snapshot
( credentials: CredentialStore, )
fastmcp_slim/fastmcp/cli/deploy/command.py:83
↓ 3 callersFunction_lookup_task
Resolve a task's current-leg execution and metadata within the scope. Returns ``(execution, base_task_key, leg_number, created_at, poll_inter
fastmcp_tasks/fastmcp_tasks/handlers.py:126
↓ 3 callersMethod_make_access_token
(self, aud: str)
tests/server/auth/providers/test_propelauth.py:199
↓ 3 callersMethod_make_oauth_with_redirect
Build a HeadlessOAuth with a fake stored 302 response.
tests/utilities/test_tests.py:55
↓ 3 callersMethod_make_state_key
Create session-prefixed key for state storage.
fastmcp_slim/fastmcp/server/context.py:1106
↓ 3 callersMethod_make_token
(scopes: list[str])
tests/server/middleware/test_caching.py:967
↓ 3 callersMethod_make_tools
(self)
tests/cli/test_generate_cli.py:412
↓ 3 callersMethod_make_verify_factory
(self)
fastmcp_slim/fastmcp/client/transports/http.py:130
↓ 3 callersFunction_mcp_config
()
tests/cli/test_config_encoding.py:50
↓ 3 callersMethod_metadata
(self, proxy: OAuthProxy)
tests/server/auth/oauth_proxy/test_identity_assertion.py:230
↓ 3 callersMethod_mock_session
Build a mock session with a stable per-connection Connection. SDK v2 constructs a ServerSession per request; PingMiddleware keys the
tests/server/middleware/test_ping.py:41
↓ 3 callersFunction_modern_proxy
A FastMCPProxy whose backend client negotiates the modern era, so the backend can emit an `InputRequiredResult` (SEP-2322) for the proxy to ro
tests/server/test_mrtr_guards.py:415
↓ 3 callersFunction_normalize
Compare schemas by their full structure, modulo generated titles. "required" is sorted because the SDK and FastMCP may build it in a different
tests/docs/test_upgrade_guide_equivalence.py:66
↓ 3 callersFunction_normalize_google_scope
Normalize a Google scope shorthand to its canonical full URI. Google accepts shorthand scopes like "email" and "profile" in authorization req
fastmcp_slim/fastmcp/server/auth/providers/google.py:47
↓ 3 callersFunction_normalize_origin
(origin: str)
fastmcp_slim/fastmcp/server/http.py:190
↓ 3 callersMethod_on_read_resource
Handle MCP 'resources/read' requests.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:301
↓ 3 callersMethod_one_shot_server
(self)
tests/server/test_mrtr_guards.py:726
↓ 3 callersFunction_parse_mcp_servers
Parse an ``mcpServers``-style dict into discovered servers.
fastmcp_slim/fastmcp/cli/discovery.py:90
↓ 3 callersMethod_ping_loop
Send periodic pings until the connection ends.
fastmcp_slim/fastmcp/server/middleware/ping.py:88
↓ 3 callersFunction_play_via_mcp
( source: Source, source_id: str, url: str, title: str, target: FastMCP | str, tool_na
examples/apps/media_picker/media_picker_server.py:165
↓ 3 callersMethod_provider
(self, key_pair: RSAKeyPair)
tests/server/auth/providers/test_scalekit.py:145
↓ 3 callersMethod_read_consent_bindings
Read the consent binding map from the signed cookie. Returns a dict of {txn_id: consent_token} for all pending flows.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:325
↓ 3 callersMethod_read_consent_state_cookies
Per-token consent-state cookies the browser sent, by cookie name. Returns {cookie_name: (txn_id, issued_at)} for every cookie whose s
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:216
↓ 3 callersFunction_read_map
(payload: dict[str, Any])
fastmcp_slim/fastmcp/server/providers/prefab_payload.py:60
↓ 3 callersMethod_register_and_store_code
( self, provider: AzureProvider, *, code: str, idp_tokens: dict, )
tests/server/auth/providers/test_azure.py:1228
↓ 3 callersMethod_register_provider_extensions
Register all bundled extensions, rolling back if any registration fails.
fastmcp_slim/fastmcp/server/mixins/extensions.py:150
↓ 3 callersMethod_render
Summary and detail text for this search's catalog, as locals.
fastmcp_slim/fastmcp/experimental/transforms/jev_search.py:242
↓ 3 callersMethod_render_results
(self, tools: Sequence[Tool])
fastmcp_slim/fastmcp/server/transforms/search/base.py:394
↓ 3 callersFunction_render_tools
Render tools at the requested detail level. The same detail value produces the same output format regardless of which discovery tool calls th
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:324
↓ 3 callersFunction_requested_version
(meta: Mapping[str, Any] | None)
fastmcp_slim/fastmcp/server/middleware/authorization.py:55
↓ 3 callersFunction_resolve_local_ref
Resolve a local `$ref` (`#...`) by walking its JSON pointer through *schema*. This uses the same pointer syntax as `jsonref` but doesn't normaliz
fastmcp_slim/fastmcp/utilities/json_schema.py:64
↓ 3 callersFunction_resolve_owning_server
Re-resolve a mounted task's owning child server from the root (remote worker). A separate worker process cannot reach the submitting process's se
fastmcp_tasks/fastmcp_tasks/context.py:502
↓ 3 callersFunction_resolve_param_hints
Resolve a callable's parameter type hints, tolerating partials. Depending on the Python version, ``get_type_hints`` either rejects ``functool
fastmcp_slim/fastmcp/tools/function_tool.py:175
↓ 3 callersMethod_run_in_child_context
(self, fn)
tests/server/providers/proxy/test_stateful_proxy_client.py:269
↓ 3 callersMethod_run_outer_mw
Run the method-agnostic (``on_message``/``on_request``) hook pass. ``call_next`` bridges to the real SDK dispatch (request-state boundary,
fastmcp_slim/fastmcp/server/low_level.py:228
↓ 3 callersFunction_sampling_request
A one-message sampling request.
tests/conformance/server.py:412
↓ 3 callersFunction_scan_claude_desktop
Scan the Claude Desktop config file.
fastmcp_slim/fastmcp/cli/discovery.py:149
↓ 3 callersFunction_scan_project_mcp_json
Check for ``mcp.json`` in *start_dir*.
fastmcp_slim/fastmcp/cli/discovery.py:232
↓ 3 callersFunction_schema_digest
Return a deterministic hash of the schema and its serialized size. Handles non-JSON-native types (datetime, date, bool keys) that can appear
fastmcp_slim/fastmcp/utilities/json_schema_type.py:384
↓ 3 callersFunction_send_get
Send `tasks/get` and parse the detailed task response.
fastmcp_tasks/fastmcp_tasks/client.py:84
↓ 3 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:202
↓ 3 callersMethod_set_token
(token)
tests/server/middleware/test_caching.py:979
↓ 3 callersMethod_state_of
The user-state sub-dict of a raw stored dict (empty when absent).
fastmcp_slim/fastmcp/server/sessions.py:230
↓ 3 callersFunction_strict_input_validation
The ``strict`` value to pass to pydantic for the running server. Reads ``strict_input_validation`` off the active request's ``FastMCP`` insta
fastmcp_slim/fastmcp/tools/function_tool.py:124
↓ 3 callersFunction_strip_input_required
Remove `InputRequiredResult` arms from a union return annotation. A guard tool typically annotates its return as ``X | InputRequiredResult``;
fastmcp_slim/fastmcp/tools/function_parsing.py:146
↓ 3 callersFunction_text
(result: mcp_types.CallToolResult)
tests/server/test_extensions.py:48
↓ 3 callersFunction_text
(result)
examples/tasks/client.py:37
↓ 3 callersFunction_to_base_model
Validate a component's public base fields without serializing its subclass.
fastmcp_slim/fastmcp/server/middleware/caching.py:77
↓ 3 callersFunction_tool
Build a real Tool component (a FastMCPComponent) with a version.
tests/server/versioning/test_versioning.py:90
↓ 3 callersFunction_tool
(name: str, doc: str | None = None, params: tuple[str, ...] = ("query",))
tests/experimental/transforms/test_jev_search.py:79
↓ 3 callersFunction_tool_server
()
tests/tasks/server/test_task_tools.py:48
↓ 3 callersFunction_trace_meta
Trace context for a task management request, for the current client span. Task management calls (`tasks/get`/`update`/`cancel`) use ordinary
fastmcp_tasks/fastmcp_tasks/client.py:74
↓ 3 callersMethod_transform_uri
Apply namespace to a URI: protocol://path → protocol://namespace/path.
fastmcp_slim/fastmcp/server/transforms/namespace.py:74
↓ 3 callersMethod_translate_scopes_from_idp
Translate IdP-returned scopes into the client-facing form. Some IdPs (notably Azure) require scopes on the wire in a form that differ
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1667
↓ 3 callersFunction_upstream_client
(requests: list[httpx2.Request])
tests/server/providers/openapi/test_undeclared_arguments.py:62
↓ 3 callersMethod_uses_alternate_verification
Return True when id_token verification is enabled. This ensures ``load_access_token`` always patches the validated result with upstre
fastmcp_slim/fastmcp/server/auth/oidc_proxy.py:561
↓ 3 callersMethod_validate_client_redirect_uri
Validate a stored transaction redirect URI before sending a browser to it.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:100
↓ 3 callersFunction_version_from_ctx
Extract the FastMCP component version from the request's lifted _meta.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:92
↓ 3 callersFunction_version_request_meta
( version: VersionSpec | None, )
fastmcp_slim/fastmcp/server/server.py:150
↓ 3 callersFunction_wait_until_listening
Poll until the callback server's socket is accepting connections. uvicorn sets `Server.started = True` right after it binds and starts listen
tests/client/test_oauth_callback_race.py:11
↓ 3 callersFunction_watch_filter
Filter for files that should trigger reload.
fastmcp_slim/fastmcp/cli/run.py:347
↓ 3 callersFunction_with_proxy_transport_options
Layer proxy-owned settings onto options supplied by another client layer.
fastmcp_slim/fastmcp/server/providers/proxy.py:108
↓ 3 callersFunction_write_stored_snapshot
Overwrite a task's stored snapshot value.
tests/tasks/server/test_snapshot_encryption.py:186
↓ 3 callersMethodaclose
(self)
fastmcp_slim/fastmcp/utilities/asgi_transport.py:66
↓ 3 callersMethodadd_resources
(self, fastmcp: FastMCP, prefix: str = "")
tests/server/middleware/test_caching.py:188
↓ 3 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:1933
↓ 3 callersMethodaiter_bytes
()
tests/server/auth/test_ssrf_protection.py:244
↓ 3 callersMethodassert_eventually_disconnected
A cancelled exit returns at once and stops the session in its own task.
tests/client/client/test_client.py:1003
↓ 3 callersFunctionassessment_model
(config: Config)
scripts/rank_issues.py:999
↓ 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 callersMethodcached_connection
A transport that believes it already holds a session built for `options`.
tests/client/client/test_session.py:251
↓ 3 callersFunctioncall
()
tests/client/test_stdio.py:111
↓ 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:54
↓ 3 callersMethodclear
(self)
fastmcp_slim/fastmcp/client/auth/oauth.py:135
↓ 3 callersMethodclear
(self)
fastmcp_slim/fastmcp/cli/deploy/credentials.py:126
↓ 3 callersFunctionclear_codec_cache
Drop the cached codecs, so a changed key takes effect.
fastmcp_tasks/fastmcp_tasks/encryption.py:169
↓ 3 callersFunctioncreate_elicitation_callback
( elicitation_handler: ElicitationHandler, )
fastmcp_slim/fastmcp/client/elicitation.py:38
↓ 3 callersMethodcreate_initialization_options
( self, notification_options: NotificationOptions | None = None, experimental_capabili
fastmcp_slim/fastmcp/server/low_level.py:514
↓ 3 callersFunctioncreate_mcp_server
( public_key: str, auth_kwargs: dict[str, Any] | None = None, )
tests/server/auth/test_jwt_provider_bearer.py:34
↓ 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:19
← previousnext →901–1,000 of 13,374, ranked by callers