Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@lightdash-tools

TypeScript monorepo: Lightdash API client, CLI, and MCP server.

Using the tools

All tools are available as npm packages under the @lightdash-tools scope.

AI Safety and Agent-Friendly Features

CLI uses a hierarchical safety stack (ADR-0005): LIGHTDASH_TOOLS_SAFETY_MODE / --safety-mode (read-only default, write-idempotent, write-destructive), plus optional dry-run, project allowlist, and audit log.

MCP is persona-first (ADR-0008): capability = persona toolIds; HTTP may pin via X-Lightdash-Project; process safety-mode / allowlist / dry-run are not used on MCP.

Shared agent-friendly features:

  • Agent-safe surface — Irrecoverable ops stay off MCP/CLI (ADR-0004).
  • Input validation — Known identifier fields only (projectUuid, slug, …).
  • Audit log — Optional LIGHTDASH_TOOLS_AUDIT_LOG.

For agent-specific guidance, see docs/agent-context/CONTEXT.md. For credentials, use env vars from your shell or CI; see docs/secrets-and-credentials.md.

Developing? See CONTRIBUTING.md. For agent instructions see AGENTS.md. For architectural decisions, see docs/adr/.

License

Apache-2.0

About

Lightdash tools (HTTP client, CLI, MCP and more)

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages