MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

↓ 1 callersFunctionbase_task_key
Strip any per-leg suffix, returning the stable base task key.
fastmcp_tasks/fastmcp_tasks/keys.py:63
↓ 1 callersFunctionblob_resource
(uri: str, data: bytes)
tests/utilities/test_skills.py:49
↓ 1 callersFunctionbuild
(items: list[dict], now: datetime, limit: int = 5)
scripts/public_triage.py:203
↓ 1 callersFunctionbuild
(items: list[dict], previous: dict, now: datetime)
scripts/backlog_status.py:94
↓ 1 callersFunctionbuild
()
scripts/maintenance_status.py:456
↓ 1 callersFunctionbuild
( status: Literal[ "working", "input_required", "completed", "failed", "cancelled"
fastmcp_tasks/fastmcp_tasks/handlers.py:270
↓ 1 callersFunctionbuildDropdown
()
docs/language-dropdown.js:24
↓ 1 callersFunctionbuildPageViewProperties
()
docs/fastmcp-analytics.js:80
↓ 1 callersFunctionbuild_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 callersFunctionbuild_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 callersFunctionbuild_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 callersFunctionbuild_parser
()
fastmcp_remote/fastmcp_remote/cli.py:114
↓ 1 callersFunctionbuild_positions
(json_input: bool)
fastmcp_slim/fastmcp/utilities/json_schema_type.py:848
↓ 1 callersFunctionbuild_server_without_transform
()
tests/server/transforms/test_model_visibility_boundary.py:27
↓ 1 callersFunctionbuild_token_storage
(storage_dir: Path)
fastmcp_remote/fastmcp_remote/cli.py:224
↓ 1 callersFunctioncached_guard_server
A caching server whose tool, prompt, and resource are all guards.
tests/server/middleware/test_caching_guards.py:56
↓ 1 callersMethodcall
Add two numbers.
tests/tools/tool/test_tool.py:561
↓ 1 callersMethodcall_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 callersMethodcall_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 callersMethodcallback
(request: httpx2.Request)
tests/utilities/httpx2_mock.py:114
↓ 1 callersFunctioncaller
(n: int)
tests/downstream/smoke_redis_credentials.py:163
↓ 1 callersFunctioncalls_made_through
(name: str)
tests/server/test_hashed_tool_dispatch.py:497
↓ 1 callersFunctioncancel_and_release
(mcp, task_id, release)
tests/tasks/server/test_extension.py:291
↓ 1 callersFunctionchars
(run: str)
fastmcp_slim/fastmcp/resources/template.py:151
↓ 1 callersFunctionchart
()
status-site/operations.js:47
↓ 1 callersMethodclear
(self)
fastmcp_slim/fastmcp/cli/apps_dev_log.py:185
↓ 1 callersMethodclient
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 callersMethodclient_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 callersMethodclient_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 callersMethodclone
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 callersMethodclone
(self)
tests/server/test_provider_extensions.py:526
↓ 1 callersMethodclose_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 callersMethodclose_issue
Close an issue with a comment and add duplicate label.
scripts/auto_close_duplicates.py:186
↓ 1 callersMethodclose_obo_credentials
Close all cached OBO credentials.
fastmcp_slim/fastmcp/server/auth/providers/azure.py:713
↓ 1 callersMethodclose_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:942
↓ 1 callersFunctioncollect
(schema: Any, active_refs: frozenset[str] = frozenset())
fastmcp_slim/fastmcp/utilities/openapi/director.py:169
↓ 1 callersFunctioncollect
(task)
examples/tasks/client.py:119
↓ 1 callersFunctioncolliding_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 callersFunctioncolor
(key)
status-site/app.js:55
↓ 1 callersMethodcomplete_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:1582
↓ 1 callersFunctioncompute_file_hash
Compute SHA256 hash of a file.
fastmcp_slim/fastmcp/server/providers/skills/_common.py:136
↓ 1 callersMethodconnect_session
( self, *, transport_options: TransportOptions | None = None, **session_kwargs
fastmcp_slim/fastmcp/client/transports/sse.py:133
↓ 1 callersMethodconnect_session
( self, **session_kwargs: Unpack[SessionKwargs] )
tests/client/client/test_mode_negotiation.py:120
↓ 1 callersFunctioncontributor_queue
How many external PRs wait on the gate, and for how long. Facts only.
scripts/maintenance_status.py:323
↓ 1 callersFunctionconvert
(sub_schema: Any)
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:841
↓ 1 callersMethodconvert_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:414
↓ 1 callersFunctioncosine_similarity
(a: list[float], b: list[float])
examples/memory.py:48
↓ 1 callersMethodcreate_app
Create the mock OAuth server application.
tests/server/auth/oauth_proxy/conftest.py:65
↓ 1 callersFunctioncreate_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 callersFunctioncreate_closure
()
tests/tools/test_tool_future_annotations.py:175
↓ 1 callersFunctioncreate_detail_box
Create a detail box with key-value pairs. Args: rows: List of (label, value) tuples Returns: HTML for detail box
fastmcp_slim/fastmcp/utilities/ui.py:568
↓ 1 callersFunctioncreate_github_server
Create FastMCP server with GitHub OAuth protection.
tests/integration_tests/auth/test_github_provider_integration.py:43
↓ 1 callersFunctioncreate_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 callersFunctioncreate_mcp_server
( public_key: str, auth_kwargs: dict[str, Any] | None = None, )
tests/server/auth/test_jwt_provider.py:165
↓ 1 callersFunctioncreate_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 callersMethodcreate_resource
Create a resource from the template by calling the remote server.
fastmcp_slim/fastmcp/server/providers/proxy.py:708
↓ 1 callersFunctioncreate_server
()
examples/get_file.py:14
↓ 1 callersFunctioncreate_task
Run an augmented ``tools/call`` as a background task (SEP-2663). Coerces and validates arguments (honoring strict input validation), mints a
fastmcp_tasks/fastmcp_tasks/creation.py:56
↓ 1 callersFunctioncreate_test_server
Create a FastMCP server with a slow tool.
tests/integration_tests/test_timeout_fix.py:13
↓ 1 callersMethodcreate_token
Generate a test JWT token for testing purposes. Args: subject: Subject claim (usually user ID) issuer: Issue
fastmcp_slim/fastmcp/server/auth/providers/jwt.py:144
↓ 1 callersFunctioncreate_unregistered_client_html
Create styled HTML error page for unregistered client attempts. Args: client_id: The unregistered client ID that was provided reg
fastmcp_slim/fastmcp/server/auth/handlers/authorize.py:43
↓ 1 callersFunctioncreate_visibility_transforms
Convert rule dicts to Visibility transforms.
fastmcp_slim/fastmcp/server/transforms/visibility.py:384
↓ 1 callersFunctiondaily_runs
(runs: list[dict], since: date)
scripts/maintenance_status.py:263
↓ 1 callersMethoddecode
(self, stored: str | bytes)
fastmcp_tasks/fastmcp_tasks/encryption.py:84
↓ 1 callersFunctiondecorator
(fn: F)
fastmcp_slim/fastmcp/apps/app.py:148
↓ 1 callersFunctiondefault_progress_handler
Default handler for progress notifications. Logs progress updates at debug level, properly handling missing total or message values. Args:
fastmcp_slim/fastmcp/client/progress.py:12
↓ 1 callersFunctiondefault_proxy_elicitation_handler
Forward elicitation request from remote server to proxy's connected clients.
fastmcp_slim/fastmcp/server/providers/proxy.py:1726
↓ 1 callersFunctiondefault_serializer
The default serializer for Payloads in the logging middleware.
fastmcp_slim/fastmcp/server/middleware/logging.py:15
↓ 1 callersFunctiondefault_storage_dir
(resource: str | None = None)
fastmcp_remote/fastmcp_remote/cli.py:103
↓ 1 callersFunctiondelete_memory
(memory_id: int, deps: Deps)
examples/memory.py:166
↓ 1 callersFunctiondescribe_light
(light: Light, connectivity: str | None, details: bool)
examples/smart_home/src/smart_home/lights/models.py:65
↓ 1 callersFunctiondevice_authorization
()
fastmcp_slim/fastmcp/cli/deploy/command.py:227
↓ 1 callersMethoddisable
Removed in 3.0. Use server.disable(keys=[...]) instead.
fastmcp_slim/fastmcp/utilities/components.py:245
↓ 1 callersFunctiondiscard_outstanding
Drop just the surfaced keys an update answered, keeping the rest pending. Partial fulfillment (SEP-2663): a leg that asked several questions stay
fastmcp_tasks/fastmcp_tasks/input_store.py:407
↓ 1 callersMethoddispatch
(self, message: Message)
fastmcp_slim/fastmcp/client/messages.py:26
↓ 1 callersFunctiondisplay_memory_tree
(deps: Deps)
examples/memory.py:254
↓ 1 callersFunctiondo_ai
( user_prompt: str, system_prompt: str, result_type: type | Annotated, deps=None, )
examples/memory.py:56
↓ 1 callersFunctiondocket_lifespan
Manage the Docket instance and Worker for background task execution. Sets ``server._docket`` / ``server._worker`` for the duration and registers
fastmcp_tasks/fastmcp_tasks/lifespan.py:31
↓ 1 callersFunctionelement
()
tests/test_status_refresh.cjs:9
↓ 1 callersFunctionelicitation_handler
(message, response_type, params, ctx)
tests/test_mcp_config.py:1200
↓ 1 callersMethodenable
Removed in 3.0. Use server.enable(keys=[...]) instead.
fastmcp_slim/fastmcp/utilities/components.py:238
↓ 1 callersMethodencode
(self, payload: str)
fastmcp_tasks/fastmcp_tasks/encryption.py:81
↓ 1 callersFunctionencode_literal
Percent-encode literal template text per RFC 6570 section 3.1. A template may be written with characters the URI grammar does not allow — a n
fastmcp_slim/fastmcp/resources/template.py:118
↓ 1 callersFunctionenqueue_task_leg
Enqueue a fresh Docket execution (the next leg) for a re-entered task. Re-coerces the stored wire arguments (each leg validates independently, as
fastmcp_tasks/fastmcp_tasks/creation.py:182
↓ 1 callersFunctionenter
()
tests/utilities/test_run_server_async_startup.py:45
↓ 1 callersFunctionenter_and_never_reach_body
()
tests/client/client/test_client.py:577
↓ 1 callersFunctionentra_id_provider
(identity: LocalEntraId)
tests/downstream/smoke_redis_credentials.py:128
↓ 1 callersMethoderror_callback
(error, context)
tests/server/middleware/test_error_handling.py:596
↓ 1 callersFunctionexample_usage
()
examples/custom_tool_serializer_decorator.py:58
↓ 1 callersMethodexchange_identity_assertion
Exchange a SEP-990 ID-JAG for a short-lived FastMCP access token. Validates the ID-JAG against the configured trusted issuers (signature,
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1582
↓ 1 callersFunctionexercise
( report: Report, target: Any, headers: dict[str, str] | None = None, gaps: dict[str, str] | N
tests/downstream/smoke_pydantic_ai.py:75
↓ 1 callersFunctionexercise
( report: Report, make_server: Any, gaps: dict[str, str] | None = None )
tests/downstream/smoke_openai_agents.py:88
↓ 1 callersFunctionexercise
( report: Report, target: Any, gaps: dict[str, str] | None = None, **client_kwargs: Any, )
tests/downstream/smoke_langchain_mcp.py:122
↓ 1 callersFunctionexercise
( report: Report, make_tool: Any, gaps: dict[str, str] | None = None )
tests/downstream/smoke_agent_framework.py:80
↓ 1 callersFunctionexercise
( report: Report, connection: dict[str, Any], gaps: dict[str, str] | None = None )
tests/downstream/smoke_langchain_mcp_adapters.py:68
↓ 1 callersFunctionexercise
( report: Report, make_tools: Any, gaps: dict[str, str] | None = None )
tests/downstream/smoke_agno.py:95
↓ 1 callersFunctionexercise_group
One adapter over a ClientGroup: a handshake-era HTTP server and a modern stdio one.
tests/downstream/smoke_langchain_mcp.py:232
↓ 1 callersFunctionexpand_percent_command_line
Model cmd.exe percent expansion for a `cmd /c` command line. An undefined `%name%` is kept and scanning resumes at its closing `%`. `%cd:~,%`
tests/cli/test_install_cli_arguments.py:86
↓ 1 callersFunctionfanout_schema
(depth: int, fanout: int)
tests/utilities/json_schema_type/test_generated_classes.py:451
↓ 1 callersFunctionfastmcp_server
Create a FastMCP server with OAuth authentication.
tests/client/auth/test_oauth_client.py:28
← previousnext →2,501–2,600 of 15,974, ranked by callers