MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions13,374 in github.com/PrefectHQ/fastmcp

Methodlifespan
(self)
fastmcp_slim/fastmcp/apps/app.py:432
Methodlifespan
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
Methodlifespan
(self)
fastmcp_slim/fastmcp/server/http.py:377
Methodlifespan
Combine lifespan with inner provider.
fastmcp_slim/fastmcp/server/providers/wrapped_provider.py:133
Methodlifespan
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
Methodlifespan
Manage the lifecycle of the auto-created httpx client.
fastmcp_slim/fastmcp/server/providers/openapi/provider.py:204
Methodlifespan
(self)
tests/server/test_server_lifespan.py:593
Methodlifespan
(self)
tests/server/test_extensions.py:338
Methodlifespan
(self)
tests/server/test_extension_runtime.py:27
Methodlifespan
(self)
tests/server/test_extension_runtime.py:87
Methodlifespan
(self)
tests/server/test_extension_runtime.py:268
Methodlifespan
(self)
tests/server/test_provider_extensions.py:78
Methodlifespan
(self)
tests/server/test_provider_extensions.py:344
Methodlifespan
(self)
tests/server/test_provider_extensions.py:810
Methodlifespan
(self)
tests/server/test_provider_extensions.py:831
Methodlifespan
(mcp: FastMCP)
tests/server/mount/test_proxy.py:205
Methodlifespan
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
Functionlike
Like a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/server.py:102
Functionlike_post_by_uri
Like a post by its AT URI.
examples/atproto_mcp/src/atproto_mcp/_atproto/_social.py:43
Methodlimited_tool
()
tests/server/middleware/test_response_limiting.py:60
Functionlist_all
(get_catalog: GetToolCatalog)
tests/experimental/transforms/test_code_mode.py:371
Functionlist_cards
List cards.
tests/experimental/transforms/test_code_mode.py:1140
Functionlist_contacts
Return all contacts. Visible to both the model and the UI.
examples/apps/contacts/contacts_server.py:97
Functionlist_files
List files in a directory.
examples/search/server_bm25.py:65
Functionlist_files
List files in a directory.
examples/code_mode/server.py:63
Methodlist_files
List all uploaded files with metadata.
fastmcp_slim/fastmcp/apps/file_upload.py:298
Methodlist_prompts
List all available prompts from the server. Returns: List of Prompt objects available on the server
fastmcp_slim/fastmcp/server/context.py:563
Methodlist_prompts
Mark prompts by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:271
Methodlist_prompts
List prompts with transformation applied. Args: prompts: Sequence of prompts to transform. Returns: Transfor
fastmcp_slim/fastmcp/server/transforms/__init__.py:195
Methodlist_prompts
(self, prompts: Sequence[Prompt])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:138
Methodlist_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
Functionlist_requests
List requests, optionally filtered by status.
examples/apps/approvals/approvals_server.py:201
Methodlist_resource_templates
Mark resource templates by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:248
Methodlist_resource_templates
( self, templates: Sequence[ResourceTemplate] )
fastmcp_slim/fastmcp/server/transforms/version_filter.py:116
Methodlist_resources
List all available resources from the server. Returns: List of Resource objects available on the server
fastmcp_slim/fastmcp/server/context.py:552
Methodlist_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
Methodlist_resources
Mark resources by visibility state.
fastmcp_slim/fastmcp/server/transforms/visibility.py:227
Methodlist_resources
List resources with transformation applied. Args: resources: Sequence of resources to transform. Returns: Tr
fastmcp_slim/fastmcp/server/transforms/__init__.py:125
Methodlist_resources
(self, resources: Sequence[Resource])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:96
Functionlist_roots
(context: Context)
tests/client/test_roots.py:20
Functionlist_roots
(context: Context)
tests/server/providers/proxy/test_proxy_client.py:99
Functionlist_session_info
Get information about the current session.
examples/persistent_state/server.py:33
Functionlist_test_dir
List the files in the test directory
tests/server/test_file_server.py:34
Functionlist_tool
()
tests/conftest.py:307
Functionlist_tool
()
tests/client/client/test_client.py:845
Methodlist_tool
()
tests/server/providers/local_provider_tools/test_output_schema.py:276
Functionlist_tools
List all available tools.
tests/experimental/transforms/test_code_mode.py:372
Methodlist_tools
Add resource tools to the tool list.
fastmcp_slim/fastmcp/server/transforms/resources_as_tools.py:78
Methodlist_tools
(self, tools: Sequence[Tool])
fastmcp_slim/fastmcp/server/transforms/version_filter.py:80
Methodlist_tools
Add prompt tools to the tool list.
fastmcp_slim/fastmcp/server/transforms/prompts_as_tools.py:75
Methodlist_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
Methodlist_tools
(self, tools: Sequence[Tool])
tests/server/test_hashed_tool_dispatch.py:36
Functionlist_users
List all system users.
examples/namespace_activation/server.py:35
Functionlists_prefixed_tools
()
tests/downstream/smoke_langchain_mcp.py:245
Functionlists_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
Functionlists_tools
()
tests/downstream/smoke_pydantic_ai.py:102
Functionlists_tools
()
tests/downstream/smoke_langchain_mcp.py:132
Functionlists_tools
()
tests/downstream/smoke_langchain_mcp_adapters.py:97
Functionlists_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
Functionliteral_with_context
Tool using Literal with context.
tests/tools/test_tool_future_annotations.py:67
Functionlive_server_with_tool
Fixture to create a FastMCP server instance with the echo_tool registered.
tests/contrib/test_bulk_tool_caller.py:71
Methodload_access_token
(self, token: str)
tests/server/test_auth_integration_errors.py:171
Methodload_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:154
Methodload_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
Methodload_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
tests/server/test_auth_integration_errors.py:68
Methodload_authorization_code
( self, client: OAuthClientInformationFull, authorization_code: str )
tests/server/test_auth_integration.py:69
Functionload_config
(connection: Connection = Depends(get_connection))
tests/server/test_dependencies.py:394
Functionload_configuration
(store: ConfigurationStore)
tests/cli/deploy/test_command.py:119
Functionload_credential
(store: CredentialStore)
tests/cli/deploy/test_command.py:123
Methodload_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: str )
fastmcp_slim/fastmcp/server/auth/providers/in_memory.py:220
Methodload_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
Methodload_refresh_token
( self, client: OAuthClientInformationFull, refresh_token: str )
tests/server/test_auth_integration_errors.py:105
Functionload_sync
(connection: Connection = Depends(get_sync_connection))
tests/server/test_dependencies.py:518
Methodlocal_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
Methodlocal_tool
()
tests/server/test_server.py:113
Functionlocale_open
( file: Any, mode: str = "r", buffering: int = -1, encoding: str | None = None
tests/cli/test_config_encoding.py:27
Methodlocale_sensitive_write_text
( path: Path, data: str, encoding: str | None = None, errors:
tests/utilities/test_skills.py:298
Functionlock
(directory: Path)
tests/cli/deploy/test_command.py:114
Functionlock
(ctx: Context)
tests/server/test_hashed_tool_dispatch.py:189
Functionlog
(context: Context)
tests/client/test_logs.py:37
Functionlog
( message: str, level: LoggingLevel, logger: str, context: Context )
tests/server/providers/proxy/test_stateful_proxy_client.py:34
Functionlog
( message: str, level: LoggingLevel, logger: str, context: Context )
tests/server/providers/proxy/test_proxy_client.py:127
Functionlog_callback
(params: LoggingMessageNotificationParams)
fastmcp_slim/fastmcp/client/logging.py:51
Functionlog_handler
(message: LogMessage)
tests/test_mcp_config.py:906
Methodlog_handler
(message: LogMessage)
tests/server/providers/proxy/test_proxy_client.py:319
Methodlog_handler_a
(message: LogMessage)
tests/server/providers/proxy/test_stateful_proxy_client.py:125
Methodlog_handler_a
(message: LogMessage)
tests/server/providers/proxy/test_proxy_client.py:365
Methodlog_handler_b
(message: LogMessage)
tests/server/providers/proxy/test_stateful_proxy_client.py:128
Methodlog_handler_b
(message: LogMessage)
tests/server/providers/proxy/test_proxy_client.py:368
Functionlog_messages
()
tests/downstream/smoke_pydantic_ai.py:157
Functionlog_messages
()
tests/downstream/smoke_langchain_mcp_adapters.py:154
Functionlog_test
(message: str, ctx: Context)
tests/test_mcp_config.py:875
Functionlog_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:149
Functionlog_tool
(context: Context)
tests/server/middleware/test_middleware.py:147
Methodlog_tool
(context: Context)
tests/server/middleware/test_middleware_nested.py:201
Functionlogging
()
tests/downstream/smoke_langchain_mcp.py:194
Functionlogging_server
Create a FastMCP server specifically for logging middleware tests.
tests/server/middleware/test_logging.py:400
Methodlogging_server
Create a FastMCP server specifically for logging middleware tests.
tests/server/middleware/test_logging.py:440
Methodlong_timeout
()
tests/tools/test_tool_timeout.py:160
Methodlookup
()
tests/utilities/json_schema_type/test_generated_classes.py:406
← previousnext →4,701–4,800 of 13,374, ranked by callers