Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,725 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,725
◇
Types & classes
2,302
↳
Endpoints
198
Method
second
(app: Any)
tests/server/test_server_lifespan.py:451
Method
second
()
tests/server/providers/test_local_provider.py:668
Function
second_echo
()
tests/client/group/test_client_group.py:252
Method
second_lifespan
(server: FastMCP)
tests/server/test_server_lifespan.py:164
Method
second_lifespan
(app: Any)
tests/server/test_server_lifespan.py:365
Method
second_resource
()
tests/server/mount/test_mount.py:473
Method
second_shared_prompt
()
tests/server/mount/test_mount.py:581
Method
second_shared_tool
()
tests/server/mount/test_mount.py:419
Method
second_template
(user_id: str)
tests/server/mount/test_mount.py:527
Method
second_tool
()
tests/server/mount/test_mount.py:235
Function
secret
()
tests/server/test_session_scope.py:38
Function
secret
()
tests/server/auth/test_resource_auth_shadowing.py:48
Function
secret
()
tests/experimental/transforms/test_code_mode.py:490
Method
secret
()
tests/test_fastmcp_app.py:537
Method
secret
()
tests/server/middleware/test_caching.py:1089
Method
secret
()
tests/server/auth/test_authorization.py:1558
Method
secret
()
tests/server/transforms/test_catalog.py:214
Method
secret_prompt
()
tests/server/auth/test_authorization.py:1169
Method
secret_resource
()
tests/server/auth/test_authorization.py:1151
Method
secret_resource
()
tests/server/transforms/test_resources_as_tools.py:376
Function
secret_tool
(data: str)
tests/tasks/server/test_task_security.py:34
Method
secret_tool
()
tests/server/auth/test_authorization.py:1133
Method
section_report
( section: str, ctx: Context )
tests/server/test_mrtr_guards_components.py:142
Method
secure_app
()
tests/test_apps.py:636
Function
secure_prompt
(topic: str, secret: str = Depends(get_secret))
tests/server/test_dependencies.py:623
Method
secure_prompt
(self)
tests/contrib/test_mcp_mixin.py:596
Method
secure_resource
(self)
tests/contrib/test_mcp_mixin.py:581
Method
secure_tool
()
tests/test_apps.py:646
Method
secure_tool
(self)
tests/contrib/test_mcp_mixin.py:542
Method
segment
(data: dict)
tests/server/auth/test_cimd_validators.py:455
Method
self_referential
(self)
tests/utilities/json_schema_type/test_advanced.py:336
Function
send
(message)
tests/server/http/test_task_group_error.py:12
Function
send
(message: MutableMapping[str, Any])
tests/server/http/test_http_auth_middleware.py:84
Function
send
( mixed: Literal["a"] | int = 3, merged: Literal["x"] | Literal["y", "z"] | None = None, )
tests/experimental/transforms/test_code_mode.py:1293
Method
send_date
(x: datetime.date)
tests/server/providers/local_provider_tools/test_parameters.py:362
Method
send_datetime
(x: datetime.datetime)
tests/server/providers/local_provider_tools/test_parameters.py:328
Function
send_email
Send an email and record the email.
tests/server/transforms/test_search_regex.py:34
Function
send_email
Send an email to the given recipient.
tests/server/transforms/test_search.py:60
Method
send_path
(path: Path)
tests/server/providers/local_provider_tools/test_parameters.py:278
Function
send_raw_request
(method: str, params: Any, options: Any)
tests/experimental/events/test_push_lifecycle.py:68
Method
send_roots_list_changed
Send a roots/list_changed notification.
fastmcp_slim/fastmcp/client/client.py:1640
Method
send_timedelta
(x: datetime.timedelta)
tests/server/providers/local_provider_tools/test_parameters.py:384
Method
send_uuid
(x: uuid.UUID)
tests/server/providers/local_provider_tools/test_parameters.py:303
Method
send_with_host_headers
(message: Message)
fastmcp_slim/fastmcp/cli/apps_dev_security.py:121
Function
sensitive_snapshot
A snapshot carrying a bearer token and an Authorization header.
tests/tasks/server/test_snapshot_encryption.py:73
Function
serialize_list
( value: list[Any], handler: core_schema.SerializerFunctionWrapHandler )
fastmcp_slim/fastmcp/utilities/json_schema_type.py:853
Function
serve_app_bridge_js
Serve the locally patched app-bridge.js.
fastmcp_slim/fastmcp/cli/apps_dev.py:1464
Function
serve_first
()
tests/server/test_extension_runtime.py:158
Function
server
()
tests/server/test_subscriptions.py:37
Method
server
The FastMCP server this extension is registered on. Handlers, interceptors, and lifespan code reach the component registry, `Context`
fastmcp_slim/fastmcp/server/extensions.py:216
Method
server
(self)
tests/test_compat.py:233
Method
server
(self)
tests/client/client/test_client.py:1096
Method
server
(self)
tests/resources/test_resource_security.py:197
Method
server
(self)
tests/server/test_context.py:527
Method
server
(self)
tests/server/middleware/test_ping.py:266
Method
server_capabilities
The server's advertised capabilities, or `None` when disconnected. Populated from whichever negotiation result the era produced (the
fastmcp_slim/fastmcp/client/client.py:732
Function
server_entry
(request: pytest.FixtureRequest)
tests/client/transports/test_config_timeout.py:47
Method
server_file
(self, tmp_path: Path)
tests/cli/test_install.py:170
Function
server_info
()
tests/downstream/smoke_openai_agents.py:99
Function
server_info
()
tests/downstream/smoke_langchain_mcp_adapters.py:101
Function
server_info
Get information about this server (static tool).
examples/providers/sqlite/server.py:112
Function
server_info
Get server information
examples/testing_demo/server.py:35
Method
server_info
The session's server identity, or `None` when disconnected. Populated from whichever negotiation result the era produced (the `Initia
fastmcp_slim/fastmcp/client/client.py:742
Method
server_lifespan
(mcp: FastMCP)
tests/server/test_server_lifespan.py:26
Method
server_lifespan
(mcp: FastMCP)
tests/server/test_server_lifespan.py:570
Method
server_lifespan
(mcp: FastMCP)
tests/server/mount/test_proxy.py:144
Function
server_metadata
()
tests/downstream/smoke_langchain_mcp.py:140
Function
server_script
(tmp_path: Path)
tests/server/providers/proxy/test_log_forwarding.py:35
Method
server_tool
()
tests/server/providers/test_local_provider.py:932
Function
server_with_config
Create a complete server setup with fastmcp.json config.
tests/cli/test_mcp_server_config_integration.py:15
Method
server_with_custom_route
Create a FastMCP server with a custom route.
tests/server/http/test_custom_routes.py:12
Method
session
Access to the underlying session for advanced usage. In request mode: Returns the session from the active request context. In backgro
fastmcp_slim/fastmcp/server/context.py:834
Method
session_a
()
tests/server/test_session_visibility.py:581
Method
session_a
()
tests/server/test_session_visibility.py:764
Method
session_b
()
tests/server/test_session_visibility.py:597
Method
session_b
()
tests/server/test_session_visibility.py:770
Function
session_closes
(real: SendRaw, method: str, params: Any, options: Any)
tests/experimental/events/test_push_lifecycle.py:366
Method
session_id
Get the identifier of the current MCP connection. On handshake-era (legacy) connections this is stable for the whole MCP session: the
fastmcp_slim/fastmcp/server/context.py:729
Function
sessionless_server
()
tests/server/test_protocol_eras.py:337
Method
set_binary_from_mime_type
Set is_binary based on mime_type if not explicitly set.
fastmcp_slim/fastmcp/resources/types.py:96
Function
set_context
(context: Context)
fastmcp_slim/fastmcp/server/context.py:141
Method
set_default_mime_type
Set default MIME type if not provided.
fastmcp_slim/fastmcp/resources/base.py:385
Method
set_default_mime_type
Set default MIME type if not provided.
fastmcp_slim/fastmcp/resources/template.py:510
Method
set_default_name
Set default name from URI if not provided.
fastmcp_slim/fastmcp/resources/base.py:392
Function
set_labels
(labels: dict[str, str])
tests/server/providers/openapi/test_object_request_bodies.py:163
Function
set_light
Change one light by UUID or unique exact name, including native candle/fire effects. Set effect to a name advertised by the bulb; no_effect stops
examples/smart_home/src/smart_home/lights/server.py:121
Method
set_mcp_path
Set the MCP endpoint path and compute resource URL. This method is called by get_routes() to configure the expected resource URL befo
fastmcp_slim/fastmcp/server/auth/auth.py:410
Method
set_message
Update the progress status message.
fastmcp_slim/fastmcp/server/dependencies.py:1237
Method
set_message
Update the progress status message.
fastmcp_slim/fastmcp/server/dependencies.py:1293
Function
set_profile
(profile: dict[str, str] | None)
tests/cli/test_generate_cli_arguments.py:41
Function
set_room
Change a room by UUID or unique exact name using its grouped_light service. For native effects, set each member light individually after checking
examples/smart_home/src/smart_home/lights/server.py:141
Method
set_total
Set the total/target value for progress tracking.
fastmcp_slim/fastmcp/server/dependencies.py:1229
Method
set_total
Set the total/target value for progress tracking.
fastmcp_slim/fastmcp/server/dependencies.py:1278
Function
set_value
Store a value in session state.
examples/persistent_state/server.py:17
Function
set_values
( values: list[int], group: str = Query(alias="values") )
tests/server/providers/openapi/test_whole_body_parameter_collisions.py:117
Method
settings
(self)
tests/client/test_client_extensions.py:82
Method
settings
(self)
tests/client/test_client_extensions.py:184
Method
settings
()
tests/utilities/json_schema_type/test_generated_classes.py:184
Method
settings
(self)
tests/server/test_extensions.py:70
Method
settings
(self)
tests/server/test_provider_extensions.py:508
← previous
next →
7,301–7,400 of 16,725, ranked by callers