tteg — 为AI智能体提供真实图库照片
功能简介
为AI编程智能体(Claude Code、Cursor、Codex)提供真实的Unsplash图库照片访问能力,无需任何API密钥配置。智能体可直接搜索、保存图片到仓库,并通过一条命令批量填充整个着陆页的图片集。
安装
uv tool install tteg
作为MCP服务器使用
{
"mcpServers": {
"tteg": {
"command": "uvx",
"args": ["tteg-mcp"]
}
}
}
命令
tteg save "startup office" ./public/hero --orientation landscape— 保存一张照片tteg batch manifest.json— 根据JSON清单填充整个页面tteg "mountain sunset"— 搜索并返回URL
何时使用
当AI智能体构建网站但图片仍为占位图时使用。 非用于图像生成。用于将真实图库照片保存到你的项目中。