MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

↓ 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:391
↓ 1 callersMethoddispatch
(self, message: Message)
fastmcp_slim/fastmcp/client/messages.py:26
↓ 1 callersFunctiondisplay_memory_tree
(deps: Deps)
examples/memory.py:256
↓ 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:29
↓ 1 callersFunctionelicitation_handler
(message, response_type, params, ctx)
tests/test_mcp_config.py:1167
↓ 1 callersFunctioneligible
(i: dict)
scripts/gate_digest.py:182
↓ 1 callersMethodenable
Removed in 3.0. Use server.enable(keys=[...]) instead.
fastmcp_slim/fastmcp/utilities/components.py:209
↓ 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:106
↓ 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_and_never_reach_body
()
tests/client/client/test_client.py:520
↓ 1 callersMethoderror_callback
(error, context)
tests/server/middleware/test_error_handling.py:525
↓ 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:1528
↓ 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, target: Any, gaps: dict[str, str] | None = None, **client_kwargs: Any, )
tests/downstream/smoke_langchain_mcp.py:122
↓ 1 callersFunctionexercise
( report: Report, connection: dict[str, Any], gaps: dict[str, str] | None = None )
tests/downstream/smoke_langchain_mcp_adapters.py:68
↓ 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
↓ 1 callersFunctionfetch_authors
( gh: GitHub, logins: Iterable[str], config: Config, cache: Cache, progress: Progress = _n
scripts/rank_issues.py:415
↓ 1 callersFunctionfetch_issue
(n: str, pr: int, author: str)
scripts/gate_digest.py:153
↓ 1 callersFunctionfetch_issues
The next `config.limit` open issues, newest first, after `after`, and the cursor to continue from (None when there are no more). Pages are sized
scripts/rank_issues.py:291
↓ 1 callersFunctionfetch_releases
(gh: GitHub, config: Config)
scripts/rank_issues.py:326
↓ 1 callersFunctionfindThemeSelector
()
docs/language-dropdown.js:15
↓ 1 callersMethodfind_available_port
(host: str = "127.0.0.1")
tests/client/auth/test_oauth_client.py:313
↓ 1 callersFunctionfind_duplicate_comment
Find a bot comment marking the issue as duplicate.
scripts/auto_close_duplicates.py:219
↓ 1 callersFunctionfind_kwarg_by_type
Find the name of the kwarg that is of type kwarg_type. Includes union types that contain the kwarg_type, as well as Annotated types.
fastmcp_slim/fastmcp/utilities/types.py:185
↓ 1 callersFunctionfind_label_application_date
Find when a specific label was applied to an issue.
scripts/auto_close_needs_mre.py:261
↓ 1 callersFunctionfind_refs_in_value
Recursively find all $ref references.
fastmcp_slim/fastmcp/utilities/openapi/schemas.py:673
↓ 1 callersFunctionfind_similar_memories
(embedding: list[float], deps: Deps)
examples/memory.py:189
↓ 1 callersFunctionfireCallbacks
()
docs/fastmcp-analytics.js:55
↓ 1 callersMethodfn
()
tests/resources/test_resources.py:282
↓ 1 callersFunctionformat_json_for_description
Formats Python data as a JSON string block for Markdown.
fastmcp_slim/fastmcp/utilities/openapi/formatters.py:183
↓ 1 callersMethodfrom_bool
Convert a boolean task flag to a TaskConfig.
fastmcp_slim/fastmcp/utilities/tasks.py:56
↓ 1 callersMethodfrom_client
(cls, client: Client)
fastmcp_slim/fastmcp/server/providers/proxy.py:1146
↓ 1 callersMethodfrom_config
Create one independent client for each configured server. A server entry may include a FastMCP-specific ``mode`` field. It applies on
fastmcp_slim/fastmcp/client/group.py:71
↓ 1 callersMethodfrom_content
(cls, content: str, deps: Deps)
examples/memory.py:98
↓ 1 callersMethodfrom_discover
(cls, result: mcp_types.DiscoverResult)
fastmcp_slim/fastmcp/server/providers/proxy.py:1153
↓ 1 callersMethodfrom_function
( fn: Callable[..., Any], uri_template: str, name: str | None = None, version:
fastmcp_slim/fastmcp/resources/template.py:409
↓ 1 callersMethodfrom_mcp_prompt
Factory method to create a ProxyPrompt from a raw MCP prompt schema.
fastmcp_slim/fastmcp/server/providers/proxy.py:752
↓ 1 callersMethodfrom_mcp_resource
Factory method to create a ProxyResource from a raw MCP resource schema.
fastmcp_slim/fastmcp/server/providers/proxy.py:515
↓ 1 callersMethodfrom_mcp_result
Wrap a protocol result while preserving its exact wire representation.
fastmcp_slim/fastmcp/tools/base.py:160
↓ 1 callersMethodfrom_mcp_template
Factory method to create a ProxyTemplate from a raw MCP template schema.
fastmcp_slim/fastmcp/server/providers/proxy.py:618
↓ 1 callersFunctionfrom_offsets
(offsets: tuple[int, int, int, int])
fastmcp_slim/fastmcp/server/auth/ssrf.py:115
↓ 1 callersMethodfrom_tool
Create a transformed tool from a parent tool. Args: tool: The parent tool to transform. transform_fn: Optional custom
fastmcp_slim/fastmcp/tools/tool_transform.py:399
↓ 1 callersFunctiongather
()
scripts/gate_digest.py:191
↓ 1 callersFunctiongenerate_example_from_schema
Generate a simple example value from a JSON schema dictionary. Very basic implementation focusing on types.
fastmcp_slim/fastmcp/utilities/openapi/formatters.py:100
↓ 1 callersMethodgenerate_inner
Override to prevent ref generation for enums and handle list schemas.
fastmcp_slim/fastmcp/server/elicitation.py:44
↓ 1 callersMethodgenerate_name
(cls, name: str | None = None)
fastmcp_slim/fastmcp/client/client.py:1522
↓ 1 callersMethodget
(self, url: str)
tests/server/auth/providers/test_propelauth.py:314
↓ 1 callersMethodget
(self, url: str)
tests/server/auth/providers/test_scalekit.py:258
↓ 1 callersFunctionget_catch_handlers
()
fastmcp_slim/fastmcp/utilities/exceptions.py:76
↓ 1 callersMethodget_challenge_scopes
Translate validation scopes into scopes clients should request. Providers whose authorization server uses a different scope format can
fastmcp_slim/fastmcp/server/auth/auth.py:363
↓ 1 callersMethodget_challenge_scopes
Translate effective validation scopes for the authorization server.
fastmcp_slim/fastmcp/server/auth/auth.py:581
↓ 1 callersMethodget_challenge_scopes
Translate effective scopes through an unambiguous auth source.
fastmcp_slim/fastmcp/server/auth/auth.py:736
↓ 1 callersFunctionget_claude_config_path
Get the Claude config directory based on platform. Args: config_path: Optional custom path to the Claude Desktop config directory
fastmcp_slim/fastmcp/cli/install/claude_desktop.py:20
↓ 1 callersFunctionget_client_task_id_from_key
Extract just the client task ID from a task key. Args: task_key: Full encoded task key Returns: Client-provided task ID
fastmcp_tasks/fastmcp_tasks/keys.py:178
↓ 1 callersMethodget_comment_reactions
Fetch reactions for a specific comment.
scripts/auto_close_duplicates.py:152
↓ 1 callersFunctionget_data
(context: Context)
tests/client/test_elicitation.py:596
↓ 1 callersFunctionget_embedding
(text: str, deps: Deps)
examples/memory.py:160
↓ 1 callersFunctionget_fn_name
(fn: Callable[..., Any])
fastmcp_slim/fastmcp/utilities/types.py:41
↓ 1 callersMethodget_injected_tool
Return the injected tool with this name, if there is one.
fastmcp_slim/fastmcp/server/middleware/tool_injection.py:46
↓ 1 callersMethodget_issue_comments
Fetch all comments for an issue.
scripts/auto_close_needs_mre.py:154
↓ 1 callersMethodget_issue_comments
Fetch all comments for an issue.
scripts/auto_close_duplicates.py:115
↓ 1 callersMethodget_issue_events
Fetch all events for an issue.
scripts/auto_close_needs_mre.py:116
↓ 1 callersMethodget_issue_timeline
Fetch timeline events for an issue (includes issue edits).
scripts/auto_close_needs_mre.py:190
↓ 1 callersMethodget_issues_with_label
Fetch open issues with a specific label.
scripts/auto_close_needs_mre.py:72
↓ 1 callersMethodget_potential_duplicate_issues
Fetch open issues with the potential-duplicate label.
scripts/auto_close_duplicates.py:68
↓ 1 callersMethodget_profile
(user_id: str)
tests/tools/tool/test_content.py:276
↓ 1 callersFunctionget_property
(tool: Tool, name: str)
tests/tools/tool_transform/test_schemas.py:18
↓ 1 callersMethodget_resource
Get resource by namespaced URI.
fastmcp_slim/fastmcp/server/transforms/namespace.py:126
↓ 1 callersMethodget_resource
()
tests/server/test_server.py:172
↓ 1 callersMethodget_routes
Get all routes for this authentication provider. This includes both well-known discovery routes and operational routes. Each provider
fastmcp_slim/fastmcp/server/auth/auth.py:387
↓ 1 callersMethodget_routes
Get routes for this provider. Creates protected resource metadata routes (RFC 9728).
fastmcp_slim/fastmcp/server/auth/auth.py:602
↓ 1 callersFunctionget_server_details
Print information about mounted resources.
examples/mount_example.py:71
↓ 1 callersFunctionget_session_transforms
Get session-specific Visibility transforms from state store.
fastmcp_slim/fastmcp/server/transforms/visibility.py:374
↓ 1 callersMethodget_setting
Get a setting. If the setting contains one or more `__`, it will be treated as a nested setting.
fastmcp_slim/fastmcp/settings.py:46
↓ 1 callersFunctionget_simple_func_adapter
Get a TypeAdapter for a simple function to avoid forward reference issues
tests/utilities/test_typeadapter.py:118
↓ 1 callersMethodget_since
(self, since_id: int = 0)
fastmcp_slim/fastmcp/cli/apps_dev.py:148
↓ 1 callersFunctionget_task_leg_number
Return the current leg number of the running task (1 outside a re-entry). Each re-entry after client input runs as a fresh Docket execution under
fastmcp_tasks/fastmcp_tasks/context.py:117
↓ 1 callersMethodget_tasks
Return components that should be registered as background tasks. Override to customize which components are task-eligible. Default ca
fastmcp_slim/fastmcp/server/providers/base.py:588
↓ 1 callersMethodget_token_verifier
Creates the token verifier for the specified OIDC configuration and arguments. Args: algorithm: Optional token verifier algorithm
fastmcp_slim/fastmcp/server/auth/oidc_proxy.py:587
↓ 1 callersMethodget_tool
( self, name: str, call_next: GetToolNext, *, version: VersionSpec | N
fastmcp_remote/fastmcp_remote/cli.py:62
↓ 1 callersMethodget_value
()
tests/server/test_server_lifespan.py:36
↓ 1 callersFunctiongithub_token
()
scripts/rank_issues.py:151
↓ 1 callersMethodgreet
(name: str)
tests/server/mount/test_mount.py:54
↓ 1 callersMethodhandle
(self, message: dict[str, Any])
tests/client/minimal_stdio_server.py:151
↓ 1 callersFunctionhandle_elicit_accept
Handle an accepted elicitation response. Args: config: The elicitation configuration from parse_elicit_response_type content: The
fastmcp_slim/fastmcp/server/elicitation.py:310
↓ 1 callersMethodhandle_initialize
(self, request_id: Any, params: dict[str, Any])
tests/client/minimal_stdio_server.py:108
↓ 1 callersFunctionhandle_sse
(scope: Scope, receive: Receive, send: Send)
fastmcp_slim/fastmcp/server/http.py:496
↓ 1 callersMethodhandle_tools_call
(self, request_id: Any, params: dict[str, Any])
tests/client/minimal_stdio_server.py:122
↓ 1 callersMethodhandler
( ctx: ServerRequestContext[Any, Any], params: PingParams )
tests/server/test_extensions.py:145
↓ 1 callersFunctionhas_author_activity_after
Check if the issue author had any activity after a specific date.
scripts/auto_close_needs_mre.py:272
↓ 1 callersFunctionhas_human_activity
Check if there's human activity that should prevent auto-closure.
scripts/auto_close_duplicates.py:251
↓ 1 callersFunctionhashed_resource_uri
Per-tool Prefab renderer resource URI.
fastmcp_slim/fastmcp/server/providers/addressing.py:90
↓ 1 callersFunctionhold_open
()
tests/client/group/test_client_group.py:374
↓ 1 callersFunctioninitialize
()
docs/fastmcp-analytics.js:247
← previousnext →2,101–2,200 of 13,374, ranked by callers