Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
17,519 in github.com/PrefectHQ/fastmcp
⨍
Functions
17,519
◇
Types & classes
2,390
↳
Endpoints
196
↓ 1 callers
Method
add
(a: int, b: int)
tests/server/mount/test_advanced.py:263
↓ 1 callers
Function
addBanner
()
docs/v2-banner.js:5
↓ 1 callers
Function
addBanner
()
docs/v3-banner.js:5
↓ 1 callers
Method
add_completion_handler
Register the server's argument-completion handler. A server has a single completion handler that answers every `completion/complete`
fastmcp_slim/fastmcp/server/server.py:2611
↓ 1 callers
Function
add_memory
(content: str, deps: Deps)
examples/memory.py:171
↓ 1 callers
Method
add_template
Add a resource template to this provider's storage.
fastmcp_slim/fastmcp/server/providers/local_provider/decorators/resources.py:105
↓ 1 callers
Function
analyze
( data_file: Path | None, public: dict[str, set[str]], paths: list[Path] | None = None, )
scripts/pbt_coverage.py:202
↓ 1 callers
Function
analyze_data
Filter and analyze sales data. Returns rows, summary, and chart data.
examples/apps/explorer/explorer_server.py:337
↓ 1 callers
Function
annotate_payload_identities
Record the identity-addressed form of each reference, at serialization. References start out as ``__<hash>_<local_name>``, so the map begins as a
fastmcp_slim/fastmcp/server/providers/prefab_payload.py:91
↓ 1 callers
Function
answer
(server: FastMCP, op)
tests/pbt/test_middleware.py:421
↓ 1 callers
Function
any_value
(*, min_size: int = 0)
tests/pbt/strategies.py:26
↓ 1 callers
Function
append
(items: list[dict[str, Any]])
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:297
↓ 1 callers
Function
apply_layer
The layer a client sees after `transforms`, or why from_tool refuses.
tests/pbt/test_tool_transform.py:145
↓ 1 callers
Function
arg_transform_refusal
Why `ArgTransform(**opts)` is refused, per its documented rules.
tests/pbt/test_tool_transform.py:133
↓ 1 callers
Function
arg_transforms
Raw ArgTransform options per argument, including invalid combinations.
tests/pbt/test_tool_transform.py:109
↓ 1 callers
Function
argument_names
(location, name) -> tool argument name, per the documented suffix rule.
tests/pbt/test_openapi.py:138
↓ 1 callers
Function
as_principal
(token: SDKAccessToken | None)
tests/server/test_sessions.py:44
↓ 1 callers
Function
as_proxy_backend
Apply proxy connection settings to a copy we own. The caller handed us their Client; configuring it in place would change how
fastmcp_slim/fastmcp/server/providers/proxy.py:1578
↓ 1 callers
Function
as_text
(value: Any)
tests/pbt/test_openapi_params.py:144
↓ 1 callers
Method
asend
(self, value)
tests/client/auth/test_oauth_client.py:475
↓ 1 callers
Function
association
The login's repository association, from any item they authored here.
scripts/release_contributor_credit.py:111
↓ 1 callers
Method
async_auth_flow
( self, request: httpx2.Request )
fastmcp_slim/fastmcp/client/auth/client_credentials.py:273
↓ 1 callers
Function
async_body
()
tests/tools/tool_transform/test_generator_execution.py:62
↓ 1 callers
Function
at
(event)
status-site/pbt.js:372
↓ 1 callers
Function
at_uri
(message: dict[str, Any])
examples/events/jetstream.py:130
↓ 1 callers
Function
attach_metadata
(fn: F, tool_name: str | None)
fastmcp_slim/fastmcp/tools/function_tool.py:650
↓ 1 callers
Function
attach_metadata
(fn: F)
fastmcp_slim/fastmcp/resources/function_resource.py:252
↓ 1 callers
Function
attach_metadata
(fn: F, prompt_name: str | None)
fastmcp_slim/fastmcp/prompts/function_prompt.py:463
↓ 1 callers
Function
attention
(title, detail, state, url)
status-site/operations.js:31
↓ 1 callers
Method
authenticate_request
Authenticate a client from an HTTP request. Extends SDK authentication to support private_key_jwt for CIMD clients. Delegates to SDK
fastmcp_slim/fastmcp/server/auth/auth.py:261
↓ 1 callers
Function
author_note
(r: Ranked)
scripts/rank_issues.py:899
↓ 1 callers
Function
author_trust
(issue: Issue, facts: AuthorFacts | None, now: datetime)
scripts/rank_issues.py:771
↓ 1 callers
Function
authorize
()
tests/cli/deploy/test_credentials.py:117
↓ 1 callers
Function
automations
()
status-site/operations.js:149
↓ 1 callers
Function
backlog
(at)
tests/test_status_refresh.cjs:73
↓ 1 callers
Function
badge
(doc: dict)
scripts/maintenance_status.py:580
↓ 1 callers
Function
base_task_key
Strip any per-leg suffix, returning the stable base task key.
fastmcp_tasks/fastmcp_tasks/keys.py:63
↓ 1 callers
Function
bin
(m)
status-site/pbt.js:34
↓ 1 callers
Function
blob_resource
(uri: str, data: bytes)
tests/utilities/test_skills.py:49
↓ 1 callers
Method
body
()
tests/utilities/test_asgi_transport.py:42
↓ 1 callers
Function
branch_exists
Only a confirmed 404 means absent; any other failure stops the draft.
scripts/draft_release.py:102
↓ 1 callers
Function
build
(items: list[dict], now: datetime, limit: int = 5)
scripts/public_triage.py:203
↓ 1 callers
Function
build
(items: list[dict], previous: dict, now: datetime)
scripts/backlog_status.py:94
↓ 1 callers
Function
build
()
scripts/maintenance_status.py:478
↓ 1 callers
Function
buildDropdown
()
docs/language-dropdown.js:24
↓ 1 callers
Function
buildPageViewProperties
()
docs/fastmcp-analytics.js:80
↓ 1 callers
Function
build_internal_client_extensions
Build the internal extensions to fold into a ``Client`` under construction. Each registered factory is invoked with the client's elicitation call
fastmcp_slim/fastmcp/client/extension_hooks.py:54
↓ 1 callers
Function
build_method_handler
Wrap a `MethodBinding` into a low-level request handler. The adapter enforces `protocol_versions` gating (rejecting other versions as `METHOD
fastmcp_slim/fastmcp/server/extensions.py:320
↓ 1 callers
Function
build_mounted_app
Mount an authenticated FastMCP server under /api with well-known routes at root.
tests/server/auth/test_issuer_url_identity.py:87
↓ 1 callers
Function
build_parser
()
fastmcp_remote/fastmcp_remote/cli.py:114
↓ 1 callers
Function
build_positions
(json_input: bool)
fastmcp_slim/fastmcp/utilities/json_schema_type.py:896
↓ 1 callers
Function
build_server_without_transform
()
tests/server/transforms/test_model_visibility_boundary.py:27
↓ 1 callers
Function
build_token_storage
(storage_dir: Path)
fastmcp_remote/fastmcp_remote/cli.py:224
↓ 1 callers
Function
cached_guard_server
A caching server whose tool, prompt, and resource are all guards.
tests/server/middleware/test_caching_guards.py:56
↓ 1 callers
Method
call
(self, kind, data, version)
tests/pbt/test_components_machine.py:472
↓ 1 callers
Method
call_tool
Call a tool on the server. Unlike call_tool_mcp, this method raises a ToolError if the tool call results in an error. Args:
fastmcp_slim/fastmcp/client/mixins/tools.py:308
↓ 1 callers
Method
call_tool_mcp
Send a tools/call request and return the complete MCP protocol result. This method returns the raw CallToolResult object, which includes an i
fastmcp_slim/fastmcp/client/mixins/tools.py:147
↓ 1 callers
Method
call_tool_mcp
Run a meta-tool and return its MCP result. As with `Client.call_tool_mcp`, a failing tool produces a result with `is_error` set rathe
fastmcp_slim/fastmcp/experimental/client/code_mode.py:141
↓ 1 callers
Method
callback
(request: httpx2.Request)
tests/utilities/httpx2_mock.py:114
↓ 1 callers
Function
caller
(n: int)
tests/downstream/smoke_redis_credentials.py:163
↓ 1 callers
Function
calls_made_through
(name: str)
tests/server/test_hashed_tool_dispatch.py:497
↓ 1 callers
Function
cancel_and_release
(mcp, task_id, release)
tests/tasks/server/test_extension.py:291
↓ 1 callers
Function
candidates
URIs built from a pattern: fill the wildcards, then splice in spellings that have broken redirect allowlists elsewhere.
tests/pbt/test_auth_url_guards.py:268
↓ 1 callers
Function
chars
(run: str)
fastmcp_slim/fastmcp/resources/template.py:153
↓ 1 callers
Function
chart
()
status-site/operations.js:47
↓ 1 callers
Function
checked
(cursor: str | None)
tests/events/test_push_lifecycle.py:117
↓ 1 callers
Method
clear
(self)
fastmcp_slim/fastmcp/cli/apps_dev_log.py:185
↓ 1 callers
Method
client
An unconnected FastMCP `Client` pointed at the in-process app. `headers` and `auth` configure the underlying HTTP transport; every other
fastmcp_slim/fastmcp/utilities/tests.py:335
↓ 1 callers
Method
client_extension_settings
This request's per-request opt-in settings for an MCP extension. SEP-2133 extensions negotiate per request: the client repeats its ex
fastmcp_slim/fastmcp/server/context.py:350
↓ 1 callers
Method
client_settings
This extension's per-request opt-in settings declared by the client. Reads the request's `_meta` client-capabilities block. Returns the
fastmcp_slim/fastmcp/server/extensions.py:275
↓ 1 callers
Function
clip
(text, room, charWidth)
status-site/pbt.js:413
↓ 1 callers
Method
clone
Return an unbound instance with the same configuration. Automatic registration clones bundled extensions so each server owns its inst
fastmcp_slim/fastmcp/server/extensions.py:184
↓ 1 callers
Method
clone
(self)
tests/server/test_provider_extensions.py:526
↓ 1 callers
Method
close_issue
Close an issue with a comment. Closes first, then comments — so a failed comment never leaves a misleading "closing" notice on a stil
scripts/auto_close_needs_mre.py:222
↓ 1 callers
Method
close_issue
Close an issue with a comment and add duplicate label.
scripts/auto_close_duplicates.py:189
↓ 1 callers
Method
close_obo_credentials
Close all cached OBO credentials.
fastmcp_slim/fastmcp/server/auth/providers/azure.py:727
↓ 1 callers
Method
close_sse_stream
Close the current response stream to trigger client reconnection. When using StreamableHTTP transport with an EventStore configured, this
fastmcp_slim/fastmcp/server/context.py:944
↓ 1 callers
Function
collect
(schema: Any, active_refs: frozenset[str] = frozenset())
fastmcp_slim/fastmcp/utilities/openapi/director.py:175
↓ 1 callers
Function
collect
(task)
examples/tasks/client.py:119
↓ 1 callers
Function
collect_logs
(target: ClientTransport | FastMCP)
tests/server/providers/proxy/test_log_forwarding.py:41
↓ 1 callers
Function
colliding_variant_spec
Subtypes that disagree about the shape of the discriminator property. The parent marks ``kind`` required without declaring it, so each subtype's
tests/server/providers/openapi/test_openapi_discriminator.py:87
↓ 1 callers
Function
color
(key)
status-site/app.js:65
↓ 1 callers
Method
complete_mcp
Send a completion request and return the complete MCP protocol result. Args: ref (mcp_types.ResourceTemplateReference | mcp_types
fastmcp_slim/fastmcp/client/client.py:1714
↓ 1 callers
Function
compose_with_base
(member: Any)
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:575
↓ 1 callers
Function
compute_file_hash
Compute SHA256 hash of a file.
fastmcp_slim/fastmcp/server/providers/skills/_common.py:136
↓ 1 callers
Method
connect_session
( self, *, transport_options: TransportOptions | None = None, **session_kwargs
fastmcp_slim/fastmcp/client/transports/sse.py:133
↓ 1 callers
Method
connect_session
( self, **session_kwargs: Unpack[SessionKwargs] )
tests/client/client/test_mode_negotiation.py:120
↓ 1 callers
Function
contributor_queue
How many external PRs wait on the gate, and for how long. Facts only.
scripts/maintenance_status.py:345
↓ 1 callers
Function
convert
(sub_schema: Any)
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:904
↓ 1 callers
Method
convert_result
Convert a raw result to ResourceResult. This is used in two contexts: 1. In _read() to convert user function return values to Resourc
fastmcp_slim/fastmcp/resources/base.py:435
↓ 1 callers
Function
cosine_similarity
(a: list[float], b: list[float])
examples/memory.py:48
↓ 1 callers
Function
coverageModule
(name, isPublic)
tests/test_status_pbt.cjs:82
↓ 1 callers
Method
create_app
Create the mock OAuth server application.
tests/server/auth/oauth_proxy/conftest.py:65
↓ 1 callers
Function
create_client_server
Create a FastMCP server from a client URL. Args: url: The URL to connect to Returns: A FastMCP server instance
fastmcp_slim/fastmcp/cli/run.py:90
↓ 1 callers
Function
create_closure
()
tests/tools/test_tool_future_annotations.py:175
↓ 1 callers
Function
create_github_server
Create FastMCP server with GitHub OAuth protection.
tests/integration_tests/auth/test_github_provider_integration.py:43
↓ 1 callers
Function
create_github_server_with_mock_callback
Create FastMCP server with GitHub OAuth that mocks the callback for testing.
tests/integration_tests/auth/test_github_provider_integration.py:72
↓ 1 callers
Function
create_mcp_server
( public_key: str, auth_kwargs: dict[str, Any] | None = None, )
tests/server/auth/test_jwt_provider.py:165
↓ 1 callers
Function
create_post
Create a unified post with optional features. Args: text: Post text (max 300 chars) images: URLs of images to attach (max 4)
examples/atproto_mcp/src/atproto_mcp/_atproto/_posts.py:19
↓ 1 callers
Method
create_resource
Create a resource from the template by calling the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:759
← previous
next →
2,901–3,000 of 17,519, ranked by callers