Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
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
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:724
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:734
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
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:832
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
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:727
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:37
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
Method
settings
(self)
tests/server/providers/proxy/test_proxy_request_meta.py:42
Method
settings
The tasks extension advertises no per-extension settings.
fastmcp_tasks/fastmcp_tasks/client.py:338
Method
settings
The tasks extension advertises no per-extension settings.
fastmcp_tasks/fastmcp_tasks/extension.py:152
Function
setup
(**kwargs: object)
examples/smart_home/tests/test_fire_tv.py:50
Method
setup
Set up test fixtures.
tests/contrib/test_component_manager.py:240
Method
setup
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:527
Function
shadow
()
tests/server/providers/proxy/test_skills.py:276
Function
shadow
()
tests/skills/test_composition.py:119
Function
shadow
()
tests/skills/test_provider.py:172
Function
shape_v1
()
tests/client/test_versioned_call_tool_validation.py:42
Function
shape_v2
()
tests/client/test_versioned_call_tool_validation.py:46
Method
shared_client
(self)
tests/server/auth/providers/test_http_client.py:22
Method
shared_client
(self)
tests/server/auth/providers/test_http_client.py:128
Method
shared_tool
()
tests/server/test_session_visibility.py:752
Method
shared_tool
()
tests/server/providers/test_local_provider.py:894
Function
short_task
A task that takes 0.01 seconds.
tests/server/middleware/test_timing.py:150
Method
short_timeout
()
tests/tools/test_tool_timeout.py:195
Method
should_sample
( self, parent_context: Context | None, trace_id: int, name: str, kind
tests/telemetry/test_span_attributes.py:42
Method
should_sample
( self, parent_context: Context | None, trace_id: int, name: str, kind
tests/telemetry/test_span_attributes.py:68
Method
should_sample
( self, parent_context: Context | None, trace_id: int, name: str, kind
tests/telemetry/test_span_attributes.py:93
Method
should_sample
( self, parent_context: Context | None, trace_id: int, name: str, kind
tests/telemetry/test_span_attributes.py:121
Function
show
(user: str = Depends(load_user))
tests/server/test_call_arguments.py:224
Method
show
()
tests/test_fastmcp_app.py:405
Method
show
(request: Request)
tests/utilities/test_asgi_transport.py:79
Method
show
()
tests/server/providers/test_prefab_synthesis.py:212
Function
show_account
( owner: str, account: dict[str, str] = Depends(get_account, user_id=CallArgument("owner")),
tests/tasks/server/test_task_dependencies.py:316
Function
show_account
( owner: str, account: dict[str, str] = Depends(get_account, user_id=CallArgument("owner")),
tests/server/test_call_arguments.py:54
Method
show_and_notify
(ctx: Context)
tests/server/test_session_visibility.py:536
Function
show_challenge
(challenge: DeviceAuthorization)
fastmcp_slim/fastmcp/cli/deploy/command.py:230
Method
show_dashboard
()
tests/test_fastmcp_app.py:678
Function
show_map
Show locations on an interactive map. Accepts addresses, place names, or landmarks. Each location is geocoded via OpenStreetMap and displayed
examples/apps/map/map_server.py:97
Function
show_media_picker
Show media choices the user can play on their TV. Find candidates first with your own web search, then pass their YouTube URLs here. Each lin
examples/apps/media_picker/media_picker_server.py:347
Method
show_widget
()
tests/server/providers/test_prefab_synthesis.py:36
Method
show_widget
()
tests/server/providers/test_prefab_synthesis.py:89
Method
show_widget
()
tests/server/providers/test_prefab_synthesis.py:115
Method
show_widget
()
tests/server/auth/test_authorization.py:1785
Function
showcase
Prefab UI component showcase.
examples/apps/showcase_server.py:20
Function
shttp_server
Start a test server with StreamableHttp transport.
tests/client/test_openapi.py:49
Function
shttp_server
Start a test server with StreamableHttp transport.
tests/server/http/test_http_dependencies.py:62
Method
sibling
()
tests/utilities/test_async_utils.py:77
Function
sibling_tool
()
tests/server/mount/test_session_visibility.py:138
Function
signal_handler
()
fastmcp_slim/fastmcp/cli/run.py:440
Method
simple
()
tests/server/versioning/test_calls.py:165
Method
simple_boolean
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:37
Method
simple_coro
()
tests/client/client/test_session.py:200
Method
simple_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:168
Function
simple_func
(x: int, y: str = "default")
tests/utilities/test_typeadapter.py:121
Method
simple_integer
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:33
Method
simple_null
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:41
← previous
next →
6,901–7,000 of 15,974, ranked by callers