MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,524 in github.com/PrefectHQ/fastmcp

↓ 1 callersFunctioncreate_tool
(fn: Callable[..., Any], tool_name: str | None)
fastmcp_slim/fastmcp/tools/function_tool.py:650
↓ 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:41
↓ 1 callersFunctioncreate_visibility_transforms
Convert rule dicts to Visibility transforms.
fastmcp_slim/fastmcp/server/transforms/visibility.py:332
↓ 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_serializer
(data: Any)
fastmcp_slim/fastmcp/tools/base.py:89
↓ 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:98
↓ 1 callersFunctiondelete_memory
(memory_id: int, deps: Deps)
examples/memory.py:168
↓ 1 callersFunctiondetermine_handler_mode
Determine whether to use fallback handler or client for sampling. Args: context: The MCP context. needs_tools: Whether the sampli
fastmcp_slim/fastmcp/server/sampling/run.py:141
↓ 1 callersMethoddisable
Removed in 3.0. Use server.disable(keys=[...]) instead.
fastmcp_slim/fastmcp/utilities/components.py:216
↓ 1 callersMethoddispatch
(self, message: Message)
fastmcp_slim/fastmcp/client/messages.py:30
↓ 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 callersFunctionelicit_for_task
Send an elicitation request from a background task. This function handles the complexity of eliciting user input when running in a Docket wor
fastmcp_slim/fastmcp/server/tasks/elicitation.py:47
↓ 1 callersFunctionelicitation_handler
(message, response_type, params, ctx)
tests/test_mcp_config.py:888
↓ 1 callersMethodenable
Removed in 3.0. Use server.enable(keys=[...]) instead.
fastmcp_slim/fastmcp/utilities/components.py:209
↓ 1 callersFunctionensure_subscriber_running
Start notification subscriber if not already running (idempotent). Subscriber is created on first task submission and cleaned up on disconnect.
fastmcp_slim/fastmcp/server/tasks/notifications.py:246
↓ 1 callersFunctionenter_and_never_reach_body
()
tests/client/client/test_client.py:511
↓ 1 callersMethoderror_callback
(error, context)
tests/server/middleware/test_error_handling.py:526
↓ 1 callersFunctionexample_usage
()
examples/custom_tool_serializer_decorator.py:57
↓ 1 callersFunctionextract_tool_calls
Extract tool calls from a response.
fastmcp_slim/fastmcp/server/sampling/run.py:436
↓ 1 callersFunctionfastmcp_server
Create a FastMCP server with OAuth authentication.
tests/client/auth/test_oauth_client.py:22
↓ 1 callersMethodfind_available_port
(host: str = "127.0.0.1")
tests/client/auth/test_oauth_client.py:217
↓ 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:155
↓ 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:426
↓ 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:281
↓ 1 callersMethodfor_method
(self, method: str)
tests/server/tasks/test_notifications.py:33
↓ 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_content
(cls, content: str, deps: Deps)
examples/memory.py:98
↓ 1 callersMethodfrom_function
Create a FunctionTool from a function. Args: fn: The function to wrap metadata: ToolMeta object with all configuratio
fastmcp_slim/fastmcp/tools/function_tool.py:211
↓ 1 callersMethodfrom_function
Create a FunctionResource from a function. Args: fn: The function to wrap uri: The URI for the resource (required if
fastmcp_slim/fastmcp/resources/function_resource.py:90
↓ 1 callersMethodfrom_function
( fn: Callable[..., Any], uri_template: str, name: str | None = None, version:
fastmcp_slim/fastmcp/resources/template.py:194
↓ 1 callersMethodfrom_function
Create a Prompt from a function. Args: fn: The function to wrap metadata: PromptMeta object with all configuration. I
fastmcp_slim/fastmcp/prompts/function_prompt.py:83
↓ 1 callersMethodfrom_json
Deserialize from JSON stored in Redis.
fastmcp_slim/fastmcp/server/tasks/context.py:151
↓ 1 callersMethodfrom_mcp_prompt
Factory method to create a ProxyPrompt from a raw MCP prompt schema.
fastmcp_slim/fastmcp/server/providers/proxy.py:483
↓ 1 callersMethodfrom_mcp_resource
Factory method to create a ProxyResource from a raw MCP resource schema.
fastmcp_slim/fastmcp/server/providers/proxy.py:269
↓ 1 callersMethodfrom_mcp_template
Factory method to create a ProxyTemplate from a raw MCP template schema.
fastmcp_slim/fastmcp/server/providers/proxy.py:368
↓ 1 callersFunctionfrom_offsets
(offsets: tuple[int, int, int, int])
fastmcp_slim/fastmcp/server/auth/ssrf.py:80
↓ 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:384
↓ 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:906
↓ 1 callersMethodget
(self, url: str)
tests/server/auth/providers/test_propelauth.py:314
↓ 1 callersFunctionget_catch_handlers
()
fastmcp_slim/fastmcp/utilities/exceptions.py:42
↓ 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 callersMethodget_client_info
(self)
fastmcp_slim/fastmcp/client/auth/oauth.py:157
↓ 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_slim/fastmcp/server/tasks/keys.py:137
↓ 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:649
↓ 1 callersFunctionget_embedding
(text: str, deps: Deps)
examples/memory.py:160
↓ 1 callersFunctionget_fn_name
(fn: Callable[..., Any])
fastmcp_slim/fastmcp/utilities/types.py:34
↓ 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 callersMethodget_prompt
Get a prompt by name. Args: name: The requested prompt name (may be transformed). call_next: Callable to get prompt f
fastmcp_slim/fastmcp/server/transforms/__init__.py:206
↓ 1 callersFunctionget_property
(tool: Tool, name: str)
tests/tools/tool_transform/test_schemas.py:18
↓ 1 callersMethodget_resource
Get a resource by URI. Args: uri: The requested resource URI (may be transformed). call_next: Callable to get resourc
fastmcp_slim/fastmcp/server/transforms/__init__.py:136
↓ 1 callersMethodget_resource
Get resource by namespaced URI.
fastmcp_slim/fastmcp/server/transforms/namespace.py:126
↓ 1 callersMethodget_resource
()
tests/server/test_server.py:204
↓ 1 callersMethodget_resource_template
Get a resource template by URI. Args: uri: The requested template URI (may be transformed). call_next: Callable to ge
fastmcp_slim/fastmcp/server/transforms/__init__.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:274
↓ 1 callersMethodget_routes
Get routes for this provider. Creates protected resource metadata routes (RFC 9728).
fastmcp_slim/fastmcp/server/auth/auth.py:472
↓ 1 callersFunctionget_server_details
Print information about mounted resources.
examples/mount_example.py:71
↓ 1 callersMethodget_session_id
(self)
fastmcp_slim/fastmcp/client/transports/http.py:207
↓ 1 callersFunctionget_session_span_attributes
Get session attributes for the current request.
fastmcp_slim/fastmcp/server/telemetry.py:31
↓ 1 callersFunctionget_session_transforms
Get session-specific Visibility transforms from state store.
fastmcp_slim/fastmcp/server/transforms/visibility.py:360
↓ 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:144
↓ 1 callersFunctionget_subscriber_count
Get number of active subscribers (for monitoring).
fastmcp_slim/fastmcp/server/tasks/notifications.py:306
↓ 1 callersFunctionget_task_server
Get the registered server for a background task, if still alive.
fastmcp_slim/fastmcp/server/tasks/context.py:326
↓ 1 callersFunctionget_task_session
Get a registered session by ID if still alive. Returns None in distributed workers where the session lives in another process — callers must
fastmcp_slim/fastmcp/server/tasks/context.py:296
↓ 1 callersFunctionget_task_session_id
Get the session_id for the current background task, if available. Reads the cached snapshot set by the worker-level restore dependency. Retur
fastmcp_slim/fastmcp/server/tasks/context.py:220
↓ 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:490
↓ 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:503
↓ 1 callersMethodget_tool
Get a tool by name. Args: name: The requested tool name (may be transformed). call_next: Callable to get tool from do
fastmcp_slim/fastmcp/server/transforms/__init__.py:106
↓ 1 callersMethodget_tool
( self, name: str, call_next: GetToolNext, *, version: VersionSpec | N
fastmcp_remote/fastmcp_remote/cli.py:61
↓ 1 callersMethodget_tool_by_hash
Look up an app-visible tool by its deterministic hash. Same recursive-walk semantics as ``get_app_tool`` but matches on ``meta["fastm
fastmcp_slim/fastmcp/server/providers/base.py:213
↓ 1 callersMethodgreet
(name: str)
tests/server/mount/test_mount.py:53
↓ 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:309
↓ 1 callersFunctionhandle_sse
(scope: Scope, receive: Receive, send: Send)
fastmcp_slim/fastmcp/server/http.py:444
↓ 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:55
↓ 1 callersFunctioninitialize
()
docs/fastmcp-analytics.js:247
↓ 1 callersFunctioninitialize_database
()
examples/memory.py:300
↓ 1 callersFunctioninspect_fastmcp_v2
Extract information from a FastMCP v2.x instance. Args: mcp: The FastMCP v2.x instance to inspect Returns: FastMCPInfo datac
fastmcp_slim/fastmcp/utilities/inspect.py:100
↓ 1 callersFunctioninspector
Run an MCP server with the MCP Inspector for development. Args: server_spec: Python file to run, optionally with :object suffix, or None
fastmcp_slim/fastmcp/cli/cli.py:145
↓ 1 callersFunctioninstall_claude_code
Install FastMCP server in Claude Code. Args: file: Path to the server file server_object: Optional server object name (for :objec
fastmcp_slim/fastmcp/cli/install/claude_code.py:73
↓ 1 callersFunctioninstall_claude_desktop
Install FastMCP server in Claude Desktop. Args: file: Path to the server file server_object: Optional server object name (for :ob
fastmcp_slim/fastmcp/cli/install/claude_desktop.py:49
↓ 1 callersFunctioninstall_gemini_cli
Install FastMCP server in Gemini CLI. Args: file: Path to the server file server_object: Optional server object name (for :object
fastmcp_slim/fastmcp/cli/install/gemini_cli.py:69
↓ 1 callersFunctioninstall_mcp_json
Generate MCP configuration JSON for manual installation. Args: file: Path to the server file server_object: Optional server objec
fastmcp_slim/fastmcp/cli/install/mcp_json.py:20
↓ 1 callersFunctionisTaggedPage
()
docs/unify-intent.js:5
← previousnext →1,301–1,400 of 10,524, ranked by callers