MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions16,224 in github.com/PrefectHQ/fastmcp

↓ 1 callersMethodrender
Render the prompt with arguments. Subclasses must implement this method. Return one of: - str: Wrapped as single user Message
fastmcp_slim/fastmcp/prompts/base.py:307
↓ 1 callersFunctionrender_explain
(r: Ranked, config: Config)
scripts/rank_issues.py:938
↓ 1 callersFunctionrender_markdown
(ranked: list[Ranked], config: Config)
scripts/rank_issues.py:918
↓ 1 callersMethodreopen_duplicate
(self, issue_number: int, closed_at: str)
scripts/auto_close_duplicates.py:170
↓ 1 callersFunctionreplace_refs
Call jsonref lazily while preserving the module's patchable boundary.
fastmcp_slim/fastmcp/utilities/json_schema.py:10
↓ 1 callersFunctionrequest_for
(method: str)
tests/server/providers/proxy/test_proxy_headers.py:77
↓ 1 callersFunctionrequire_client_capability
Raise `-32021` unless the client declared *capability* on this request. SEP-2575 makes capability negotiation per-request: the client repeats its
tests/conformance/server.py:66
↓ 1 callersFunctionresolve_auth
(config: RemoteConfig)
fastmcp_remote/fastmcp_remote/cli.py:235
↓ 1 callersFunctionresolve_public
Map each public module to the documented names it defines. An empty set means the module is public as an import path (for example a package `
scripts/pbt_coverage.py:99
↓ 1 callersFunctionresource
Standalone decorator to mark a function as an MCP resource. Returns the original function with metadata attached. Register with a server usin
fastmcp_slim/fastmcp/resources/function_resource.py:223
↓ 1 callersFunctionresource_metadata
(request: httpx2.Request, auth_server: str)
tests/client/auth/test_oauth_static_client_issuer.py:24
↓ 1 callersMethodrespond
()
tests/downstream/smoke_agent_framework.py:50
↓ 1 callersMethodrest
(self, path: str, **params: Any)
scripts/rank_issues.py:194
↓ 1 callersFunctionrestore_task_snapshot
Worker-level Docket dependency that restores the task-context snapshot. Runs before each fastmcp-owned task, populating the snapshot ContextVar
fastmcp_tasks/fastmcp_tasks/context.py:308
↓ 1 callersFunctionresult_type_for_method
The result type an outstanding request's answer validates into.
fastmcp_tasks/fastmcp_tasks/input_store.py:72
↓ 1 callersFunctionreview_binding
(review: dict, number: int)
scripts/public_triage.py:84
↓ 1 callersFunctionrevoke_and_clear_credential
Attempt remote revocation and always remove the stored credential.
fastmcp_slim/fastmcp/cli/deploy/credentials.py:161
↓ 1 callersMethodrevoke_token
(self, token: AccessToken | RefreshToken)
fastmcp_slim/fastmcp/server/auth/oauth_proxy/revocation.py:127
↓ 1 callersFunctionrewrite_tool_meta_for_wire
Return a copy with the shared URI and resource-only fields stripped.
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:288
↓ 1 callersFunctionroom_members
(bridge: Bridge, target: str)
examples/smart_home/src/smart_home/lights/server.py:42
↓ 1 callersFunctionroute
(route_path: str, component_type: str, action: str)
fastmcp_slim/fastmcp/contrib/component_manager/component_manager.py:133
↓ 1 callersFunctionrun
(*, stub_restore: bool)
tests/telemetry/test_span_attributes.py:438
↓ 1 callersFunctionrun
()
tests/docs/test_upgrade_guide_api_claims.py:117
↓ 1 callersFunctionrun
(test: str, seed: int, extra_env: dict[str, str] | None = None)
tests/pbt/mutants.py:247
↓ 1 callersFunctionrun
()
tests/pbt/test_openapi.py:243
↓ 1 callersFunctionrun
()
tests/pbt/test_tool_transform.py:302
↓ 1 callersFunctionrun
()
docs/v2-banner.js:22
↓ 1 callersFunctionrun
()
docs/language-dropdown.js:62
↓ 1 callersFunctionrun
()
docs/v3-banner.js:22
↓ 1 callersMethodrun
Run the FastMCP server. Note this is a synchronous function. Args: transport: Transport protocol to use ("http", "stdio", "sse",
fastmcp_slim/fastmcp/server/mixins/transport.py:107
↓ 1 callersMethodrun
Execute the HTTP request using RequestDirector.
fastmcp_slim/fastmcp/server/providers/openapi/components.py:238
↓ 1 callersMethodrun
( self, code: str, *, inputs: dict[str, Any] | None = None, external_f
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:148
↓ 1 callersFunctionrun_dev_apps
Start the full dev environment for a FastMCPApp server. Starts the user's MCP server on *mcp_port*, starts the Prefab dev UI on *dev_port* (w
fastmcp_slim/fastmcp/cli/apps_dev.py:1684
↓ 1 callersFunctionrun_lifespan
()
fastmcp_slim/fastmcp/utilities/asgi_transport.py:272
↓ 1 callersMethodrun_server
Load and run the server with this configuration. Args: **kwargs: Additional arguments to pass to server.run_async()
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:411
↓ 1 callersFunctionrun_server_in_process
Context manager that runs a FastMCP server in a separate process and returns the server URL. When the context manager is exited, the server p
fastmcp_slim/fastmcp/utilities/tests.py:87
↓ 1 callersFunctionrun_suite
Run the property-based tests with per-test coverage contexts.
scripts/pbt_coverage.py:56
↓ 1 callersFunctionrun_with_reload
Run a command with file watching and auto-reload. Args: cmd: Command to run as subprocess (should include --no-reload) reload_dir
fastmcp_slim/fastmcp/cli/run.py:412
↓ 1 callersFunctionrun_worker
Enter server lifespan and camp forever.
fastmcp_tasks/fastmcp_tasks/worker_cli.py:161
↓ 1 callersFunctionsample
(items: list[dict], at: datetime, source: str)
scripts/backlog_status.py:78
↓ 1 callersMethodsample
()
tests/server/middleware/test_caching.py:449
↓ 1 callersFunctionsampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestContext )
tests/client/test_sampling.py:100
↓ 1 callersMethodsave
Store this snapshot as a single Redis key. The stored value is encrypted when a ``FASTMCP_TASKS_ENCRYPTION_KEY`` is configured: this
fastmcp_tasks/fastmcp_tasks/context.py:245
↓ 1 callersFunctionsave_media
Save one verified item idempotently and return a receipt.
examples/apps/media_picker/media_picker_server.py:216
↓ 1 callersFunctionsave_task_args
Store the original tool arguments, re-supplied to every leg.
fastmcp_tasks/fastmcp_tasks/input_store.py:140
↓ 1 callersFunctionscalar_schemas
()
tests/pbt/test_openapi.py:41
↓ 1 callersFunctionscan_files
(root: Path)
fastmcp_slim/fastmcp/skills/_snapshot.py:86
↓ 1 callersFunctionscan_skill_files
Scan a skill directory for all files.
fastmcp_slim/fastmcp/server/providers/skills/_common.py:145
↓ 1 callersFunctionschema_view
name -> (required, default) as listed.
tests/pbt/test_tool_transform.py:172
↓ 1 callersFunctionschemas
A schema with `$defs` for every name `$ref`s may point at.
tests/pbt/schema_strategies.py:133
↓ 1 callersFunctionscoped_tool_with_auth_removed_by_server_transform
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:461
↓ 1 callersFunctionscore_issue
( issue: Issue, facts: AuthorFacts | None, judgment: Judgment | None, releases: list[Release],
scripts/rank_issues.py:812
↓ 1 callersFunctionscripted_model
()
tests/downstream/smoke_langchain_mcp_adapters.py:40
↓ 1 callersFunctionselectedDaily
()
status-site/app.js:58
↓ 1 callersMethodservers
(version: str | None)
tests/server/mount/test_filtering.py:114
↓ 1 callersMethodsession
Get the current active session. Raises RuntimeError if not connected.
fastmcp_slim/fastmcp/client/client.py:675
↓ 1 callersMethodset_elicitation_callback
Set the elicitation callback for the client.
fastmcp_slim/fastmcp/client/client.py:773
↓ 1 callersFunctionset_http_request
(request: Request)
fastmcp_slim/fastmcp/server/http.py:386
↓ 1 callersMethodset_roots
Set the roots for the client. This does not automatically call `send_roots_list_changed`.
fastmcp_slim/fastmcp/client/client.py:754
↓ 1 callersMethodset_sampling_callback
Set the sampling callback for the client.
fastmcp_slim/fastmcp/client/client.py:758
↓ 1 callersMethodset_setting
Set a setting. If the setting contains one or more `__`, it will be treated as a nested setting.
fastmcp_slim/fastmcp/settings.py:59
↓ 1 callersMethodsettings
(self)
tests/server/test_provider_extensions.py:58
↓ 1 callersFunctionsetup_database
Create the tools table and seed with example tools.
examples/providers/sqlite/setup_db.py:19
↓ 1 callersFunctionsetup_tracing
Set up OpenTelemetry tracing with OTLP export.
examples/diagnostics/client_with_tracing.py:32
↓ 1 callersFunctionshape
(tag, attrs, text)
status-site/pbt.js:37
↓ 1 callersFunctionshape_events
Tally how often drawn cases reach the shapes the findings needed.
tests/pbt/test_json_schema.py:205
↓ 1 callersFunctionshaped_instances
A value shaped by `schema`, valid more often than random JSON. It follows `$ref`, combinators, object properties and positional arrays, so va
tests/pbt/schema_strategies.py:225
↓ 1 callersFunctionshow
(index)
status-site/pbt.js:289
↓ 1 callersFunctionshow
(index)
status-site/app.js:227
↓ 1 callersFunctionshow_surface
Show what's visible through a filtered server.
examples/versioning/version_filters.py:60
↓ 1 callersFunctionshow_tools
Display available tools in a panel.
examples/namespace_activation/client.py:31
↓ 1 callersFunctionsleep
Sleep for a given number of seconds.
tests/conftest.py:258
↓ 1 callersFunctionsource_commit
()
scripts/pbt_coverage.py:278
↓ 1 callersFunctionsplit_c_runtime_arguments
Split a command line the way the Microsoft C runtime builds argv.
tests/cli/test_install_cli_arguments.py:136
↓ 1 callersFunctionspray
How much the author looks like an account opening PRs across many repositories at once, typical of unattended agents.
scripts/rank_issues.py:788
↓ 1 callersFunctionsquarify
(items, x, y, w, h)
status-site/pbt.js:45
↓ 1 callersFunctionstart_device_approval_status
Start the terminal spinner while the browser approval is pending.
fastmcp_slim/fastmcp/cli/deploy/output.py:129
↓ 1 callersFunctionstart_redis
(directory: str)
tests/downstream/smoke_redis_credentials.py:179
↓ 1 callersFunctionstat
(value, label)
status-site/pbt.js:138
↓ 1 callersMethodstatistics
Get the statistics for the cache.
fastmcp_slim/fastmcp/server/middleware/caching.py:639
↓ 1 callersMethodstatus
Return current status. Returns: A dict containing the current status.
tests/utilities/test_docstring_parsing.py:660
↓ 1 callersMethodstop_app
(self, app: str)
examples/smart_home/src/smart_home/fire_tv/client.py:33
↓ 1 callersFunctionstop_device_approval_status
Stop a device approval spinner when one is active.
fastmcp_slim/fastmcp/cli/deploy/output.py:142
↓ 1 callersFunctionstore_input_responses
Store translated responses for the next leg to read via ``ctx``. The responses are stored typed-but-serialized (``{"type", "data"}``) so the
fastmcp_tasks/fastmcp_tasks/input_store.py:369
↓ 1 callersFunctionstore_outstanding
Persist a leg's outstanding input requests plus its carried state. ``serialized_requests`` maps the tool's own request keys to serialized ``I
fastmcp_tasks/fastmcp_tasks/input_store.py:242
↓ 1 callersFunctionstore_result_once
Store the first callback result and ignore subsequent requests.
fastmcp_slim/fastmcp/client/oauth_callback.py:136
↓ 1 callersMethodstream
(request: Request)
tests/utilities/test_asgi_transport.py:41
↓ 1 callersFunctionsubmit_task_expecting_sync
(mcp, name, args)
tests/tasks/server/test_extension.py:136
↓ 1 callersFunctionsubschemas
()
tests/pbt/schema_strategies.py:128
↓ 1 callersFunctionsvg
(tag, attrs, text)
status-site/operations.js:40
↓ 1 callersFunctionsync_body
()
tests/tools/tool_transform/test_generator_execution.py:58
↓ 1 callersFunctionsynthesize_prefab_resources
Return one lazy resource per effective renderer configuration.
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:254
↓ 1 callersMethodsystem_one
(self, state: Any, questions: Any)
tests/experimental/transforms/test_jev_search.py:55
↓ 1 callersFunctiont
(o)
docs/unify-intent.js:26
↓ 1 callersFunctiontable
(modules)
status-site/pbt.js:341
↓ 1 callersFunctiontagged_contacts_app
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:72
↓ 1 callersFunctiontarget_for
(tag: str, pushed_sha: str)
scripts/draft_release.py:121
↓ 1 callersFunctiontask_a
()
tests/client/client/test_client.py:619
↓ 1 callersFunctiontask_b
()
tests/client/client/test_client.py:625
↓ 1 callersMethodteardown
(self)
tests/pbt/test_oauth_proxy_machine.py:165
← previousnext →3,001–3,100 of 16,224, ranked by callers