Skip to main content
Version: devel

dlt._workspace._plugins

is_workspace_dir

def is_workspace_dir(run_dir: str) -> bool

View source on GitHub

Checks if run_dir contains dlt workspace, this is true if a config file is found

plug_mcp_pipeline

@_plugins.hookimpl(specname="plug_mcp")
def plug_mcp_pipeline(features: Set[str]) -> Optional[McpFeatures]

View source on GitHub

Contribute pipeline-scoped tools: table inspection, SQL queries.

Activated by the "pipeline" feature. Used by both WorkspaceMCP (features= {"workspace", "pipeline"}) and PipelineMCP (features={"pipeline"}).

plug_mcp_workspace

@_plugins.hookimpl(specname="plug_mcp")
def plug_mcp_workspace(features: Set[str]) -> Optional[McpFeatures]

View source on GitHub

Contribute workspace-level tools: pipeline discovery.

Activated by the "workspace" feature. Used by WorkspaceMCP only (features= {"workspace", "pipeline"}) so users can list available pipelines.

plug_mcp_toolkit

@_plugins.hookimpl(specname="plug_mcp")
def plug_mcp_toolkit(features: Set[str]) -> Optional[McpFeatures]

View source on GitHub

Contribute toolkit discovery tools: list and inspect available toolkits.

Activated by the "toolkit" feature.

plug_mcp_secrets

@_plugins.hookimpl(specname="plug_mcp")
def plug_mcp_secrets(features: Set[str]) -> Optional[McpFeatures]

View source on GitHub

Contribute secrets management tools: list, view-redacted, update.

Activated by the "secrets" feature.

plug_mcp_context

@_plugins.hookimpl(specname="plug_mcp")
def plug_mcp_context(features: Set[str]) -> Optional[McpFeatures]

View source on GitHub

Contribute AI context tools: search dlthub sources.

Activated by the "context" feature.

This demo works on codespaces. Codespaces is a development environment available for free to anyone with a Github account. You'll be asked to fork the demo repository and from there the README guides you with further steps.
The demo uses the Continue VSCode extension.

Off to codespaces!

DHelp

Ask a question

Welcome to "Codex Central", your next-gen help center, driven by OpenAI's GPT-4 model. It's more than just a forum or a FAQ hub – it's a dynamic knowledge base where coders can find AI-assisted solutions to their pressing problems. With GPT-4's powerful comprehension and predictive abilities, Codex Central provides instantaneous issue resolution, insightful debugging, and personalized guidance. Get your code running smoothly with the unparalleled support at Codex Central - coding help reimagined with AI prowess.