MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,224 in github.com/PrefectHQ/fastmcp

↓ 2 callersMethodlist_resources
Add namespace path segment to resource URIs.
fastmcp_slim/fastmcp/server/transforms/namespace.py:121
↓ 2 callersMethodlist_resources_mcp
Send a resources/list request and return the complete MCP protocol result. Args: cursor: Optional pagination cursor from a previo
fastmcp_slim/fastmcp/client/mixins/resources.py:29
↓ 2 callersMethodlist_schema
Generate schema for list types, detecting enum items for multi-select.
fastmcp_slim/fastmcp/server/elicitation.py:81
↓ 2 callersMethodlist_tools
Retrieve all tools available on the server. This method automatically fetches all pages if the server paginates results, returning th
fastmcp_slim/fastmcp/client/mixins/tools.py:91
↓ 2 callersMethodlist_tools
Prefix tool names with namespace.
fastmcp_slim/fastmcp/server/transforms/namespace.py:99
↓ 2 callersFunctionlog_server_banner
Creates and logs a formatted banner with server information and logo.
fastmcp_slim/fastmcp/utilities/cli.py:208
↓ 2 callersFunctionmaintainer_reply
(issue: Issue)
scripts/rank_issues.py:806
↓ 2 callersFunctionmake_proxy
(jwt_verifier)
tests/server/auth/oauth_proxy/test_nonpositive_expires_in.py:18
↓ 2 callersMethodmake_server
()
tests/server/auth/test_authorization.py:1781
↓ 2 callersFunctionmake_spec
(q_parameter: dict[str, Any])
tests/server/providers/openapi/test_query_key_collisions.py:16
↓ 2 callersMethodmake_tool_server
(self)
tests/server/auth/test_authorization.py:1554
↓ 2 callersFunctionmarked_review
(*, head="a" * 40, baseline="b" * 40, number=1, **overrides)
tests/test_public_triage.py:294
↓ 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 callersMethodmixed
Versioned and unversioned under one name, from different servers. One server refuses the mix, but nothing checks across a mount without
tests/pbt/test_components_machine.py:248
↓ 2 callersFunctionmodule_name
(path: Path)
scripts/pbt_coverage.py:77
↓ 2 callersFunctionnew_entries
(before: str, after: str)
scripts/draft_release.py:80
↓ 2 callersFunctionnewest_number
()
scripts/backlog_status.py:37
↓ 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:266
↓ 2 callersMethodon_call_tool
Time tool execution.
fastmcp_slim/fastmcp/server/middleware/timing.py:111
↓ 2 callersMethodon_list
(self, ctx: Context)
tests/apps/test_file_upload_retention.py:186
↓ 2 callersMethodon_request
Time request execution and log the results.
fastmcp_slim/fastmcp/server/middleware/timing.py:39
↓ 2 callersMethodon_store
(self, files: list[dict[str, Any]], ctx: Context)
tests/apps/test_file_upload_retention.py:182
↓ 2 callersFunctionone
(batch: list[str])
scripts/rank_issues.py:434
↓ 2 callersFunctionoptional_scope_challenge_proxy
()
tests/server/auth/test_multi_auth.py:58
↓ 2 callersFunctionoracle
Validity under Draft 2020-12. A drawn schema the oracle cannot judge (malformed, or an unguarded `$ref` cycle) is rejected as an example. A r
tests/pbt/test_json_schema.py:32
↓ 2 callersFunctionparse
(tag: str, block: str)
scripts/draft_release.py:46
↓ 2 callersFunctionparse_frontmatter
(content: bytes)
fastmcp_slim/fastmcp/skills/_snapshot.py:58
↓ 2 callersFunctionparse_time
(value: str)
scripts/backlog_status.py:60
↓ 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:404
↓ 2 callersFunctionprobe
()
tests/pbt/test_components_machine.py:59
↓ 2 callersFunctionranking
()
status-site/operations.js:188
↓ 2 callersMethodread
Read the resource content.
fastmcp_slim/fastmcp/resources/template.py:672
↓ 2 callersMethodread
(self)
fastmcp_slim/fastmcp/skills/provider.py:192
↓ 2 callersFunctionread_state
Read and validate a versioned JSON state file.
fastmcp_slim/fastmcp/cli/deploy/state.py:146
↓ 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 callersMethodreference
Refer to a class's identity rather than its possibly shared display name.
fastmcp_slim/fastmcp/utilities/json_schema_type.py:266
↓ 2 callersMethodregister
(fn: CompletionHandler)
fastmcp_slim/fastmcp/server/server.py:2528
↓ 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 callersFunctionrelease_prs
(notes: str)
scripts/release_contributor_credit.py:244
↓ 2 callersMethodremove_label
Remove a label from an issue.
scripts/auto_close_duplicates.py:182
↓ 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:304
↓ 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:246
↓ 2 callersMethodremove_tool
Remove tool(s) from this provider's storage. Args: name: The tool name. version: If None, removes ALL versions. If sp
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:218
↓ 2 callersMethodrenderer_uri
Return the renderer URI the server lists to an authorized caller.
tests/server/auth/test_authorization.py:1791
↓ 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:498
↓ 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_complete
(items: list[dict], newest: int)
scripts/backlog_status.py:53
↓ 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:288
↓ 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:96
↓ 2 callersMethodrequired_extensions
Collect bundled extensions from children in provider order.
fastmcp_slim/fastmcp/server/providers/aggregate.py:106
↓ 2 callersMethodreset
Clear all recorded notifications.
tests/client/test_notifications.py:62
↓ 2 callersFunctionresolve_definition_pointer
Look up ``pointer``, the part of a ``#/$defs/...`` reference after ``#/$defs/``, in ``definitions``. The pointer can continue into a definiti
fastmcp_slim/fastmcp/utilities/openapi/json_schema_converter.py:334
↓ 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:922
↓ 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:178
↓ 2 callersFunctionresolve_room
(bridge: Bridge, target: str)
examples/smart_home/src/smart_home/lights/server.py:36
↓ 2 callersMethodresource
()
tests/tools/test_tool_timeout.py:109
↓ 2 callersFunctionrespond
(request: httpx2.Request)
tests/server/auth/test_jwks_refresh.py:35
↓ 2 callersFunctionresponder
(request: httpx2.Request)
tests/client/auth/test_client_credentials.py:59
↓ 2 callersFunctionrest_actor
(user: dict[str, Any] | None)
scripts/release_contributor_credit.py:90
↓ 2 callersFunctionrest_authors
A REST commit's author plus its co-author trailers, in GraphQL's shape.
scripts/release_contributor_credit.py:129
↓ 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:429
↓ 2 callersMethodrun
Executes the tool by making a call through the client.
fastmcp_slim/fastmcp/server/providers/proxy.py:415
↓ 2 callersFunctionrun_checks
( report: Report, checks: list[Callable[[], Awaitable[object]]], gaps: dict[str, str] | None = Non
tests/downstream/smoke_langchain_mcp.py:112
↓ 2 callersFunctionrun_tasks_through_rotation
Rounds of concurrent task calls. Between rounds the server drops the connections after the provider's credentials have moved on, so the next
tests/downstream/smoke_redis_credentials.py:140
↓ 2 callersFunctionrun_v1_server_async
Run the MCP SDK's high-level `MCPServer` using async methods. Args: server: SDK `MCPServer` instance host: Host to bind to
fastmcp_slim/fastmcp/cli/run.py:324
↓ 2 callersFunctionsave_current_leg
Record the latest leg's Docket execution key and its number.
fastmcp_tasks/fastmcp_tasks/input_store.py:185
↓ 2 callersFunctionscripted_model
(add: str, forecast: str)
tests/downstream/smoke_langchain_mcp.py:55
↓ 2 callersFunctionsend
(message: Message)
tests/server/http/test_http_middleware.py:253
↓ 2 callersFunctionsend_callback
()
tests/client/auth/test_oauth_client.py:211
↓ 2 callersFunctionsent_query
(spec: dict[str, Any], args: dict[str, Any])
tests/server/providers/openapi/test_query_key_collisions.py:42
↓ 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 callersFunctionsetCategory
()
status-site/app.js:458
↓ 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:196
↓ 2 callersFunctionset_worker_server_resolver
Install (or clear) the worker-server resolver used by ``get_server()``.
fastmcp_slim/fastmcp/server/dependencies.py:218
↓ 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 callersFunctionspec_for
A POST /things whose request and response both use the `Thing` schema.
tests/server/providers/openapi/test_write_only_responses.py:139
↓ 2 callersMethodstart
Start the mock OAuth server.
tests/server/auth/oauth_proxy/conftest.py:214
↓ 2 callersMethodstatus
Fetch the task's current status via `tasks/get`.
fastmcp_tasks/fastmcp_tasks/client.py:435
↓ 2 callersMethodstore_event
( self, stream_id: StreamId, message: JSONRPCMessage | None )
fastmcp_slim/fastmcp/server/session_scoped_event_store.py:34
↓ 2 callersFunctionsynthesize_prefab_resource_by_uri
Intercept a Prefab renderer URI and synthesize on demand.
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:266
↓ 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:449
↓ 2 callersFunctiontasks_get
Handle ``tasks/get``: the detailed task with its result/error/inputs inlined.
fastmcp_tasks/fastmcp_tasks/handlers.py:250
↓ 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:337
↓ 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 callersFunctiontext_from
(pieces: list[str], *, min_size: int = 0)
tests/pbt/strategies.py:22
↓ 2 callersMethodto_dict
Convert MCPConfig to dictionary format, preserving all fields.
fastmcp_slim/fastmcp/mcp_config.py:392
↓ 2 callersMethodto_light_state
(self)
examples/smart_home/src/smart_home/lights/models.py:32
↓ 2 callersMethodto_transport
(self)
tests/client/group/test_client_group.py:27
↓ 2 callersMethodtoken_set
(self)
tests/pbt/test_oauth_proxy_machine.py:74
↓ 2 callersMethodtrack
(fn: Callable[..., Any])
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:244
↓ 2 callersMethodui
( self, name_or_fn: F, *, name: str | None = None, description: str |
fastmcp_slim/fastmcp/apps/app.py:280
← previousnext →1,801–1,900 of 16,224, ranked by callers