Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,098 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,098
◇
Types & classes
2,237
↳
Endpoints
189
↓ 1 callers
Function
produce
(value)
tests/server/test_generator_dependency_lifetime.py:35
↓ 1 callers
Function
prompt
(fn: F)
fastmcp_slim/fastmcp/prompts/function_prompt.py:384
↓ 1 callers
Function
propertyless_variant_spec
Subtypes that add nothing beyond the parent they compose.
tests/server/providers/openapi/test_openapi_discriminator.py:152
↓ 1 callers
Function
prune_memories
(deps: Deps)
examples/memory.py:239
↓ 1 callers
Function
public_assessment
(judgment: Judgment | None)
scripts/rank_issues.py:1004
↓ 1 callers
Function
public_snapshot
Allowlist public fields and re-score before ordering or truncating.
scripts/rank_issues.py:1038
↓ 1 callers
Method
query
Return indices of top_k documents sorted by BM25 score.
fastmcp_slim/fastmcp/server/transforms/search/bm25.py:57
↓ 1 callers
Function
rank
Rank the next page of open issues (newest first) after `after`.
scripts/rank_issues.py:961
↓ 1 callers
Method
read
Read the resource content.
fastmcp_slim/fastmcp/resources/template.py:542
↓ 1 callers
Method
read
Fetch the resource data by making an HTTP request.
fastmcp_slim/fastmcp/server/providers/openapi/components.py:361
↓ 1 callers
Method
read
Read the resource content.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:69
↓ 1 callers
Method
read
Read a file from the skill directory.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:96
↓ 1 callers
Function
read_activity
(number: int, pr: dict, baseline: str | None)
scripts/public_triage.py:155
↓ 1 callers
Method
read_file
(self, resource: SkillFileResource)
fastmcp_slim/fastmcp/skills/provider.py:259
↓ 1 callers
Method
reasons
(self, weights: dict[str, float], top: int = 3)
scripts/rank_issues.py:742
↓ 1 callers
Function
receive
()
tests/server/http/test_http_middleware.py:249
↓ 1 callers
Function
recent
()
status-site/app.js:270
↓ 1 callers
Function
reconnect_and_count_tools
()
tests/client/client/test_client.py:668
↓ 1 callers
Function
reconsider_duplicate
(client: GitHubClient, event: dict)
scripts/auto_close_duplicates.py:299
↓ 1 callers
Function
records_remote
(calls: list[str])
tests/cli/test_fastmcp_remote.py:270
↓ 1 callers
Function
recover_proxy_pid
Call the proxy and return the pid of the freshly spawned backend subprocess.
tests/client/test_stdio.py:127
↓ 1 callers
Function
refresh
()
status-site/operations.js:399
↓ 1 callers
Function
refresh
()
status-site/app.js:618
↓ 1 callers
Function
refreshBacklog
(generation)
status-site/app.js:594
↓ 1 callers
Function
refreshTriage
(generation)
status-site/app.js:480
↓ 1 callers
Function
refresh_args_ttl
Extend the stored arguments' TTL (sliding expiration). The arguments are written once at create, but a re-entered leg re-reads them through `
fastmcp_tasks/fastmcp_tasks/input_store.py:156
↓ 1 callers
Function
refresh_current_leg_ttl
Extend the current-leg pointer's TTL (sliding expiration). The pointer is written with a wall-clock TTL, but a leg's execution can run longer
fastmcp_tasks/fastmcp_tasks/input_store.py:205
↓ 1 callers
Function
refresh_snapshot_ttl
Slide the snapshot key's TTL alongside the task's routing keys. An actively polled task refreshes its metadata and leg pointers on every ``ta
fastmcp_tasks/fastmcp_tasks/context.py:142
↓ 1 callers
Function
register_internal_client_extension_factory
Register a factory whose extension every ``Client`` folds in automatically. Idempotent: registering the same factory object twice is a no-op, so
fastmcp_slim/fastmcp/client/extension_hooks.py:42
↓ 1 callers
Function
registered_component_for_key
Return the Docket-registered task component matching ``component_key``. ``get_tasks()`` yields the same components registered with Docket (the
fastmcp_tasks/fastmcp_tasks/creation.py:164
↓ 1 callers
Method
reject
(cls, value: object)
tests/server/middleware/test_error_handling.py:820
↓ 1 callers
Function
release_context
(issue: Issue, releases: list[Release])
scripts/rank_issues.py:757
↓ 1 callers
Method
reload
( *, task_status: TaskStatus[anyio.CancelScope] = anyio.TASK_STATUS_IGNORED )
tests/fs/test_provider.py:369
↓ 1 callers
Function
remaining
()
fastmcp_tasks/fastmcp_tasks/client.py:272
↓ 1 callers
Function
remove_state
Remove a state file when it exists.
fastmcp_slim/fastmcp/cli/deploy/state.py:222
↓ 1 callers
Method
remove_template
Remove resource template(s) from this provider's storage. Args: uri_template: The template URI pattern. version: If N
fastmcp_slim/fastmcp/server/providers/local_provider/local_provider.py:274
↓ 1 callers
Function
render
()
status-site/operations.js:269
↓ 1 callers
Function
render
()
status-site/app.js:465
↓ 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
Method
resource
()
tests/tools/test_tool_timeout.py:109
↓ 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
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:138
↓ 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
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
schemas
A schema with `$defs` for every name `$ref`s may point at.
tests/pbt/schema_strategies.py:129
↓ 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
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:194
↓ 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:209
← previous
next →
2,901–3,000 of 16,098, ranked by callers