把任意文本排版渲染成图片,便于分享或展示
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add zcmmmm -- uv --directory /absolute/path/to/text2image run text2image.py~/.codex/config.toml
[mcp_servers.zcmmmm]
command = "uv"
args = ["--directory", "/absolute/path/to/text2image", "run", "text2image.py"]
# codex mcp add zcmmmm -- uv --directory /absolute/path/to/text2image run text2image.py~/.cursor/mcp.json
{
"mcpServers": {
"zcmmmm": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/text2image",
"run",
"text2image.py"
]
}
}
}.vscode/mcp.json
{
"servers": {
"zcmmmm": {
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/text2image",
"run",
"text2image.py"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"zcmmmm": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/text2image",
"run",
"text2image.py"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"zcmmmm": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/text2image",
"run",
"text2image.py"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"zcmmmm": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/text2image",
"run",
"text2image.py"
]
}
}
}