MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

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:982
Methodserver
(self)
tests/resources/test_resource_security.py:197
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:689
Functionserver_info
()
tests/downstream/smoke_langchain_mcp_adapters.py:101
Functionserver_info
Get information about this server (static tool).
examples/providers/sqlite/server.py:109
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:699
Methodserver_lifespan
(mcp: FastMCP)
tests/server/test_server_lifespan.py:26
Methodserver_lifespan
(mcp: FastMCP)
tests/server/test_server_lifespan.py:564
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:823
Functionserver_with_config
Create a complete server setup with fastmcp.json config.
tests/cli/test_mcp_server_config_integration.py:14
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:794
Methodsession_a
()
tests/server/test_session_visibility.py:547
Methodsession_a
()
tests/server/test_session_visibility.py:730
Methodsession_b
()
tests/server/test_session_visibility.py:563
Methodsession_b
()
tests/server/test_session_visibility.py:736
Methodsession_id
Get the MCP session ID for ALL transports. Returns the session ID that can be used as a key for session-based data storage (e.g., Red
fastmcp_slim/fastmcp/server/context.py:709
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:91
Functionset_context
(context: Context)
fastmcp_slim/fastmcp/server/context.py:134
Methodset_default_mime_type
Set default MIME type if not provided.
fastmcp_slim/fastmcp/resources/base.py:396
Methodset_default_mime_type
Set default MIME type if not provided.
fastmcp_slim/fastmcp/resources/template.py:442
Methodset_default_name
Set default name from URI if not provided.
fastmcp_slim/fastmcp/resources/base.py:403
Functionset_labels
(labels: dict[str, str])
tests/server/providers/openapi/test_object_request_bodies.py:162
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:373
Methodset_message
Update the progress status message.
fastmcp_slim/fastmcp/server/dependencies.py:1203
Methodset_message
Update the progress status message.
fastmcp_slim/fastmcp/server/dependencies.py:1259
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:1195
Methodset_total
Set the total/target value for progress tracking.
fastmcp_slim/fastmcp/server/dependencies.py:1244
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:119
Functionsetup
(**kwargs: object)
examples/smart_home/tests/test_fire_tv.py:50
Methodsetup
Set up test fixtures.
tests/contrib/test_component_manager.py:188
Methodsetup
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:475
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:718
Methodshared_tool
()
tests/server/providers/test_local_provider.py:785
Functionshort_task
A task that takes 0.01 seconds.
tests/server/middleware/test_timing.py:150
Methodshort_timeout
()
tests/tools/test_tool_timeout.py:155
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
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:129
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
Functionshow_challenge
(challenge: DeviceAuthorization)
fastmcp_slim/fastmcp/cli/deploy/command.py:230
Methodshow_dashboard
()
tests/test_fastmcp_app.py:656
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:31
Methodshow_widget
()
tests/server/providers/test_prefab_synthesis.py:84
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
Functionsignal_handler
()
fastmcp_slim/fastmcp/cli/run.py:412
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:89
Methodsimple_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:24
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
Methodsimple_number
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:29
Methodsimple_object
(self)
tests/utilities/json_schema_type/test_containers.py:84
Methodsimple_openapi_spec
Simple OpenAPI spec for testing.
tests/server/providers/openapi/test_server.py:68
Functionsimple_operation
A simple operation for testing logging.
tests/server/middleware/test_logging.py:407
Methodsimple_operation
A simple operation for testing logging.
tests/server/middleware/test_logging.py:445
Methodsimple_prompt
A simple prompt.
tests/server/transforms/test_prompts_as_tools.py:120
Methodsimple_route
Create a simple route for testing.
tests/utilities/openapi/test_schemas.py:90
Functionsimple_sample
(message: str, context: Context)
tests/client/test_sampling.py:41
Methodsimple_spec
Simple OpenAPI spec for testing.
tests/server/providers/openapi/test_end_to_end_compatibility.py:27
Methodsimple_string
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:25
Functionsimple_test
()
tests/client/test_elicitation_enums.py:42
Functionsimple_test
()
tests/client/test_elicitation.py:44
Functionsimple_tool
(message: str)
tests/tasks/server/test_task_protocol.py:25
Functionsimple_tool
(message: str)
tests/tasks/server/test_task_tools.py:53
Methodsimple_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:134
Functionsimple_with_context
Simple tool with context parameter.
tests/tools/test_tool_future_annotations.py:17
Methodsingle_skill_dir
Create a single skill directory with files.
tests/server/providers/test_skills_provider.py:212
Methodskill_document
()
tests/utilities/test_skills.py:142
Methodskill_info
Get the loaded skill info.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:269
← previousnext →5,801–5,900 of 13,374, ranked by callers