MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Functionserve_app_bridge_js
Serve the locally patched app-bridge.js.
fastmcp_slim/fastmcp/cli/apps_dev.py:1464
Functionserve_first
()
tests/server/test_extension_runtime.py:158
Methodserver
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
Methodserver
(self)
tests/test_compat.py:233
Methodserver
(self)
tests/client/client/test_client.py:1096
Methodserver
(self)
tests/resources/test_resource_security.py:197
Methodserver
(self)
tests/server/test_context.py:527
Methodserver
(self)
tests/server/middleware/test_ping.py:266
Methodserver_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
Functionserver_entry
(request: pytest.FixtureRequest)
tests/client/transports/test_config_timeout.py:47
Methodserver_file
(self, tmp_path: Path)
tests/cli/test_install.py:170
Functionserver_info
()
tests/downstream/smoke_openai_agents.py:99
Functionserver_info
()
tests/downstream/smoke_langchain_mcp_adapters.py:101
Functionserver_info
Get information about this server (static tool).
examples/providers/sqlite/server.py:112
Functionserver_info
Get server information
examples/testing_demo/server.py:35
Methodserver_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
Methodserver_lifespan
(mcp: FastMCP)
tests/server/test_server_lifespan.py:26
Methodserver_lifespan
(mcp: FastMCP)
tests/server/test_server_lifespan.py:570
Methodserver_lifespan
(mcp: FastMCP)
tests/server/mount/test_proxy.py:144
Functionserver_metadata
()
tests/downstream/smoke_langchain_mcp.py:140
Methodserver_tool
()
tests/server/providers/test_local_provider.py:932
Functionserver_with_config
Create a complete server setup with fastmcp.json config.
tests/cli/test_mcp_server_config_integration.py:15
Methodserver_with_custom_route
Create a FastMCP server with a custom route.
tests/server/http/test_custom_routes.py:12
Methodsession
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
Methodsession_a
()
tests/server/test_session_visibility.py:581
Methodsession_a
()
tests/server/test_session_visibility.py:764
Methodsession_b
()
tests/server/test_session_visibility.py:597
Methodsession_b
()
tests/server/test_session_visibility.py:770
Methodsession_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
Functionsessionless_server
()
tests/server/test_protocol_eras.py:337
Methodset_binary_from_mime_type
Set is_binary based on mime_type if not explicitly set.
fastmcp_slim/fastmcp/resources/types.py:96
Functionset_context
(context: Context)
fastmcp_slim/fastmcp/server/context.py:141
Methodset_default_mime_type
Set default MIME type if not provided.
fastmcp_slim/fastmcp/resources/base.py:385
Methodset_default_mime_type
Set default MIME type if not provided.
fastmcp_slim/fastmcp/resources/template.py:510
Methodset_default_name
Set default name from URI if not provided.
fastmcp_slim/fastmcp/resources/base.py:392
Functionset_labels
(labels: dict[str, str])
tests/server/providers/openapi/test_object_request_bodies.py:163
Functionset_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
Methodset_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
Methodset_message
Update the progress status message.
fastmcp_slim/fastmcp/server/dependencies.py:1237
Methodset_message
Update the progress status message.
fastmcp_slim/fastmcp/server/dependencies.py:1293
Functionset_profile
(profile: dict[str, str] | None)
tests/cli/test_generate_cli_arguments.py:37
Functionset_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
Methodset_total
Set the total/target value for progress tracking.
fastmcp_slim/fastmcp/server/dependencies.py:1229
Methodset_total
Set the total/target value for progress tracking.
fastmcp_slim/fastmcp/server/dependencies.py:1278
Functionset_value
Store a value in session state.
examples/persistent_state/server.py:17
Functionset_values
( values: list[int], group: str = Query(alias="values") )
tests/server/providers/openapi/test_whole_body_parameter_collisions.py:117
Methodsettings
(self)
tests/client/test_client_extensions.py:82
Methodsettings
(self)
tests/client/test_client_extensions.py:184
Methodsettings
()
tests/utilities/json_schema_type/test_generated_classes.py:184
Methodsettings
(self)
tests/server/test_extensions.py:70
Methodsettings
(self)
tests/server/test_provider_extensions.py:508
Methodsettings
(self)
tests/server/providers/proxy/test_proxy_request_meta.py:42
Methodsettings
The tasks extension advertises no per-extension settings.
fastmcp_tasks/fastmcp_tasks/client.py:338
Methodsettings
The tasks extension advertises no per-extension settings.
fastmcp_tasks/fastmcp_tasks/extension.py:152
Functionsetup
(**kwargs: object)
examples/smart_home/tests/test_fire_tv.py:50
Methodsetup
Set up test fixtures.
tests/contrib/test_component_manager.py:240
Methodsetup
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:527
Functionshadow
()
tests/server/providers/proxy/test_skills.py:276
Functionshadow
()
tests/skills/test_composition.py:119
Functionshadow
()
tests/skills/test_provider.py:172
Functionshape_v1
()
tests/client/test_versioned_call_tool_validation.py:42
Functionshape_v2
()
tests/client/test_versioned_call_tool_validation.py:46
Methodshared_client
(self)
tests/server/auth/providers/test_http_client.py:22
Methodshared_client
(self)
tests/server/auth/providers/test_http_client.py:128
Methodshared_tool
()
tests/server/test_session_visibility.py:752
Methodshared_tool
()
tests/server/providers/test_local_provider.py:894
Functionshort_task
A task that takes 0.01 seconds.
tests/server/middleware/test_timing.py:150
Methodshort_timeout
()
tests/tools/test_tool_timeout.py:195
Methodshould_sample
( self, parent_context: Context | None, trace_id: int, name: str, kind
tests/telemetry/test_span_attributes.py:42
Methodshould_sample
( self, parent_context: Context | None, trace_id: int, name: str, kind
tests/telemetry/test_span_attributes.py:68
Methodshould_sample
( self, parent_context: Context | None, trace_id: int, name: str, kind
tests/telemetry/test_span_attributes.py:93
Methodshould_sample
( self, parent_context: Context | None, trace_id: int, name: str, kind
tests/telemetry/test_span_attributes.py:121
Functionshow
(user: str = Depends(load_user))
tests/server/test_call_arguments.py:224
Methodshow
()
tests/test_fastmcp_app.py:405
Methodshow
(request: Request)
tests/utilities/test_asgi_transport.py:79
Methodshow
()
tests/server/providers/test_prefab_synthesis.py:212
Functionshow_account
( owner: str, account: dict[str, str] = Depends(get_account, user_id=CallArgument("owner")),
tests/tasks/server/test_task_dependencies.py:316
Functionshow_account
( owner: str, account: dict[str, str] = Depends(get_account, user_id=CallArgument("owner")),
tests/server/test_call_arguments.py:54
Methodshow_and_notify
(ctx: Context)
tests/server/test_session_visibility.py:536
Functionshow_challenge
(challenge: DeviceAuthorization)
fastmcp_slim/fastmcp/cli/deploy/command.py:230
Methodshow_dashboard
()
tests/test_fastmcp_app.py:678
Functionshow_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
Functionshow_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
Methodshow_widget
()
tests/server/providers/test_prefab_synthesis.py:36
Methodshow_widget
()
tests/server/providers/test_prefab_synthesis.py:89
Methodshow_widget
()
tests/server/providers/test_prefab_synthesis.py:115
Methodshow_widget
()
tests/server/auth/test_authorization.py:1785
Functionshowcase
Prefab UI component showcase.
examples/apps/showcase_server.py:20
Functionshttp_server
Start a test server with StreamableHttp transport.
tests/client/test_openapi.py:49
Functionshttp_server
Start a test server with StreamableHttp transport.
tests/server/http/test_http_dependencies.py:62
Methodsibling
()
tests/utilities/test_async_utils.py:77
Functionsibling_tool
()
tests/server/mount/test_session_visibility.py:138
Functionsignal_handler
()
fastmcp_slim/fastmcp/cli/run.py:440
Methodsimple
()
tests/server/versioning/test_calls.py:165
Methodsimple_boolean
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:37
Methodsimple_coro
()
tests/client/client/test_session.py:200
Methodsimple_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:168
Functionsimple_func
(x: int, y: str = "default")
tests/utilities/test_typeadapter.py:121
Methodsimple_integer
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:33
Methodsimple_null
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:41
← previousnext →6,901–7,000 of 15,974, ranked by callers