MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

↓ 2 callersFunctionjudge_state
(issue: Issue, config: Config)
scripts/rank_issues.py:476
↓ 2 callersMethodlifespan
User-overridable lifespan for custom setup and teardown. Override this method to perform provider-specific initialization like openin
fastmcp_slim/fastmcp/server/providers/base.py:659
↓ 2 callersMethodlifespan
Combine lifespans of all providers.
fastmcp_slim/fastmcp/server/providers/aggregate.py:414
↓ 2 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:418
↓ 2 callersFunctionlinked_issues
(body: str)
scripts/gate_digest.py:110
↓ 2 callersMethodlist_organizations
(self)
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:297
↓ 2 callersMethodlist_tools
Prefix tool names with namespace.
fastmcp_slim/fastmcp/server/transforms/namespace.py:97
↓ 2 callersMethodlog_response
(self, body: dict[str, Any])
fastmcp_slim/fastmcp/cli/apps_dev.py:106
↓ 2 callersFunctionlog_server_banner
Creates and logs a formatted banner with server information and logo.
fastmcp_slim/fastmcp/utilities/cli.py:201
↓ 2 callersFunctionmaintainer_reply
(issue: Issue)
scripts/rank_issues.py:810
↓ 2 callersFunctionmake_proxy
(jwt_verifier)
tests/server/auth/oauth_proxy/test_nonpositive_expires_in.py:18
↓ 2 callersMethodmethods
(self)
tests/server/test_provider_extensions.py:61
↓ 2 callersFunctionmissing_capability_error_data
Build the `data.requiredCapabilities` payload for a -32021 error. A `required`-mode tool called without the client opting the tasks extension
fastmcp_tasks/fastmcp_tasks/models.py:193
↓ 2 callersMethodmissing_scopes
(self, ctx: AuthContext)
fastmcp_slim/fastmcp/utilities/authorization.py:101
↓ 2 callersFunctionnormalizePathname
(pathname)
docs/fastmcp-analytics.js:46
↓ 2 callersFunctionnote_actors
Keep GitHub actor types, including plain-handle aliases for app bots.
scripts/release_contributor_credit.py:129
↓ 2 callersMethodon_call_tool
Time tool execution.
fastmcp_slim/fastmcp/server/middleware/timing.py:111
↓ 2 callersMethodon_list
List all stored files. Args: ctx: The current request context. Override this method for custom persistence. The default
fastmcp_slim/fastmcp/apps/file_upload.py:216
↓ 2 callersMethodon_request
Time request execution and log the results.
fastmcp_slim/fastmcp/server/middleware/timing.py:39
↓ 2 callersFunctionone
(batch: list[str])
scripts/rank_issues.py:438
↓ 2 callersFunctionparse_args
(argv: Sequence[str] | None = None)
scripts/rank_issues.py:1093
↓ 2 callersFunctionparse_elicit_response_type
Parse response_type into schema and handling configuration. A response type is required; ``None`` raises ``TypeError``. Supports multiple syn
fastmcp_slim/fastmcp/server/elicitation.py:143
↓ 2 callersFunctionprefab_app_from_component
Wrap a Prefab component in a Prefab app.
fastmcp_slim/fastmcp/utilities/prefab.py:69
↓ 2 callersFunctionprefab_available
Return whether Prefab UI is installed without importing it.
fastmcp_slim/fastmcp/utilities/prefab.py:12
↓ 2 callersMethodprepare_source
Prepare the source for loading. Delegates to the source's prepare() method.
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:374
↓ 2 callersFunctionrank
Rank the next page of open issues (newest first) after `after`.
scripts/rank_issues.py:970
↓ 2 callersFunctionranking
()
status-site/app.js:188
↓ 2 callersMethodread
Read the resource content.
fastmcp_slim/fastmcp/resources/template.py:600
↓ 2 callersMethodread
Read the file content.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:153
↓ 2 callersFunctionread_state
Read and validate a versioned JSON state file.
fastmcp_slim/fastmcp/cli/deploy/state.py:145
↓ 2 callersFunctionreentrant_task_fn
Wrap a task tool's callable to capture a guard leg's ask (end-and-reenter). Signature-preserving, so Docket injects the wrapped callable's parame
fastmcp_tasks/fastmcp_tasks/input_loop.py:125
↓ 2 callersMethodregister_client
(self, client_info: OAuthClientInformationFull)
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:73
↓ 2 callersFunctionregister_task_server
Register the server for a background task. Called at task-submission time so that background workers can resolve the correct (child) server f
fastmcp_tasks/fastmcp_tasks/context.py:465
↓ 2 callersMethodregister_tools
Register the tools provided by this class with the given MCP server.
fastmcp_slim/fastmcp/contrib/bulk_tool_caller/bulk_tool_caller.py:58
↓ 2 callersFunctionrelease_prs
(notes: str)
scripts/release_contributor_credit.py:107
↓ 2 callersMethodremove_label
Remove a label from an issue.
scripts/auto_close_duplicates.py:177
↓ 2 callersMethodremove_prompt
Remove prompt(s) from this provider's storage. Args: name: The prompt name. version: If None, removes ALL versions. I
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:315
↓ 2 callersMethodremove_resource
Remove resource(s) from this provider's storage. Args: uri: The resource URI. version: If None, removes ALL versions.
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:257
↓ 2 callersFunctionreplace_type
Given a (possibly generic, nested, or otherwise complex) type, replaces all instances of keys in type_map with their corresponding values.
fastmcp_slim/fastmcp/utilities/types.py:500
↓ 2 callersMethodreplay_events_after
( self, last_event_id: EventId, send_callback: EventCallback, )
fastmcp_slim/fastmcp/server/session_scoped_event_store.py:41
↓ 2 callersMethodreply_error
(self, request_id: Any, code: int, message: str)
tests/client/minimal_stdio_server.py:99
↓ 2 callersFunctionrequire_discriminator_property
Keep an OpenAPI discriminator's tag mandatory after the keyword is dropped. Returns a copy of *schema* with ``discriminator.propertyName`` added
fastmcp_slim/fastmcp/utilities/json_schema.py:251
↓ 2 callersMethodrequired_extensions
Extensions bundled with this provider. FastMCP automatically registers a separate instance of each extension on the receiving server.
fastmcp_slim/fastmcp/server/providers/base.py:98
↓ 2 callersMethodrequired_extensions
Collect bundled extensions from children in provider order.
fastmcp_slim/fastmcp/server/providers/aggregate.py:101
↓ 2 callersMethodreset
Clear all recorded notifications.
tests/client/test_notifications.py:62
↓ 2 callersFunctionresolve_dependencies
Resolve dependencies for a FastMCP function. This function: 1. Filters out any dependency parameter names from user arguments (security)
fastmcp_slim/fastmcp/server/dependencies.py:888
↓ 2 callersFunctionresolve_hostname
Resolve hostname to IP addresses using DNS. Args: hostname: Hostname to resolve port: Port number (used for getaddrinfo) Ret
fastmcp_slim/fastmcp/server/auth/ssrf.py:179
↓ 2 callersFunctionresolve_room
(bridge: Bridge, target: str)
examples/smart_home/src/smart_home/lights/server.py:36
↓ 2 callersMethodrun
Run the tool with context set for forward() functions. This method executes the tool's function while setting up the context that all
fastmcp_slim/fastmcp/tools/tool_transform.py:315
↓ 2 callersMethodrun
Executes the tool by making a call through the client.
fastmcp_slim/fastmcp/server/providers/proxy.py:387
↓ 2 callersFunctionrun_checks
( report: Report, checks: list[Callable[[], Awaitable[object]]], gaps: dict[str, str] | None = Non
tests/downstream/smoke_langchain_mcp.py:112
↓ 2 callersFunctionsave_current_leg
Record the latest leg's Docket execution key and its number.
fastmcp_tasks/fastmcp_tasks/input_store.py:169
↓ 2 callersFunctionscripted_model
(add: str, forecast: str)
tests/downstream/smoke_langchain_mcp.py:55
↓ 2 callersFunctionsend
(message: MutableMapping[str, Any])
tests/server/http/test_http_auth_middleware.py:70
↓ 2 callersFunctionsend_callback
()
tests/client/auth/test_oauth_client.py:211
↓ 2 callersFunctionsequenced_transport
( responses: list[httpx2.Response], )
tests/cli/deploy/test_authentication.py:41
↓ 2 callersFunctionserialize_tools_for_output_json
Serialize tools to the same dict format as ``list_tools`` output.
fastmcp_slim/fastmcp/server/transforms/search/base.py:62
↓ 2 callersFunctionserver_python
The interpreter of the FastMCP checkout, which is what serves every smoke test.
tests/downstream/_harness.py:64
↓ 2 callersFunctionset_background_context_factory
Install (or clear) the background-task ``Context`` factory. The factory returns an already-entered ``Context`` (so ``_current_context`` is se
fastmcp_slim/fastmcp/server/dependencies.py:194
↓ 2 callersFunctionset_worker_server_resolver
Install (or clear) the worker-server resolver used by ``get_server()``.
fastmcp_slim/fastmcp/server/dependencies.py:216
↓ 2 callersMethodsettings
Per-extension settings advertised at `capabilities.extensions[identifier]`. An empty dict (the default) advertises the extension with no sett
fastmcp_slim/fastmcp/server/extensions.py:232
↓ 2 callersMethodshow
(self, r: Ranked)
scripts/rank_issues_tui.py:410
↓ 2 callersMethodstatus
Fetch the task's current status via `tasks/get`.
fastmcp_tasks/fastmcp_tasks/client.py:433
↓ 2 callersMethodstore_event
( self, stream_id: StreamId, message: JSONRPCMessage | None )
fastmcp_slim/fastmcp/server/session_scoped_event_store.py:34
↓ 2 callersFunctiontasks_cancel
Handle ``tasks/cancel``: cooperatively cancel the task, empty ack. A durable cancellation marker is recorded so the logical task reports ``ca
fastmcp_tasks/fastmcp_tasks/handlers.py:445
↓ 2 callersFunctiontasks_get
Handle ``tasks/get``: the detailed task with its result/error/inputs inlined.
fastmcp_tasks/fastmcp_tasks/handlers.py:246
↓ 2 callersFunctiontasks_update
Handle ``tasks/update``: answer a guard leg and re-enter the task. The responses are keyed by the surfaced keys ``tasks/get`` reported. Unknown
fastmcp_tasks/fastmcp_tasks/handlers.py:333
↓ 2 callersFunctiontemporary_log_level
Context manager to temporarily set log level and restore it afterwards. Args: level: The temporary log level to set (e.g., "DEBUG", "INFO
fastmcp_slim/fastmcp/utilities/logging.py:127
↓ 2 callersMethodto_light_state
(self)
examples/smart_home/src/smart_home/lights/models.py:32
↓ 2 callersFunctiontop_kind
(r: Ranked)
scripts/rank_issues_tui.py:117
↓ 2 callersMethodtrack
(fn: Callable[..., Any])
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:238
↓ 2 callersFunctionupdate_config_file
Update an MCP configuration file from a server object, preserving existing fields. This is used for updating the mcpServer configurations of thir
fastmcp_slim/fastmcp/mcp_config.py:376
↓ 2 callersFunctionuser
()
tests/cli/deploy/test_output.py:28
↓ 2 callersFunctionvalidate
(token: str = Depends(get_token))
tests/server/test_dependencies.py:705
↓ 2 callersMethodverify_token
Verify WorkOS OAuth token by calling userinfo endpoint.
fastmcp_slim/fastmcp/server/auth/providers/workos.py:61
↓ 2 callersMethodverify_token
(self, token: str)
tests/server/auth/test_issuer_url_identity.py:52
↓ 2 callersFunctionversioned_contacts_app
()
tests/server/test_hashed_tool_dispatch.py:307
↓ 2 callersFunctionwait_for_log_content
Poll a log file until it contains the expected text. The subprocess's stderr is redirected straight to the file at the OS level (no async pum
tests/client/test_stdio.py:38
↓ 2 callersFunctionwrapped_definition_schema
( title: str, *, additional_properties: bool, description_size: int = 3_000 )
tests/utilities/json_schema_type/test_generated_classes.py:476
↓ 2 callersFunctionwrite_state
Write JSON through a restricted temporary file and atomic replacement.
fastmcp_slim/fastmcp/cli/deploy/state.py:169
↓ 2 callersFunctionyoutube_video_id
Extract a video ID from the common YouTube URL shapes.
examples/apps/media_picker/media_picker_server.py:80
↓ 1 callersFunctionCurrentAccessToken
Get the current access token for the authenticated user. This dependency provides access to the AccessToken for the current authenticated req
fastmcp_slim/fastmcp/server/dependencies.py:1363
↓ 1 callersFunctionCurrentHeaders
Get the current HTTP request headers. This dependency provides access to the HTTP headers for the current request, including the `authorizati
fastmcp_slim/fastmcp/server/dependencies.py:1145
↓ 1 callersFunctionCurrentSession
Inject the per-user `Session` for the current authenticated principal. Rarely written explicitly — a `session: UserSession` parameter is rewritte
fastmcp_slim/fastmcp/server/sessions.py:449
↓ 1 callersFunctionCurrentWorker
Get the current Docket Worker instance managed by FastMCP. This dependency provides access to the Worker instance that FastMCP automatically
fastmcp_tasks/fastmcp_tasks/dependencies.py:161
↓ 1 callersFunctionEntraOBOToken
Exchange the user's Entra token for a downstream API token via OBO. This dependency performs a Microsoft Entra On-Behalf-Of (OBO) token exchange,
fastmcp_slim/fastmcp/server/auth/providers/azure.py:871
↓ 1 callersFunctionOptionalCurrentContext
Get the current FastMCP Context, or None when no context is active.
fastmcp_slim/fastmcp/server/dependencies.py:1041
↓ 1 callersFunctionOptionalCurrentSession
Inject the per-user `Session`, or `None` when the request is unauthenticated. Rarely written explicitly — a `session: UserSession | None = None`
fastmcp_slim/fastmcp/server/sessions.py:459
↓ 1 callersFunctionTaskKey
()
fastmcp_tasks/fastmcp_tasks/context.py:30
↓ 1 callersMethod__aenter__
Enter the context manager and set this context as the current context.
fastmcp_slim/fastmcp/server/context.py:269
↓ 1 callersMethod__aenter__
(self)
fastmcp_slim/fastmcp/server/dependencies.py:1277
↓ 1 callersMethod__aenter__
(self)
tests/server/test_dependencies_advanced.py:20
↓ 1 callersMethod__aexit__
(self, exc_type, exc_val, exc_tb)
tests/server/test_dependencies.py:28
↓ 1 callersMethod__aexit__
(self, exc_type, exc_val, exc_tb)
tests/server/test_dependencies_advanced.py:24
↓ 1 callersMethod__init__
( self, content: list[ContentBlock] | Any | None = None, structured_content: dict[str,
fastmcp_slim/fastmcp/tools/base.py:114
↓ 1 callersMethod__init__
Initialize OAuth client provider for an MCP server. Args: mcp_url: Full URL to the MCP endpoint (e.g. "http://host/mcp/s
fastmcp_slim/fastmcp/client/auth/oauth.py:212
↓ 1 callersMethod__init__
( self, api_origin: str = DEFAULT_HORIZON_API_ORIGIN, *, api_key: SecretStr |
fastmcp_slim/fastmcp/cli/deploy/horizon_client.py:153
↓ 1 callersMethod__init__
(self, session_manager: StreamableHTTPSessionManager | None)
fastmcp_slim/fastmcp/server/http.py:83
↓ 1 callersMethod__init__
Initialize AWS Cognito OAuth provider. Args: user_pool_id: Your Cognito User Pool ID (e.g., "eu-central-1_XXXXXXXXX")
fastmcp_slim/fastmcp/server/auth/providers/aws.py:125
↓ 1 callersMethod__init__
Initialize GitHub OAuth provider. Args: client_id: GitHub OAuth app client ID (e.g., "Ov23li...") client_secret: GitH
fastmcp_slim/fastmcp/server/auth/providers/github.py:216
← previousnext →1,401–1,500 of 13,374, ranked by callers