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
lifespan
(self)
fastmcp_slim/fastmcp/apps/app.py:432
Method
lifespan
A context manager entered with the server's lifespan, exited on shutdown. Default: a no-op. Override to start and stop resources an extension
fastmcp_slim/fastmcp/server/extensions.py:243
Method
lifespan
(self)
fastmcp_slim/fastmcp/server/http.py:377
Method
lifespan
Combine lifespan with inner provider.
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:133
Method
lifespan
Start the mounted server's lifespan. Sets ``_lifespan_root_active=True`` to signal to the wrapped server's ``_docket_lifespan`` that
fastmcp_slim/fastmcp/server/providers/fastmcp_provider.py:594
Method
lifespan
Manage the lifecycle of the auto-created httpx client.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:204
Method
lifespan
(self)
tests/server/test_server_lifespan.py:593
Method
lifespan
(self)
tests/server/test_extensions.py:338
Method
lifespan
(self)
tests/server/test_extension_runtime.py:27
Method
lifespan
(self)
tests/server/test_extension_runtime.py:87
Method
lifespan
(self)
tests/server/test_extension_runtime.py:268
Method
lifespan
(self)
tests/server/test_provider_extensions.py:78
Method
lifespan
(self)
tests/server/test_provider_extensions.py:344
Method
lifespan
(self)
tests/server/test_provider_extensions.py:810
Method
lifespan
(self)
tests/server/test_provider_extensions.py:831
Method
lifespan
(mcp: FastMCP)
tests/server/mount/test_proxy.py:205
Method
lifespan
Start the Docket backend/worker and install the worker-side hooks. Installs core's background-context factory and worker-server resolver for
fastmcp_tasks/fastmcp_tasks/extension.py:291
Function
like
Like a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/server.py:102
Function
like_post_by_uri
Like a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/_atproto/_social.py:43
Method
limited_tool
()
tests/server/middleware/test_response_limiting.py:60
Function
list_all
(get_catalog: GetToolCatalog)
tests/experimental/transforms/test_code_mode.py:371
Function
list_cards
List cards.
tests/experimental/transforms/test_code_mode.py:1140
Function
list_contacts
Return all contacts. Visible to both the model and the UI.
examples/apps/contacts/contacts_server.py:97
Function
list_files
List files in a directory.
examples/search/server_bm25.py:65
Function
list_files
List files in a directory.
examples/code_mode/server.py:63
Method
list_files
List all uploaded files with metadata.
fastmcp_slim/fastmcp/apps/file_upload.py:298
Method
list_prompts
List all available prompts from the server. Returns: List of Prompt objects available on the server
fastmcp_slim/fastmcp/server/context.py:563
Method
list_prompts
Mark prompts by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:271
Method
list_prompts
List prompts with transformation applied. Args: prompts: Sequence of prompts to transform. Returns: Transfor
fastmcp_slim/fastmcp/server/transforms/__init__.py:195
Method
list_prompts
(self, prompts: Sequence[Prompt])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:138
Method
list_prompts
List all available prompts. Returns JSON with prompt metadata including name, description, and optional arguments.
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:96
Function
list_requests
List requests, optionally filtered by status.
examples/apps/approvals/approvals_server.py:201
Method
list_resource_templates
Mark resource templates by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:248
Method
list_resource_templates
( self, templates: Sequence[ResourceTemplate] )
fastmcp_slim/fastmcp/server/transforms/version_filter.py:116
Method
list_resources
List all available resources from the server. Returns: List of Resource objects available on the server
fastmcp_slim/fastmcp/server/context.py:552
Method
list_resources
List all available resources and resource templates. Returns JSON with resource metadata. Static resources have a 'uri' field
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:99
Method
list_resources
Mark resources by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:227
Method
list_resources
List resources with transformation applied. Args: resources: Sequence of resources to transform. Returns: Tr
fastmcp_slim/fastmcp/server/transforms/__init__.py:125
Method
list_resources
(self, resources: Sequence[Resource])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:96
Function
list_roots
(context: Context)
tests/client/test_roots.py:20
Function
list_roots
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:99
Function
list_session_info
Get information about the current session.
examples/persistent_state/server.py:33
Function
list_test_dir
List the files in the test directory
tests/server/test_file_server.py:34
Function
list_tool
()
tests/conftest.py:307
Function
list_tool
()
tests/client/client/test_client.py:845
Method
list_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:276
Function
list_tools
List all available tools.
tests/experimental/transforms/test_code_mode.py:372
Method
list_tools
Add resource tools to the tool list.
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:78
Method
list_tools
(self, tools: Sequence[Tool])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:80
Method
list_tools
Add prompt tools to the tool list.
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:75
Method
list_tools
List all available tools. Use to see the full catalog before searching or calling tools.
fastmcp_slim/fastmcp/experimental/transforms/code_mode.py:580
Method
list_tools
(self, tools: Sequence[Tool])
tests/server/test_hashed_tool_dispatch.py:36
Function
list_users
List all system users.
examples/namespace_activation/server.py:35
Function
lists_prefixed_tools
()
tests/downstream/smoke_langchain_mcp.py:245
Function
lists_through_refs_schema
Each `P{i}` refers to `D{i}`, so `#/$defs/P{i}/x` means `D{i}["x"]`.
tests/utilities/test_json_schema_expansion.py:30
Function
lists_tools
()
tests/downstream/smoke_pydantic_ai.py:102
Function
lists_tools
()
tests/downstream/smoke_langchain_mcp.py:132
Function
lists_tools
()
tests/downstream/smoke_langchain_mcp_adapters.py:97
Function
lists_with_tab_in_pointers_schema
URL parsing removes the tab, so `#/$defs/D\\t{i}` means `D{i}`.
tests/utilities/test_json_schema_expansion.py:43
Function
literal_with_context
Tool using Literal with context.
tests/tools/test_tool_future_annotations.py:67
Function
live_server_with_tool
Fixture to create a FastMCP server instance with the echo_tool registered.
tests/contrib/test_bulk_tool_caller.py:71
Method
load_access_token
(self, token: str)
tests/server/test_auth_integration_errors.py:171
Method
load_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:154
Method
load_authorization_code
Load authorization code for validation. Look up our client code and return authorization code object with PKCE challenge for validati
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1249
Method
load_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
tests/server/test_auth_integration_errors.py:68
Method
load_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
tests/server/test_auth_integration.py:69
Function
load_config
(connection: Connection = Depends(get_connection))
tests/server/test_dependencies.py:394
Function
load_configuration
(store: ConfigurationStore)
tests/cli/deploy/test_command.py:119
Function
load_credential
(store: CredentialStore)
tests/cli/deploy/test_command.py:123
Method
load_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: str )
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:220
Method
load_refresh_token
Load refresh token metadata from distributed storage. Looks up by token hash and reconstructs the RefreshToken object. Validates that
fastmcp_slim/fastmcp/server/auth/oauth_proxy/proxy.py:1740
Method
load_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: str )
tests/server/test_auth_integration_errors.py:105
Function
load_sync
(connection: Connection = Depends(get_sync_connection))
tests/server/test_dependencies.py:518
Method
local_provider
The server's local provider, which stores directly-registered components. Use this to remove components: mcp.local_provider.remo
fastmcp_slim/fastmcp/server/server.py:573
Method
local_tool
()
tests/server/test_server.py:113
Function
locale_open
( file: Any, mode: str = "r", buffering: int = -1, encoding: str | None = None
tests/cli/test_config_encoding.py:27
Method
locale_sensitive_write_text
( path: Path, data: str, encoding: str | None = None, errors:
tests/utilities/test_skills.py:298
Function
lock
(directory: Path)
tests/cli/deploy/test_command.py:114
Function
lock
(ctx: Context)
tests/server/test_hashed_tool_dispatch.py:189
Function
log
(context: Context)
tests/client/test_logs.py:37
Function
log
( message: str, level: LoggingLevel, logger: str, context: Context )
tests/server/providers/proxy/test_stateful_proxy_client.py:34
Function
log
( message: str, level: LoggingLevel, logger: str, context: Context )
tests/server/providers/proxy/test_proxy_client.py:127
Function
log_callback
(params: LoggingMessageNotificationParams)
fastmcp_slim/fastmcp/client/logging.py:51
Function
log_handler
(message: LogMessage)
tests/test_mcp_config.py:906
Method
log_handler
(message: LogMessage)
tests/server/providers/proxy/test_proxy_client.py:319
Method
log_handler_a
(message: LogMessage)
tests/server/providers/proxy/test_stateful_proxy_client.py:125
Method
log_handler_a
(message: LogMessage)
tests/server/providers/proxy/test_proxy_client.py:365
Method
log_handler_b
(message: LogMessage)
tests/server/providers/proxy/test_stateful_proxy_client.py:128
Method
log_handler_b
(message: LogMessage)
tests/server/providers/proxy/test_proxy_client.py:368
Function
log_messages
()
tests/downstream/smoke_pydantic_ai.py:157
Function
log_messages
()
tests/downstream/smoke_langchain_mcp_adapters.py:154
Function
log_test
(message: str, ctx: Context)
tests/test_mcp_config.py:875
Function
log_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:149
Function
log_tool
(context: Context)
tests/server/middleware/test_middleware.py:147
Method
log_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:201
Function
logging
()
tests/downstream/smoke_langchain_mcp.py:194
Function
logging_server
Create a FastMCP server specifically for logging middleware tests.
tests/server/middleware/test_logging.py:400
Method
logging_server
Create a FastMCP server specifically for logging middleware tests.
tests/server/middleware/test_logging.py:440
Method
long_timeout
()
tests/tools/test_tool_timeout.py:160
Method
lookup
()
tests/utilities/json_schema_type/test_generated_classes.py:406
← previous
next →
4,701–4,800 of 13,374, ranked by callers