MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

↓ 2 callersMethod_route
(self, kind: str, frame: StreamFrame)
fastmcp_events/fastmcp_events/client.py:148
↓ 2 callersFunction_run_echo_task
(extension: TasksExtension)
tests/tasks/server/test_task_tracing.py:19
↓ 2 callersMethod_runner_errors
(caplog: pytest.LogCaptureFixture)
tests/server/middleware/test_ping.py:280
↓ 2 callersFunction_scan_skill_roots
Load every skill folder below `roots`. Returns the valid skills by relative path, plus one line per invalid folder saying what is wrong and h
fastmcp_slim/fastmcp/skills/provider.py:347
↓ 2 callersFunction_schema_is_object
Return whether a schema (or any composition branch) describes an object.
fastmcp_slim/fastmcp/utilities/openapi/director.py:97
↓ 2 callersFunction_schema_type_includes
Return whether `type` declares the given type, including type lists.
fastmcp_slim/fastmcp/utilities/openapi/director.py:89
↓ 2 callersMethod_search
(self, tools: Sequence[Tool], query: str)
fastmcp_slim/fastmcp/experimental/transforms/jev_search.py:400
↓ 2 callersMethod_seed_schema
Seed the wire-schema cache for `name` from the tool dispatch and `tools/list` would actually serve: the highest version by the same PE
fastmcp_slim/fastmcp/server/server.py:414
↓ 2 callersMethod_select_model_from_preferences
( self, model_preferences: ModelPreferences | str | list[str] | None )
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:415
↓ 2 callersMethod_select_model_from_preferences
( self, model_preferences: ModelPreferences | str | list[str] | None )
fastmcp_slim/fastmcp/client/sampling/handlers/anthropic.py:367
↓ 2 callersFunction_send
(spec: dict[str, Any], args: dict[str, Any])
tests/pbt/test_openapi_params.py:192
↓ 2 callersFunction_send_cancel
Send `tasks/cancel` to cooperatively cancel a task.
fastmcp_tasks/fastmcp_tasks/client.py:120
↓ 2 callersFunction_send_named
( client: Client, request: SubscribeEventsRequest | UnsubscribeEventsRequest, result_type: type[Re
fastmcp_events/fastmcp_events/subscription.py:612
↓ 2 callersFunction_send_request
Send a request, preserving native httpx2 transport errors. Native `httpx2` transport errors are re-raised unchanged so the server's actionabl
fastmcp_slim/fastmcp/server/providers/openapi/components.py:139
↓ 2 callersFunction_send_update
Send `tasks/update` delivering the caller's answers to a parked task.
fastmcp_tasks/fastmcp_tasks/client.py:102
↓ 2 callersFunction_send_with_headers
Send a request with `Mcp-Param-*` headers, which `send_request` cannot add.
fastmcp_events/fastmcp_events/subscription.py:590
↓ 2 callersFunction_served_resource_metadata_url
Return the RFC 9728 metadata URL that auth challenges may advertise. The URL is derived from the provider's resource URL and is advertised only
fastmcp_slim/fastmcp/server/http.py:450
↓ 2 callersMethod_server
()
tests/test_exceptions.py:111
↓ 2 callersMethod_server
(holder: str, events: list[str])
tests/server/test_server_lifespan.py:681
↓ 2 callersMethod_session_scope_key
Key for data that follows one client across requests. On a handshake-era connection this is `session_id`. A 2026-07-28 connection has
fastmcp_slim/fastmcp/server/context.py:808
↓ 2 callersMethod_set_auth
(self, auth: httpx2.Auth | Literal["oauth"] | str | None)
fastmcp_slim/fastmcp/client/transports/sse.py:79
↓ 2 callersMethod_set_list_cookie
( self: OAuthProxy, response: HTMLResponse | RedirectResponse, base_name: str,
fastmcp_slim/fastmcp/server/auth/oauth_proxy/consent.py:218
↓ 2 callersMethod_setup_session_with_claims
Set up a proxy JWT pointing at a valid upstream token, with optional upstream_claims.
tests/server/auth/oauth_proxy/test_tokens.py:1701
↓ 2 callersFunction_skill_md_uri
(path: str)
fastmcp_slim/fastmcp/skills/provider.py:494
↓ 2 callersFunction_spans
(exporter: InMemorySpanExporter)
tests/tasks/server/test_task_tracing.py:33
↓ 2 callersFunction_spec
(params: list[dict[str, Any]])
tests/pbt/test_openapi_params.py:173
↓ 2 callersFunction_split_declared_strictness
Pop `"additionalProperties": false` from every migrated schema, asserting it's there. FastMCP's generated tool schemas declare `"additionalProper
tests/docs/test_upgrade_guide_equivalence.py:81
↓ 2 callersFunction_sse_session
Open an SSE stream and yield the session's message endpoint URL.
tests/server/http/test_sse_host_origin_protection.py:57
↓ 2 callersMethod_start_sources
(self, tg: anyio.abc.TaskGroup)
fastmcp_events/fastmcp_events/extension.py:330
↓ 2 callersFunction_stop_reason
Map Gemini's finish reason to MCP's stop reason, so a caller can tell a reply cut off at max_tokens from a finished one.
fastmcp_slim/fastmcp/client/sampling/handlers/google_genai.py:364
↓ 2 callersFunction_stop_reason
Map OpenAI's finish reason to MCP's stop reason, so a caller can tell a reply cut off at max_tokens from a finished one.
fastmcp_slim/fastmcp/client/sampling/handlers/openai.py:64
↓ 2 callersFunction_stop_reason
Map Anthropic's stop reason to MCP's, so a caller can tell a reply cut off at max_tokens from a finished one.
fastmcp_slim/fastmcp/client/sampling/handlers/anthropic.py:55
↓ 2 callersMethod_store_upstream_token_set
Store a refreshed upstream record unless its grant has ended. Returns False, with the record removed again, when the grant was ended
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1929
↓ 2 callersFunction_strip_structural_schema_keys
(schema: dict[str, Any])
fastmcp_slim/fastmcp/tools/tool_transform.py:57
↓ 2 callersFunction_tally
(t: DrawnTemplate)
tests/pbt/test_uri_template.py:31
↓ 2 callersFunction_task_key_ttl_seconds
Wall-clock TTL for a task's Redis metadata keys. Docket's ``execution_ttl`` plus a buffer (matching task creation), so a key written or refre
fastmcp_tasks/fastmcp_tasks/handlers.py:117
↓ 2 callersFunction_task_server
()
tests/tasks/server/test_task_protocol.py:20
↓ 2 callersMethod_template
(self)
tests/resources/test_resource_template_meta.py:39
↓ 2 callersFunction_terminal_elicitation_handler
Prompt the user on the terminal for elicitation responses. Prints the server's message and prompts for each field in the schema. The user can
fastmcp_slim/fastmcp/cli/client.py:199
↓ 2 callersFunction_terminal_error_message
The best available error message for a failed task.
fastmcp_tasks/fastmcp_tasks/client.py:309
↓ 2 callersFunction_text
One table-safe line: no pipes or line breaks from another publisher.
scripts/maintenance_status.py:402
↓ 2 callersFunction_text
Content is objects on the sync path and plain dicts on the task path.
tests/tasks/server/test_task_async_generator_tools.py:28
↓ 2 callersMethod_to_parent
(self, uri: str)
fastmcp_slim/fastmcp/skills/_composition.py:61
↓ 2 callersMethod_to_server_and_underlying_transport
Turn the transforming server into a FastMCP proxy and return its transport.
fastmcp_slim/fastmcp/mcp_config.py:124
↓ 2 callersFunction_tokenize
Normalize and extract Unicode alphanumeric tokens.
fastmcp_slim/fastmcp/server/transforms/search/bm25.py:20
↓ 2 callersFunction_tool_from_mcp
Describe a remote tool as a local `Tool` the discovery tools can render.
fastmcp_slim/fastmcp/experimental/client/code_mode.py:45
↓ 2 callersMethod_transform_name
Apply namespace prefix to a name.
fastmcp_slim/fastmcp/server/transforms/namespace.py:63
↓ 2 callersMethod_transport_answering
An in-memory transport whose ``server/discover`` returns ``body`` verbatim.
tests/client/client/test_mode_negotiation.py:184
↓ 2 callersMethod_try_transparent_refresh
Refresh the upstream token transparently and update storage. Called during load_access_token when the upstream token has expired but
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:2304
↓ 2 callersFunction_unclamp_logger
Remove all clamped log filters from the logger.
fastmcp_slim/fastmcp/utilities/logging.py:260
↓ 2 callersFunction_unwrap_tool_result
Convert a ToolResult for use in the sandbox. - Output schema present → structured_content dict (matches the schema) - Otherwise → concatenate
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:116
↓ 2 callersMethod_update
(self, result: ResultT)
tests/server/providers/proxy/test_server_metadata.py:108
↓ 2 callersFunction_update_lock_key
(docket: Docket, task_scope: str | None, task_id: str)
fastmcp_tasks/fastmcp_tasks/input_store.py:474
↓ 2 callersMethod_updates
( self, result: mcp_types.InitializeResult | mcp_types.DiscoverResult, upstream: _Upst
fastmcp_slim/fastmcp/server/providers/proxy.py:1440
↓ 2 callersMethod_updates
(self, result: mcp_types.Result)
tests/server/providers/proxy/test_server_metadata.py:47
↓ 2 callersFunction_validate
(url: str, ips: list[str])
tests/pbt/test_auth_url_guards.py:140
↓ 2 callersFunction_validate_app_tool_name
Keep registered app names distinct from generated call addresses.
fastmcp_slim/fastmcp/apps/app.py:113
↓ 2 callersMethod_validate_configuration
( self, server: FastMCP, providers: Sequence[Provider] )
fastmcp_slim/fastmcp/skills/extension.py:71
↓ 2 callersFunction_validate_files
(sizes: Mapping[str, int])
fastmcp_slim/fastmcp/skills/skill.py:70
↓ 2 callersFunction_validate_input
Validate tool input with *type_adapter*, honoring ``strict``. Tool arguments are JSON, but pydantic's strict mode on Python input only accept
fastmcp_slim/fastmcp/tools/function_tool.py:177
↓ 2 callersFunction_validate_skill_paths
Check that each path ends with its skill's name and holds no other skill.
fastmcp_slim/fastmcp/skills/provider.py:458
↓ 2 callersFunction_visibility_rules_key
State-store key for this client's visibility rules. None when the request carries no client identity to scope rules to (an unauthenticated MC
fastmcp_slim/fastmcp/server/transforms/visibility.py:314
↓ 2 callersFunction_wait_for_process_exit
Poll until a process has exited, raising if it's still alive after timeout.
tests/test_mcp_config.py:727
↓ 2 callersFunction_walk_tool_calls
Collect every ``toolCall`` action object in a payload tree.
fastmcp_slim/fastmcp/server/providers/prefab_payload.py:44
↓ 2 callersFunction_worker_snapshot_headers
Read the HTTP headers snapshotted at task submission from inside a worker.
tests/server/http/test_http_dependencies.py:229
↓ 2 callersFunction_wrap_body_errors
Wrap ``fn`` so a ``pydantic.ValidationError`` raised by its body is re-raised as ``_ToolBodyError``. The wrapper preserves ``fn``'s signature
fastmcp_slim/fastmcp/tools/function_tool.py:85
↓ 2 callersFunction_write_cache
Write version info to cache.
fastmcp_slim/fastmcp/utilities/version_check.py:54
↓ 2 callersFunction_write_map
(payload: dict[str, Any], names: dict[str, str])
fastmcp_slim/fastmcp/server/providers/prefab_payload.py:73
↓ 2 callersFunction_write_tool
(path: Path, name: str)
tests/fs/test_extraction_failures.py:45
↓ 2 callersFunctionaccept
(admin: redis.Redis, password: str)
tests/downstream/smoke_redis_credentials.py:122
↓ 2 callersFunctionacquire_update_lock
Take the per-task update lock, or return False if one is already held. Serializes concurrent ``tasks/update`` calls for a task so two racing
fastmcp_tasks/fastmcp_tasks/input_store.py:478
↓ 2 callersFunctionacquire_update_lock_blocking
Wait for the per-task update lock, up to ``timeout`` seconds. ``tasks/cancel`` uses this to serialize with an in-flight ``tasks/update``: it
fastmcp_tasks/fastmcp_tasks/input_store.py:498
↓ 2 callersFunctionactor
(login: str, kind: str = "User")
tests/scripts/test_release_contributor_credit.py:9
↓ 2 callersMethodadb_close
(self)
examples/smart_home/src/smart_home/fire_tv/client.py:39
↓ 2 callersMethodadb_shell
(self, command: str)
examples/smart_home/src/smart_home/fire_tv/client.py:35
↓ 2 callersFunctionaddDropdown
()
docs/language-dropdown.js:54
↓ 2 callersMethodadd_prompt
Add a prompt to this provider's storage. Accepts either a Prompt object or a decorated function with __fastmcp__ metadata.
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/prompts.py:35
↓ 2 callersMethodadd_resource
Add a resource to this provider's storage. Accepts either a Resource/ResourceTemplate object or a decorated function with __fastmcp__ metadat
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:41
↓ 2 callersMethodadd_server
Add or update a server in the configuration.
fastmcp_slim/fastmcp/mcp_config.py:383
↓ 2 callersMethodadd_tool
Add a tool to this provider's storage. Accepts either a Tool object or a decorated function with __fastmcp__ metadata.
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/tools.py:111
↓ 2 callersFunctionallowed
(layer_checks, tags, scopes)
tests/pbt/test_middleware.py:165
↓ 2 callersMethodallows
(self, tags: frozenset[str], scopes: frozenset[str] | None)
tests/pbt/test_middleware.py:77
↓ 2 callersMethodanalyze
(content: str)
tests/utilities/test_inspect.py:200
↓ 2 callersMethodanchor_paths
Make relative file paths absolute against the config file's directory. Anchors `source.path` and `environment.requirements`, so a config
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:250
↓ 2 callersMethodapplies
(self, tags: frozenset[str])
tests/pbt/test_middleware.py:67
↓ 2 callersFunctionapps
Preview a FastMCPApp UI in the browser. Starts the MCP server from SERVER_SPEC on --mcp-port, launches a local dev UI on --dev-port with a to
fastmcp_slim/fastmcp/cli/cli.py:325
↓ 2 callersMethodarguments
A subscription's arguments, validated and coerced for the hook.
fastmcp_events/fastmcp_events/registration.py:133
↓ 2 callersMethodassert_notification_sent
Assert that a notification was sent a specific number of times.
tests/client/test_notifications.py:44
↓ 2 callersFunctionassessment_digest
(issue: Issue, config: Config)
scripts/rank_issues.py:995
↓ 2 callersMethodasync_auth_flow
( self, request: httpx2.Request )
fastmcp_slim/fastmcp/client/auth/client_credentials.py:412
↓ 2 callersFunctionauthorization
()
tests/cli/deploy/test_output.py:15
↓ 2 callersFunctionbacklog
()
status-site/app.js:155
↓ 2 callersFunctionblock_server_imports
()
tests/client/test_slim_package_boundaries.py:16
↓ 2 callersFunctionblocks
(changelog: str)
scripts/draft_release.py:42
↓ 2 callersMethodbody
()
tests/events/test_webhooks.py:1002
↓ 2 callersFunctionbroken_entry
()
tests/server/providers/proxy/test_skills.py:220
↓ 2 callersFunctionbuild
( status: Literal[ "working", "input_required", "completed", "failed", "cancelled"
fastmcp_tasks/fastmcp_tasks/handlers.py:305
↓ 2 callersFunctionbuild_app
The ASGI app the conformance suite is run against. Shared by the pytest fixture and the `__main__` entry point so both exercise the same conf
tests/conformance/server.py:895
↓ 2 callersFunctioncall
(token: str, name: str, args: dict[str, Any])
tests/server/auth/test_auth_source_identities.py:226
↓ 2 callersMethodcall
(self, arguments: dict[str, Any])
tests/server/providers/openapi/test_write_only_responses.py:189
← previousnext →1,801–1,900 of 17,519, ranked by callers