Version: 0.2.0
Postiz Agent MCP Server + A2A Agent
Agent for interacting with Postiz Public API
This repository is actively maintained - Contributions are welcome!
The MCP Server can be run in two modes: stdio (for local testing) or http (for networked access).
POSTIZ_URL: The URL of the target service.POSTIZ_TOKEN: The API token or access token.
export POSTIZ_URL="http://localhost:8080"
export POSTIZ_TOKEN="your_token"
postiz-mcp --transport "stdio"export POSTIZ_URL="http://localhost:8080"
export POSTIZ_TOKEN="your_token"
postiz-mcp --transport "http" --host "0.0.0.0" --port "8000"export POSTIZ_URL="http://localhost:8080"
export POSTIZ_TOKEN="your_token"
postiz-agent --provider openai --model-id gpt-4o --api-key sk-...docker build -t postiz-agent .docker run -d \
--name postiz-agent \
-p 8000:8000 \
-e TRANSPORT=http \
-e POSTIZ_URL="http://your-service:8080" \
-e POSTIZ_TOKEN="your_token" \
knucklessg1/postiz-agent:latestservices:
postiz-agent:
image: knucklessg1/postiz-agent:latest
environment:
- HOST=0.0.0.0
- PORT=8000
- TRANSPORT=http
- POSTIZ_URL=http://your-service:8080
- POSTIZ_TOKEN=your_token
ports:
- 8000:8000{
"mcpServers": {
"postiz": {
"command": "uv",
"args": [
"run",
"--with",
"postiz-agent",
"postiz-mcp"
],
"env": {
"POSTIZ_URL": "http://your-service:8080",
"POSTIZ_TOKEN": "your_token"
}
}
}
}python -m pip install postiz-agentuv pip install postiz-agent