Agent for interacting with Postiz Public API
Project description
Postiz Agent - A2A | AG-UI | MCP
Version: 0.2.3
Overview
Postiz Agent MCP Server + A2A Agent
Agent for interacting with Postiz Public API
This repository is actively maintained - Contributions are welcome!
MCP
Using as an MCP Server
The MCP Server can be run in two modes: stdio (for local testing) or http (for networked access).
Environment Variables
POSTIZ_URL: The URL of the target service.POSTIZ_TOKEN: The API token or access token.
Run in stdio mode (default):
export POSTIZ_URL="http://localhost:8080"
export POSTIZ_TOKEN="your_token"
postiz-mcp --transport "stdio"
Run in HTTP mode:
export POSTIZ_URL="http://localhost:8080"
export POSTIZ_TOKEN="your_token"
postiz-mcp --transport "http" --host "0.0.0.0" --port "8000"
A2A Agent
Run A2A Server
export POSTIZ_URL="http://localhost:8080"
export POSTIZ_TOKEN="your_token"
postiz-agent --provider openai --model-id gpt-4o --api-key sk-...
Docker
Build
docker build -t postiz-agent .
Run MCP Server
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:latest
Deploy with Docker Compose
services:
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
Configure mcp.json for AI Integration (e.g. Claude Desktop)
{
"mcpServers": {
"postiz": {
"command": "uv",
"args": [
"run",
"--with",
"postiz-agent",
"postiz-mcp"
],
"env": {
"POSTIZ_URL": "http://your-service:8080",
"POSTIZ_TOKEN": "your_token"
}
}
}
}
Install Python Package
python -m pip install postiz-agent
uv pip install postiz-agent
Repository Owners
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file postiz_agent-0.2.3.tar.gz.
File metadata
- Download URL: postiz_agent-0.2.3.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
971cfccf52d59d305973eff4698384ff235811830c551033d167242562dd6d02
|
|
| MD5 |
6d987b951df820cfdb0e03b0fe08cbb0
|
|
| BLAKE2b-256 |
0dfe3bc409c2819d92be7a6b1d99e370b9295876a162e4d8fdd2ec543de08547
|
File details
Details for the file postiz_agent-0.2.3-py3-none-any.whl.
File metadata
- Download URL: postiz_agent-0.2.3-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e0ce6ad9e25523597716f4c6be753b4358e398660c937155134fce88fa2f770
|
|
| MD5 |
e74cba0e4ece3aaf4612583f302ebdda
|
|
| BLAKE2b-256 |
9577dd977d9f08dced232cf53bc76f9eb13d5b0b519f18b45b7b45847e8cb582
|