Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
↓ 1 callers
Function
main
()
examples/skills/download_skills.py:29
↓ 1 callers
Function
main
()
examples/smart_home/src/smart_home/__main__.py:4
↓ 1 callers
Function
main
()
examples/smart_home/scripts/pi_harness.py:11
↓ 1 callers
Function
main
()
examples/versioning/version_filters.py:76
↓ 1 callers
Function
main
()
examples/versioning/versioned_components.py:64
↓ 1 callers
Function
main
()
examples/versioning/client_version_selection.py:45
↓ 1 callers
Function
main
()
examples/resources_as_tools/client.py:17
↓ 1 callers
Function
main_health
Report main checks, including GitHub's automatic CodeQL runs.
scripts/maintenance_status.py:146
↓ 1 callers
Function
make
(name: str)
tests/experimental/transforms/test_jev_search.py:103
↓ 1 callers
Function
make_ext
(identifier: str, label: str)
tests/server/test_extensions.py:290
↓ 1 callers
Function
make_handler_wrapper
( handler: Callable[..., Awaitable[Any]], call_next: CallNext[Any, Any], )
fastmcp_slim/fastmcp/server/middleware/middleware.py:126
↓ 1 callers
Function
make_judge
(config: Config)
scripts/rank_issues.py:635
↓ 1 callers
Function
mark_cancelled
Record that a task was cancelled at the logical (not per-leg) level. An ``input_required`` task's current Docket execution is already ``COMPL
fastmcp_tasks/fastmcp_tasks/input_store.py:429
↓ 1 callers
Function
mark_interior_dispatched
Record that an interior component middleware chain ran for this message.
fastmcp_slim/fastmcp/server/middleware/middleware.py:67
↓ 1 callers
Function
markdown
(doc: dict)
scripts/maintenance_status.py:520
↓ 1 callers
Method
matches
Check if URI matches template and extract parameters.
fastmcp_slim/fastmcp/resources/template.py:448
↓ 1 callers
Function
max_version
Return the greater of two versions. Args: a: First version string (or None). b: Second version string (or None). Returns:
fastmcp_slim/fastmcp/utilities/versions.py:272
↓ 1 callers
Function
measure
(node: dict[str, Any] | list[Any], depth: int)
fastmcp_slim/fastmcp/utilities/json_schema.py:124
↓ 1 callers
Function
measure
(case: BenchmarkCase, runs: int)
scripts/benchmark_imports.py:139
↓ 1 callers
Function
measure_once
(stmt: str, prereqs: str)
scripts/benchmark_imports.py:120
↓ 1 callers
Function
mentioned_version
(body: str)
scripts/rank_issues.py:715
↓ 1 callers
Method
merge_with
(self, other: Self, deps: Deps)
examples/memory.py:136
↓ 1 callers
Method
methods
New request methods this extension serves (additive).
fastmcp_slim/fastmcp/server/extensions.py:239
↓ 1 callers
Function
min_version
Return the lesser of two versions. Args: a: First version string (or None). b: Second version string (or None). Returns:
fastmcp_slim/fastmcp/utilities/versions.py:289
↓ 1 callers
Method
new
(self)
fastmcp_slim/fastmcp/server/providers/proxy.py:1806
↓ 1 callers
Method
new
(self)
tests/server/providers/proxy/test_server_metadata.py:454
↓ 1 callers
Function
normalize
(msg: str)
tests/utilities/json_schema_type/cluster_failures.py:59
↓ 1 callers
Function
observeRouteChanges
(callback)
docs/fastmcp-analytics.js:51
↓ 1 callers
Method
on_cancelled
(self, message: mcp_types.CancelledNotification)
fastmcp_slim/fastmcp/client/messages.py:91
↓ 1 callers
Method
on_exception
(self, message: Exception)
fastmcp_slim/fastmcp/client/messages.py:60
↓ 1 callers
Method
on_get_prompt
Time prompt retrieval.
fastmcp_slim/fastmcp/server/middleware/timing.py:127
↓ 1 callers
Method
on_list_tools
Time tool listing.
fastmcp_slim/fastmcp/server/middleware/timing.py:134
↓ 1 callers
Method
on_logging_message
( self, message: mcp_types.LoggingMessageNotification )
fastmcp_slim/fastmcp/client/messages.py:66
↓ 1 callers
Method
on_message
(self, message: Message)
fastmcp_slim/fastmcp/client/messages.py:54
↓ 1 callers
Method
on_notification
(self, message: mcp_types.ServerNotification)
fastmcp_slim/fastmcp/client/messages.py:57
↓ 1 callers
Method
on_progress
(self, message: mcp_types.ProgressNotification)
fastmcp_slim/fastmcp/client/messages.py:63
↓ 1 callers
Method
on_prompt_list_changed
( self, message: mcp_types.PromptListChangedNotification )
fastmcp_slim/fastmcp/client/messages.py:81
↓ 1 callers
Method
on_read
Read a file's contents by name. Args: name: The filename to read. ctx: The current request context. Override
fastmcp_slim/fastmcp/apps/file_upload.py:232
↓ 1 callers
Method
on_read_resource
Time resource reading.
fastmcp_slim/fastmcp/server/middleware/timing.py:118
↓ 1 callers
Method
on_request
(self, context, call_next)
tests/server/test_completions.py:332
↓ 1 callers
Method
on_resource_list_changed
( self, message: mcp_types.ResourceListChangedNotification )
fastmcp_slim/fastmcp/client/messages.py:76
↓ 1 callers
Method
on_resource_updated
( self, message: mcp_types.ResourceUpdatedNotification )
fastmcp_slim/fastmcp/client/messages.py:86
↓ 1 callers
Method
on_store
Store uploaded files and return summaries. Args: files: List of file dicts, each with ``name``, ``size``, ``type`
fastmcp_slim/fastmcp/apps/file_upload.py:183
↓ 1 callers
Method
on_tool_list_changed
( self, message: mcp_types.ToolListChangedNotification )
fastmcp_slim/fastmcp/client/messages.py:71
↓ 1 callers
Function
one
(r: dict)
scripts/gate_digest.py:254
↓ 1 callers
Function
one_workflow
State, last success, and outcome counts for one workflow over the window.
scripts/maintenance_status.py:207
↓ 1 callers
Function
open_deeplink
Attempt to open a deeplink URL using the system's default handler. Args: url: The deeplink URL to open. expected_scheme: The URL
fastmcp_slim/fastmcp/cli/install/shared.py:298
↓ 1 callers
Function
operator_entries
Entries another system publishes about itself, or one marker if it can't be read.
scripts/maintenance_status.py:423
↓ 1 callers
Function
other_prs
Other contributions that link `issue`, whether or not the gate holds them. Open PRs and PRs the gate closed still compete: assignment reopens a
scripts/gate_digest.py:118
↓ 1 callers
Function
overall
(doc: dict)
scripts/maintenance_status.py:513
↓ 1 callers
Function
parse_cmd_special_characters
Model cmd.exe quote and caret handling, failing on unquoted operators.
tests/cli/test_install_cli_arguments.py:115
↓ 1 callers
Function
parse_env_var
Parse environment variable string in format KEY=VALUE.
fastmcp_slim/fastmcp/cli/install/shared.py:166
↓ 1 callers
Function
payload_has_identities
Cheap guard: does this payload carry tool references worth rewriting? Runs on every tool result, so it must not walk the tree.
fastmcp_slim/fastmcp/server/providers/prefab_payload.py:83
↓ 1 callers
Function
pick_issue
The linked issue this PR can be assigned on, as the gate would take it.
scripts/gate_digest.py:179
↓ 1 callers
Function
play_media
Play one verified item through the configured MCP actuator, or return a demo receipt.
examples/apps/media_picker/media_picker_server.py:185
↓ 1 callers
Function
plural
(n: int, noun: str)
scripts/rank_issues_tui.py:97
↓ 1 callers
Method
prepare
Prepare the source (download, clone, install, etc). For sources that need preparation (e.g., git clone, download), this method perfor
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/sources/base.py:12
↓ 1 callers
Method
prepare_environment
Prepare the Python environment. Args: output_dir: If provided, creates a persistent uv project in this directory.
fastmcp_slim/fastmcp/utilities/mcp_server_config/v1/mcp_server_config.py:363
↓ 1 callers
Function
print_table
(results: list[dict[str, float | str | None]])
scripts/benchmark_imports.py:161
↓ 1 callers
Function
prompt
(fn: F)
fastmcp_slim/fastmcp/prompts/function_prompt.py:367
↓ 1 callers
Method
prompt
( self, name_or_fn: F, *, name: str | None = None, version: str | int
fastmcp_slim/fastmcp/server/server.py:2075
↓ 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:241
↓ 1 callers
Function
public_assessment
(judgment: Judgment | None)
scripts/rank_issues.py:1013
↓ 1 callers
Function
public_snapshot
Allowlist public fields and re-score before ordering or truncating.
scripts/rank_issues.py:1047
↓ 1 callers
Method
query
Return indices of top_k documents sorted by BM25 score.
fastmcp_slim/fastmcp/server/transforms/search/bm25.py:56
↓ 1 callers
Method
read
Read the resource content.
fastmcp_slim/fastmcp/resources/template.py:474
↓ 1 callers
Method
read
Fetch the resource data by making an HTTP request.
fastmcp_slim/fastmcp/server/providers/openapi/components.py:302
↓ 1 callers
Method
read
Read the resource content.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:52
↓ 1 callers
Method
read
Read a file from the skill directory.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:77
↓ 1 callers
Method
reasons
(self, weights: dict[str, float], top: int = 3)
scripts/rank_issues.py:746
↓ 1 callers
Function
receive
(request: Request)
tests/server/providers/openapi/test_multipart_array_defaults.py:55
↓ 1 callers
Function
reconnect_and_count_tools
()
tests/client/client/test_client.py:611
↓ 1 callers
Function
records_remote
(calls: list[str])
tests/cli/test_fastmcp_remote.py:261
↓ 1 callers
Function
recover_proxy_pid
Call the proxy and return the pid of the freshly spawned backend subprocess.
tests/client/test_stdio.py:119
↓ 1 callers
Function
refresh
()
status-site/app.js:399
↓ 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:189
↓ 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
Method
register
(fn: CompletionHandler)
fastmcp_slim/fastmcp/server/server.py:2272
↓ 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
Function
release_context
(issue: Issue, releases: list[Release])
scripts/rank_issues.py:761
↓ 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:221
↓ 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:285
↓ 1 callers
Function
render
()
status-site/app.js:269
↓ 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:296
↓ 1 callers
Function
render_explain
(r: Ranked, config: Config)
scripts/rank_issues.py:947
↓ 1 callers
Function
render_markdown
(ranked: list[Ranked], config: Config)
scripts/rank_issues.py:927
↓ 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
report
(rows: list[dict])
scripts/gate_digest.py:347
↓ 1 callers
Method
report_progress
Report progress for the current operation. Works in both foreground (MCP progress notifications) and background (Docket task executio
fastmcp_slim/fastmcp/server/context.py:453
↓ 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:231
↓ 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
responder
(request: httpx2.Request)
tests/client/auth/test_client_credentials.py:56
↓ 1 callers
Method
rest
(self, path: str, **params: Any)
scripts/rank_issues.py:196
↓ 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
← previous
next →
2,301–2,400 of 13,374, ranked by callers