Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Giving an Agent Control of a Local TDK Stack

说明与用途

使用 MCP 服务器和 TDK CLI 工具自动化管理本地 TDK 堆栈

问题

How to enable an AI agent to manage a local TDK stack reliably

结果

An agent can autonomously start, monitor, and stop a local TDK stack, reducing manual intervention and speeding up debugging cycles

工作流

  • Install TDK CLI
  • Run tdk doctor --json to verify host capabilities
  • Configure the MCP server in the agent client (e.g., Codex or Claude Code) to point to the TDK project
  • Use the MCP tools (doctor, up, down, status, logs, resource_list) to control the stack
  • Poll status until data.tilt.readiness.ready is true after up
  • Handle errors via typed exit codes
  • Log every tool call for review
  • Test the loop on a throwaway project before production use

证据

TDK CLI is not an AI model and does not decide what to build. It is a local tool that describes a stack in service.json files and runs it with Docker and Tilt.

来源

The MCP server exposes six tools: doctor, up, down, status, logs, and resource_list.

来源

Run tdk doctor --json to verify host capabilities before handing anything to an agent.

来源

  • 记录日期: 2026-10-18T13:10:59.395Z