Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,224 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,224
◇
Types & classes
2,249
↳
Endpoints
189
↓ 1 callers
Method
render
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 callers
Function
render_explain
(r: Ranked, config: Config)
scripts/rank_issues.py:938
↓ 1 callers
Function
render_markdown
(ranked: list[Ranked], config: Config)
scripts/rank_issues.py:918
↓ 1 callers
Method
reopen_duplicate
(self, issue_number: int, closed_at: str)
scripts/auto_close_duplicates.py:170
↓ 1 callers
Function
replace_refs
Call jsonref lazily while preserving the module's patchable boundary.
fastmcp_slim/fastmcp/utilities/json_schema.py:10
↓ 1 callers
Function
request_for
(method: str)
tests/server/providers/proxy/test_proxy_headers.py:77
↓ 1 callers
Function
require_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 callers
Function
resolve_auth
(config: RemoteConfig)
fastmcp_remote/fastmcp_remote/cli.py:235
↓ 1 callers
Function
resolve_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 callers
Function
resource
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 callers
Function
resource_metadata
(request: httpx2.Request, auth_server: str)
tests/client/auth/test_oauth_static_client_issuer.py:24
↓ 1 callers
Method
respond
()
tests/downstream/smoke_agent_framework.py:50
↓ 1 callers
Method
rest
(self, path: str, **params: Any)
scripts/rank_issues.py:194
↓ 1 callers
Function
restore_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 callers
Function
result_type_for_method
The result type an outstanding request's answer validates into.
fastmcp_tasks/fastmcp_tasks/input_store.py:72
↓ 1 callers
Function
review_binding
(review: dict, number: int)
scripts/public_triage.py:84
↓ 1 callers
Function
revoke_and_clear_credential
Attempt remote revocation and always remove the stored credential.
fastmcp_slim/fastmcp/cli/deploy/credentials.py:161
↓ 1 callers
Method
revoke_token
(self, token: AccessToken | RefreshToken)
fastmcp_slim/fastmcp/server/auth/oauth_proxy/revocation.py:127
↓ 1 callers
Function
rewrite_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 callers
Function
room_members
(bridge: Bridge, target: str)
examples/smart_home/src/smart_home/lights/server.py:42
↓ 1 callers
Function
route
(route_path: str, component_type: str, action: str)
fastmcp_slim/fastmcp/contrib/component_manager/component_manager.py:133
↓ 1 callers
Function
run
(*, stub_restore: bool)
tests/telemetry/test_span_attributes.py:438
↓ 1 callers
Function
run
()
tests/docs/test_upgrade_guide_api_claims.py:117
↓ 1 callers
Function
run
(test: str, seed: int, extra_env: dict[str, str] | None = None)
tests/pbt/mutants.py:247
↓ 1 callers
Function
run
()
tests/pbt/test_openapi.py:243
↓ 1 callers
Function
run
()
tests/pbt/test_tool_transform.py:302
↓ 1 callers
Function
run
()
docs/v2-banner.js:22
↓ 1 callers
Function
run
()
docs/language-dropdown.js:62
↓ 1 callers
Function
run
()
docs/v3-banner.js:22
↓ 1 callers
Method
run
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 callers
Method
run
Execute the HTTP request using RequestDirector.
fastmcp_slim/fastmcp/server/providers/openapi/components.py:238
↓ 1 callers
Method
run
( self, code: str, *, inputs: dict[str, Any] | None = None, external_f
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:148
↓ 1 callers
Function
run_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 callers
Function
run_lifespan
()
fastmcp_slim/fastmcp/utilities/asgi_transport.py:272
↓ 1 callers
Method
run_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 callers
Function
run_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 callers
Function
run_suite
Run the property-based tests with per-test coverage contexts.
scripts/pbt_coverage.py:56
↓ 1 callers
Function
run_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 callers
Function
run_worker
Enter server lifespan and camp forever.
fastmcp_tasks/fastmcp_tasks/worker_cli.py:161
↓ 1 callers
Function
sample
(items: list[dict], at: datetime, source: str)
scripts/backlog_status.py:78
↓ 1 callers
Method
sample
()
tests/server/middleware/test_caching.py:449
↓ 1 callers
Function
sampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestContext )
tests/client/test_sampling.py:100
↓ 1 callers
Method
save
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 callers
Function
save_media
Save one verified item idempotently and return a receipt.
examples/apps/media_picker/media_picker_server.py:216
↓ 1 callers
Function
save_task_args
Store the original tool arguments, re-supplied to every leg.
fastmcp_tasks/fastmcp_tasks/input_store.py:140
↓ 1 callers
Function
scalar_schemas
()
tests/pbt/test_openapi.py:41
↓ 1 callers
Function
scan_files
(root: Path)
fastmcp_slim/fastmcp/skills/_snapshot.py:86
↓ 1 callers
Function
scan_skill_files
Scan a skill directory for all files.
fastmcp_slim/fastmcp/server/providers/skills/_common.py:145
↓ 1 callers
Function
schema_view
name -> (required, default) as listed.
tests/pbt/test_tool_transform.py:172
↓ 1 callers
Function
schemas
A schema with `$defs` for every name `$ref`s may point at.
tests/pbt/schema_strategies.py:133
↓ 1 callers
Function
scoped_tool_with_auth_removed_by_server_transform
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:461
↓ 1 callers
Function
score_issue
( issue: Issue, facts: AuthorFacts | None, judgment: Judgment | None, releases: list[Release],
scripts/rank_issues.py:812
↓ 1 callers
Function
scripted_model
()
tests/downstream/smoke_langchain_mcp_adapters.py:40
↓ 1 callers
Function
selectedDaily
()
status-site/app.js:58
↓ 1 callers
Method
servers
(version: str | None)
tests/server/mount/test_filtering.py:114
↓ 1 callers
Method
session
Get the current active session. Raises RuntimeError if not connected.
fastmcp_slim/fastmcp/client/client.py:675
↓ 1 callers
Method
set_elicitation_callback
Set the elicitation callback for the client.
fastmcp_slim/fastmcp/client/client.py:773
↓ 1 callers
Function
set_http_request
(request: Request)
fastmcp_slim/fastmcp/server/http.py:386
↓ 1 callers
Method
set_roots
Set the roots for the client. This does not automatically call `send_roots_list_changed`.
fastmcp_slim/fastmcp/client/client.py:754
↓ 1 callers
Method
set_sampling_callback
Set the sampling callback for the client.
fastmcp_slim/fastmcp/client/client.py:758
↓ 1 callers
Method
set_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 callers
Method
settings
(self)
tests/server/test_provider_extensions.py:58
↓ 1 callers
Function
setup_database
Create the tools table and seed with example tools.
examples/providers/sqlite/setup_db.py:19
↓ 1 callers
Function
setup_tracing
Set up OpenTelemetry tracing with OTLP export.
examples/diagnostics/client_with_tracing.py:32
↓ 1 callers
Function
shape
(tag, attrs, text)
status-site/pbt.js:37
↓ 1 callers
Function
shape_events
Tally how often drawn cases reach the shapes the findings needed.
tests/pbt/test_json_schema.py:205
↓ 1 callers
Function
shaped_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 callers
Function
show
(index)
status-site/pbt.js:289
↓ 1 callers
Function
show
(index)
status-site/app.js:227
↓ 1 callers
Function
show_surface
Show what's visible through a filtered server.
examples/versioning/version_filters.py:60
↓ 1 callers
Function
show_tools
Display available tools in a panel.
examples/namespace_activation/client.py:31
↓ 1 callers
Function
sleep
Sleep for a given number of seconds.
tests/conftest.py:258
↓ 1 callers
Function
source_commit
()
scripts/pbt_coverage.py:278
↓ 1 callers
Function
split_c_runtime_arguments
Split a command line the way the Microsoft C runtime builds argv.
tests/cli/test_install_cli_arguments.py:136
↓ 1 callers
Function
spray
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 callers
Function
squarify
(items, x, y, w, h)
status-site/pbt.js:45
↓ 1 callers
Function
start_device_approval_status
Start the terminal spinner while the browser approval is pending.
fastmcp_slim/fastmcp/cli/deploy/output.py:129
↓ 1 callers
Function
start_redis
(directory: str)
tests/downstream/smoke_redis_credentials.py:179
↓ 1 callers
Function
stat
(value, label)
status-site/pbt.js:138
↓ 1 callers
Method
statistics
Get the statistics for the cache.
fastmcp_slim/fastmcp/server/middleware/caching.py:639
↓ 1 callers
Method
status
Return current status. Returns: A dict containing the current status.
tests/utilities/test_docstring_parsing.py:660
↓ 1 callers
Method
stop_app
(self, app: str)
examples/smart_home/src/smart_home/fire_tv/client.py:33
↓ 1 callers
Function
stop_device_approval_status
Stop a device approval spinner when one is active.
fastmcp_slim/fastmcp/cli/deploy/output.py:142
↓ 1 callers
Function
store_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 callers
Function
store_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 callers
Function
store_result_once
Store the first callback result and ignore subsequent requests.
fastmcp_slim/fastmcp/client/oauth_callback.py:136
↓ 1 callers
Method
stream
(request: Request)
tests/utilities/test_asgi_transport.py:41
↓ 1 callers
Function
submit_task_expecting_sync
(mcp, name, args)
tests/tasks/server/test_extension.py:136
↓ 1 callers
Function
subschemas
()
tests/pbt/schema_strategies.py:128
↓ 1 callers
Function
svg
(tag, attrs, text)
status-site/operations.js:40
↓ 1 callers
Function
sync_body
()
tests/tools/tool_transform/test_generator_execution.py:58
↓ 1 callers
Function
synthesize_prefab_resources
Return one lazy resource per effective renderer configuration.
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:254
↓ 1 callers
Method
system_one
(self, state: Any, questions: Any)
tests/experimental/transforms/test_jev_search.py:55
↓ 1 callers
Function
t
(o)
docs/unify-intent.js:26
↓ 1 callers
Function
table
(modules)
status-site/pbt.js:341
↓ 1 callers
Function
tagged_contacts_app
(calls: list[str])
tests/server/test_hashed_tool_dispatch.py:72
↓ 1 callers
Function
target_for
(tag: str, pushed_sha: str)
scripts/draft_release.py:121
↓ 1 callers
Function
task_a
()
tests/client/client/test_client.py:619
↓ 1 callers
Function
task_b
()
tests/client/client/test_client.py:625
↓ 1 callers
Method
teardown
(self)
tests/pbt/test_oauth_proxy_machine.py:165
← previous
next →
3,001–3,100 of 16,224, ranked by callers