Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
13,374 in github.com/PrefectHQ/fastmcp
⨍
Functions
13,374
◇
Types & classes
2,002
↳
Endpoints
150
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:982
Method
server
(self)
tests/resources/test_resource_security.py:197
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:689
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:109
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:699
Method
server_lifespan
(mcp: FastMCP)
tests/server/test_server_lifespan.py:26
Method
server_lifespan
(mcp: FastMCP)
tests/server/test_server_lifespan.py:564
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:823
Function
server_with_config
Create a complete server setup with fastmcp.json config.
tests/cli/test_mcp_server_config_integration.py:14
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:794
Method
session_a
()
tests/server/test_session_visibility.py:547
Method
session_a
()
tests/server/test_session_visibility.py:730
Method
session_b
()
tests/server/test_session_visibility.py:563
Method
session_b
()
tests/server/test_session_visibility.py:736
Method
session_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
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:91
Function
set_context
(context: Context)
fastmcp_slim/fastmcp/server/context.py:134
Method
set_default_mime_type
Set default MIME type if not provided.
fastmcp_slim/fastmcp/resources/base.py:396
Method
set_default_mime_type
Set default MIME type if not provided.
fastmcp_slim/fastmcp/resources/template.py:442
Method
set_default_name
Set default name from URI if not provided.
fastmcp_slim/fastmcp/resources/base.py:403
Function
set_labels
(labels: dict[str, str])
tests/server/providers/openapi/test_object_request_bodies.py:162
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:373
Method
set_message
Update the progress status message.
fastmcp_slim/fastmcp/server/dependencies.py:1203
Method
set_message
Update the progress status message.
fastmcp_slim/fastmcp/server/dependencies.py:1259
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:1195
Method
set_total
Set the total/target value for progress tracking.
fastmcp_slim/fastmcp/server/dependencies.py:1244
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:119
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:188
Method
setup
(self, rsa_key_pair: RSAKeyPair)
tests/contrib/test_component_manager.py:475
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:718
Method
shared_tool
()
tests/server/providers/test_local_provider.py:785
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:155
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
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:129
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
Function
show_challenge
(challenge: DeviceAuthorization)
fastmcp_slim/fastmcp/cli/deploy/command.py:230
Method
show_dashboard
()
tests/test_fastmcp_app.py:656
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:31
Method
show_widget
()
tests/server/providers/test_prefab_synthesis.py:84
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
Function
signal_handler
()
fastmcp_slim/fastmcp/cli/run.py:412
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:89
Method
simple_defaults
(self)
tests/utilities/json_schema_type/test_advanced.py:24
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
Method
simple_number
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:29
Method
simple_object
(self)
tests/utilities/json_schema_type/test_containers.py:84
Method
simple_openapi_spec
Simple OpenAPI spec for testing.
tests/server/providers/openapi/test_server.py:68
Function
simple_operation
A simple operation for testing logging.
tests/server/middleware/test_logging.py:407
Method
simple_operation
A simple operation for testing logging.
tests/server/middleware/test_logging.py:445
Method
simple_prompt
A simple prompt.
tests/server/transforms/test_prompts_as_tools.py:120
Method
simple_route
Create a simple route for testing.
tests/utilities/openapi/test_schemas.py:90
Function
simple_sample
(message: str, context: Context)
tests/client/test_sampling.py:41
Method
simple_spec
Simple OpenAPI spec for testing.
tests/server/providers/openapi/test_end_to_end_compatibility.py:27
Method
simple_string
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:25
Function
simple_test
()
tests/client/test_elicitation_enums.py:42
Function
simple_test
()
tests/client/test_elicitation.py:44
Function
simple_tool
(message: str)
tests/tasks/server/test_task_protocol.py:25
Function
simple_tool
(message: str)
tests/tasks/server/test_task_tools.py:53
Method
simple_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:134
Function
simple_with_context
Simple tool with context parameter.
tests/tools/test_tool_future_annotations.py:17
Method
single_skill_dir
Create a single skill directory with files.
tests/server/providers/test_skills_provider.py:212
Method
skill_document
()
tests/utilities/test_skills.py:142
Method
skill_info
Get the loaded skill info.
fastmcp_slim/fastmcp/server/providers/skills/skill_provider.py:269
← previous
next →
5,801–5,900 of 13,374, ranked by callers