MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,725 in github.com/PrefectHQ/fastmcp

↓ 3 callersMethod_method_name
(body: dict[str, Any])
fastmcp_slim/fastmcp/cli/apps_dev_log.py:43
↓ 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:44
↓ 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:50
↓ 3 callersFunction_normalize_origin
(origin: str)
fastmcp_slim/fastmcp/server/http.py:194
↓ 3 callersFunction_object_schema_to_type
Convert an object schema to the appropriate Python type. Single source of truth for the four object-schema cases, used by both the top-level
fastmcp_slim/fastmcp/utilities/json_schema_type.py:1011
↓ 3 callersMethod_on_read_resource
Handle MCP 'resources/read' requests.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:390
↓ 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 callersFunction_parse_resource_uri
(uri: str)
fastmcp_slim/fastmcp/skills/models.py:25
↓ 3 callersMethod_pick
(self, data, live: dict[str, str], dead: dict[str, str])
tests/pbt/test_oauth_proxy_machine.py:286
↓ 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_proxy
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_oauth_proxy.py:704
↓ 3 callersMethod_prune_expired
Remove expired files while holding the default storage lock.
fastmcp_slim/fastmcp/apps/file_upload.py:217
↓ 3 callersMethod_publish_list_changed
( self, event: ToolsListChanged | PromptsListChanged | ResourcesListChanged, _seen: se
fastmcp_slim/fastmcp/server/server.py:2104
↓ 3 callersFunction_raise_for_status
Raise an OpenAPI-formatted error with concise upstream details.
fastmcp_slim/fastmcp/server/providers/openapi/components.py:108
↓ 3 callersFunction_ranked_catalog
Build a catalog whose BM25 ranking is the reverse of its registration order. Every tool repeats the query token a different number of times, so n
tests/experimental/transforms/test_code_mode_search_limits.py:14
↓ 3 callersMethod_read_all
(self, path: str)
scripts/auto_close_duplicates.py:126
↓ 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:236
↓ 3 callersFunction_read_map
(payload: dict[str, Any])
fastmcp_slim/fastmcp/server/providers/prefab_payload.py:60
↓ 3 callersFunction_ref_is_mergeable_object
Whether *schema*'s ``$ref`` (if any) can be dropped by a property merge.
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:404
↓ 3 callersMethod_register_and_store_code
( self, provider: AzureProvider, *, code: str, idp_tokens: dict, )
tests/server/auth/providers/test_azure.py:1460
↓ 3 callersMethod_register_provider_extensions
Register all bundled extensions, rolling back if any registration fails.
fastmcp_slim/fastmcp/server/mixins/extensions.py:156
↓ 3 callersFunction_relay_modern_call
Make a call on a modern backend session, relaying any guard ask to the front. A modern front gets the backend's `InputRequiredResult` (SEP-2322)
fastmcp_slim/fastmcp/server/providers/proxy.py:250
↓ 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:330
↓ 3 callersMethod_renew_client_registration
Restart a stored registration's lifetime after the client got tokens.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1408
↓ 3 callersFunction_request_with_cookies
(cookies: dict[str, str])
tests/server/auth/test_oauth_consent_page.py:116
↓ 3 callersFunction_requested_version
(meta: Mapping[str, Any] | None)
fastmcp_slim/fastmcp/server/middleware/authorization.py:56
↓ 3 callersFunction_require_events_extension
(client: Client)
fastmcp_slim/fastmcp/experimental/events/subscription.py:429
↓ 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:230
↓ 3 callersFunction_resolve_read
Return the component a read of `uri` would use, without reading it.
fastmcp_slim/fastmcp/skills/_routing.py:15
↓ 3 callersFunction_resolve_schema_ref
Resolve a local `$ref`, tracking references active on this traversal path. Returns the resolved schema (empty when the chain cycles or cannot be
fastmcp_slim/fastmcp/utilities/openapi/director.py:62
↓ 3 callersFunction_resolve_supporting_file
(root: Path, file_path: str)
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:34
↓ 3 callersMethod_revoke_upstream
Best-effort revocation of an upstream token, when supported.
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:2723
↓ 3 callersMethod_run_in_child_context
(self, fn)
tests/server/providers/proxy/test_stateful_proxy_client.py:269
↓ 3 callersMethod_run_inspector
(self, config_file: Path, **kwargs)
tests/cli/test_run.py:1340
↓ 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:232
↓ 3 callersFunction_sampling_request
A one-message sampling request.
tests/conformance/server.py:440
↓ 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:262
↓ 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:527
↓ 3 callersFunction_server
(rounds: int = 1)
tests/server/transforms/test_input_required.py:51
↓ 3 callersFunction_set_query
Replace `url`'s query component while preserving an empty `//` authority. `urlunparse` omits `//` when `netloc` is empty on custom schemes that a
fastmcp_slim/fastmcp/server/auth/redirect_validation.py:23
↓ 3 callersMethod_set_token
(token)
tests/server/middleware/test_caching.py:1026
↓ 3 callersFunction_settings_holder
Where Hypothesis reads this test's settings when it runs. Both places are fixed when the module is imported, so loading a profile later chang
tests/pbt/conftest.py:83
↓ 3 callersFunction_spec
( version: str, property_schema: dict[str, Any], media_type: str )
tests/utilities/openapi/test_null_body.py:80
↓ 3 callersFunction_spec
(operations: dict[str, dict[str, Any]])
tests/server/providers/openapi/test_default_names.py:12
↓ 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_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:82
↓ 3 callersMethod_to_child
(self, uri: str)
fastmcp_slim/fastmcp/skills/_composition.py:70
↓ 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 callersMethod_tool
(description: str)
tests/server/providers/test_local_provider.py:599
↓ 3 callersFunction_tool_server
()
tests/tasks/server/test_task_tools.py:54
↓ 3 callersFunction_trace_meta
()
fastmcp_slim/fastmcp/experimental/events/subscription.py:89
↓ 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:1805
↓ 3 callersFunction_union_branches
Return the ``anyOf``/``oneOf`` branches of a union schema, if any.
fastmcp_slim/fastmcp/cli/client.py:367
↓ 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:120
↓ 3 callersFunction_validate_limits
(file_count: int, total_bytes: int)
fastmcp_slim/fastmcp/skills/skill.py:47
↓ 3 callersFunction_version_from_ctx
Extract the FastMCP component version from the request's lifted _meta.
fastmcp_slim/fastmcp/server/mixins/mcp_operations.py:99
↓ 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_walk
(node: Any)
tests/pbt/test_json_schema.py:58
↓ 3 callersFunction_warn_wire_model
(call: str)
fastmcp_slim/fastmcp/skills/skill.py:36
↓ 3 callersFunction_watch_filter
Filter for files that should trigger reload.
fastmcp_slim/fastmcp/cli/run.py:375
↓ 3 callersFunction_with_proxy_transport_options
Layer proxy-owned settings onto options supplied by another client layer.
fastmcp_slim/fastmcp/server/providers/proxy.py:125
↓ 3 callersMethod_write_skill
(tmp_path: Path, frontmatter: str)
tests/server/providers/test_skills_provider.py:536
↓ 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 callersMethodaclose
(self)
tests/client/auth/test_oauth_client.py:435
↓ 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:266
↓ 3 callersFunctionapi
(*args: str)
scripts/release_contributor_credit.py:33
↓ 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 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_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:554
← previousnext →1,201–1,300 of 16,725, ranked by callers