MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions10,312 in github.com/PrefectHQ/fastmcp

↓ 1 callersFunctionmain
()
examples/auth/clerk_oauth/client.py:17
↓ 1 callersFunctionmain
()
examples/auth/aws_oauth/client.py:16
↓ 1 callersFunctionmain
()
examples/auth/discord_oauth/client.py:16
↓ 1 callersFunctionmain
()
examples/auth/propelauth_oauth/client.py:16
↓ 1 callersFunctionmain
()
examples/auth/authkit/client.py:17
↓ 1 callersFunctionmain
()
examples/auth/keycloak_oauth/client.py:14
↓ 1 callersFunctionmain
()
examples/auth/google_oauth/client.py:16
↓ 1 callersFunctionmain
()
examples/auth/workos_oauth/client.py:16
↓ 1 callersFunctionmain
()
examples/auth/scalekit_oauth/client.py:16
↓ 1 callersFunctionmain
()
examples/persistent_state/client.py:21
↓ 1 callersFunctionmain
()
examples/persistent_state/client_stdio.py:27
↓ 1 callersFunctionmain
()
examples/search/client_regex.py:67
↓ 1 callersFunctionmain
()
examples/search/client_bm25.py:67
↓ 1 callersFunctionmain
()
examples/namespace_activation/client.py:37
↓ 1 callersFunctionmain
(enable_posting: bool = False)
examples/atproto_mcp/demo.py:20
↓ 1 callersFunctionmain
()
examples/atproto_mcp/src/atproto_mcp/__main__.py:4
↓ 1 callersFunctionmain
()
examples/prompts_as_tools/client.py:16
↓ 1 callersFunctionmain
()
examples/diagnostics/client_with_tracing.py:48
↓ 1 callersFunctionmain
()
examples/code_mode/client.py:70
↓ 1 callersFunctionmain
()
examples/skills/client.py:17
↓ 1 callersFunctionmain
()
examples/skills/download_skills.py:29
↓ 1 callersFunctionmain
()
examples/smart_home/src/smart_home/__main__.py:4
↓ 1 callersFunctionmain
()
examples/versioning/version_filters.py:76
↓ 1 callersFunctionmain
()
examples/versioning/versioned_components.py:64
↓ 1 callersFunctionmain
()
examples/versioning/client_version_selection.py:45
↓ 1 callersFunctionmain
()
examples/resources_as_tools/client.py:16
↓ 1 callersMethodmatches
Check if URI matches template and extract parameters.
fastmcp_slim/fastmcp/resources/template.py:225
↓ 1 callersFunctionmax_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 callersFunctionmeasure
(case: BenchmarkCase, runs: int)
scripts/benchmark_imports.py:139
↓ 1 callersFunctionmeasure_once
(stmt: str, prereqs: str)
scripts/benchmark_imports.py:120
↓ 1 callersMethodmerge_with
(self, other: Self, deps: Deps)
examples/memory.py:136
↓ 1 callersFunctionmin_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 callersFunctionnormalize
(msg: str)
tests/utilities/json_schema_type/cluster_failures.py:59
↓ 1 callersFunctionnotification_subscriber_loop
Subscribe to notification queue and forward to session. Runs in the MCP server process. Bridges distributed workers to clients. This loop:
fastmcp_slim/fastmcp/server/tasks/notifications.py:76
↓ 1 callersMethodon_cancelled
(self, message: mcp.types.CancelledNotification)
fastmcp_slim/fastmcp/client/messages.py:127
↓ 1 callersMethodon_create_message
(self, message: mcp.types.CreateMessageRequest)
fastmcp_slim/fastmcp/client/messages.py:90
↓ 1 callersMethodon_exception
(self, message: Exception)
fastmcp_slim/fastmcp/client/messages.py:96
↓ 1 callersMethodon_get_prompt
Time prompt retrieval.
fastmcp_slim/fastmcp/server/middleware/timing.py:127
↓ 1 callersMethodon_list_roots
(self, message: mcp.types.ListRootsRequest)
fastmcp_slim/fastmcp/client/messages.py:87
↓ 1 callersMethodon_list_tools
Time tool listing.
fastmcp_slim/fastmcp/server/middleware/timing.py:134
↓ 1 callersMethodon_logging_message
( self, message: mcp.types.LoggingMessageNotification )
fastmcp_slim/fastmcp/client/messages.py:102
↓ 1 callersMethodon_notification
(self, message: mcp.types.ServerNotification)
fastmcp_slim/fastmcp/client/messages.py:93
↓ 1 callersMethodon_ping
(self, message: mcp.types.PingRequest)
fastmcp_slim/fastmcp/client/messages.py:84
↓ 1 callersMethodon_progress
(self, message: mcp.types.ProgressNotification)
fastmcp_slim/fastmcp/client/messages.py:99
↓ 1 callersMethodon_prompt_list_changed
( self, message: mcp.types.PromptListChangedNotification )
fastmcp_slim/fastmcp/client/messages.py:117
↓ 1 callersMethodon_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 callersMethodon_read_resource
Time resource reading.
fastmcp_slim/fastmcp/server/middleware/timing.py:118
↓ 1 callersMethodon_request
( self, message: RequestResponder[mcp.types.ServerRequest, mcp.types.ClientResult] )
fastmcp_slim/fastmcp/client/messages.py:79
↓ 1 callersMethodon_resource_list_changed
( self, message: mcp.types.ResourceListChangedNotification )
fastmcp_slim/fastmcp/client/messages.py:112
↓ 1 callersMethodon_resource_updated
( self, message: mcp.types.ResourceUpdatedNotification )
fastmcp_slim/fastmcp/client/messages.py:122
↓ 1 callersMethodon_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 callersMethodon_tool_list_changed
( self, message: mcp.types.ToolListChangedNotification )
fastmcp_slim/fastmcp/client/messages.py:107
↓ 1 callersFunctionopen_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:169
↓ 1 callersFunctionparse_elicit_response_type
Parse response_type into schema and handling configuration. Supports multiple syntaxes: - None: Empty object schema, expect empty response
fastmcp_slim/fastmcp/server/elicitation.py:132
↓ 1 callersFunctionparse_env_var
Parse environment variable string in format KEY=VALUE.
fastmcp_slim/fastmcp/cli/install/shared.py:42
↓ 1 callersMethodprepare
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 callersMethodprepare_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 callersFunctionprepare_messages
Convert various message formats to a list of SamplingMessage objects.
fastmcp_slim/fastmcp/server/sampling/run.py:381
↓ 1 callersFunctionprint_table
(results: list[dict[str, float | str | None]])
scripts/benchmark_imports.py:161
↓ 1 callersFunctionprompt
(fn: F)
fastmcp_slim/fastmcp/prompts/function_prompt.py:406
↓ 1 callersMethodprompt
( self, name_or_fn: F, *, name: str | None = None, version: str | int
fastmcp_slim/fastmcp/server/server.py:1942
↓ 1 callersFunctionprune_memories
(deps: Deps)
examples/memory.py:241
↓ 1 callersFunctionpush_notification
Push notification to session's queue (called from Docket worker). Used for elicitation-specific notifications (input_required, cancel) that n
fastmcp_slim/fastmcp/server/tasks/notifications.py:48
↓ 1 callersMethodquery
Return indices of top_k documents sorted by BM25 score.
fastmcp_slim/fastmcp/server/transforms/search/bm25.py:54
↓ 1 callersMethodread
Read the resource content.
fastmcp_slim/fastmcp/resources/template.py:229
↓ 1 callersMethodread
Read the resource content.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:50
↓ 1 callersMethodread
Read a file from the skill directory.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:75
↓ 1 callersFunctionreconnect_and_count_tools
()
tests/client/client/test_client.py:602
↓ 1 callersFunctionregister_task_server
Register the server for a background task. Called at task-submission time so that background workers can resolve the correct (child) server f
fastmcp_slim/fastmcp/server/tasks/context.py:315
↓ 1 callersFunctionregister_task_session
Register a session for in-process background task access. Called automatically when a task is submitted to Docket. The session is stored as a
fastmcp_slim/fastmcp/server/tasks/context.py:286
↓ 1 callersMethodregister_with_docket
Register this component with docket for background execution. No-ops if task_config.mode is "forbidden". Subclasses override to regis
fastmcp_slim/fastmcp/utilities/components.py:227
↓ 1 callersMethodregister_with_docket
No-op: the child's actual template is registered via get_tasks().
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:445
↓ 1 callersFunctionrelay_elicitation
Relay elicitation from a background task worker to the client. Called by the notification subscriber when it detects an input_required notifi
fastmcp_slim/fastmcp/server/tasks/elicitation.py:236
↓ 1 callersMethodremove_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 callersMethodremove_tool_transformation
Remove a tool transformation. .. deprecated:: Tool transformations are now immutable. Use enable/disable controls instead.
fastmcp_slim/fastmcp/server/server.py:608
↓ 1 callersFunctionresolve_auth
(config: RemoteConfig)
fastmcp_remote/fastmcp_remote/cli.py:207
↓ 1 callersFunctionresolve_dependencies
Resolve dependencies for a FastMCP function. This function: 1. Filters out any dependency parameter names from user arguments (security)
fastmcp_slim/fastmcp/server/dependencies.py:700
↓ 1 callersFunctionresolve_hostname
Resolve hostname to IP addresses using DNS. Args: hostname: Hostname to resolve port: Port number (used for getaddrinfo) Ret
fastmcp_slim/fastmcp/server/auth/ssrf.py:98
↓ 1 callersFunctionresource
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:249
↓ 1 callersFunctionrewrite_tool_meta_for_wire
Return a model_copy with the per-tool URI and CSP stripped. Reads the hash from the tool's own meta. If no hash is found, returns the tool un
fastmcp_slim/fastmcp/server/providers/prefab_synthesis.py:228
↓ 1 callersFunctionrun
()
docs/v2-banner.js:22
↓ 1 callersMethodrun
Execute the HTTP request using RequestDirector.
fastmcp_slim/fastmcp/server/providers/openapi/components.py:180
↓ 1 callersMethodrun
( self, code: str, *, inputs: dict[str, Any] | None = None, external_f
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:86
↓ 1 callersMethodrun
( self, code: str, *, inputs: dict[str, Any] | None = None, external_f
tests/experimental/transforms/test_code_mode.py:66
↓ 1 callersFunctionrun_dev_apps
Start the full dev environment for a FastMCPApp server. Starts the user's MCP server on *mcp_port*, starts the Prefab dev UI on *dev_port* (w
fastmcp_slim/fastmcp/cli/apps_dev.py:1715
↓ 1 callersFunctionrun_server_in_process
Context manager that runs a FastMCP server in a separate process and returns the server URL. When the context manager is exited, the server p
fastmcp_slim/fastmcp/utilities/tests.py:75
↓ 1 callersFunctionrun_v1_server_async
Run a FastMCP 1.x server using async methods. Args: server: FastMCP 1.x server instance host: Host to bind to port: Port
fastmcp_slim/fastmcp/cli/run.py:311
↓ 1 callersFunctionrun_with_reload
Run a command with file watching and auto-reload. Args: cmd: Command to run as subprocess (should include --no-reload) reload_dir
fastmcp_slim/fastmcp/cli/run.py:376
↓ 1 callersFunctionrun_worker
Enter server lifespan and camp forever.
fastmcp_slim/fastmcp/cli/tasks.py:92
↓ 1 callersFunctionsample_impl
Implementation of Context.sample(). Send a sampling request to the client and await the response. This method runs to completion automaticall
fastmcp_slim/fastmcp/server/sampling/run.py:618
↓ 1 callersFunctionsampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestContext )
tests/client/test_sampling.py:74
↓ 1 callersMethodsampling_handler
( messages: list[SamplingMessage], params: SamplingParams, ctx: RequestContext )
tests/client/test_sampling.py:259
↓ 1 callersMethodsave
Store this snapshot as a single Redis key.
fastmcp_slim/fastmcp/server/tasks/context.py:177
↓ 1 callersFunctionscan_skill_files
Scan a skill directory for all files.
fastmcp_slim/fastmcp/server/providers/skills/_common.py:86
↓ 1 callersMethodset_client_info
(self, client_info: OAuthClientInformationFull)
fastmcp_slim/fastmcp/client/auth/oauth.py:163
↓ 1 callersFunctionset_http_request
(request: Request)
fastmcp_slim/fastmcp/server/http.py:81
↓ 1 callersMethodset_roots
Set the roots for the client. This does not automatically call `send_roots_list_changed`.
fastmcp_slim/fastmcp/client/client.py:391
↓ 1 callersMethodset_sampling_callback
Set the sampling callback for the client.
fastmcp_slim/fastmcp/client/client.py:395
↓ 1 callersFunctionsetup_database
Create the tools table and seed with example tools.
examples/providers/sqlite/setup_db.py:19
↓ 1 callersFunctionsetup_tracing
Set up OpenTelemetry tracing with OTLP export.
examples/diagnostics/client_with_tracing.py:32
← previousnext →1,401–1,500 of 10,312, ranked by callers