CLI and MCP server for Voog CMS — Liquid templates, pages, products, ecommerce
Project description
voog-mcp
CLI and MCP server for Voog CMS — manage Liquid templates, pages, products, ecommerce settings, and redirects from your terminal or directly from Claude / any MCP client.
What is Voog?
Voog is a multilingual website builder and CMS with built-in ecommerce, used for content sites and small online stores. This package wraps its admin API so you can edit templates, pages, products, and redirects from your shell or an LLM agent.
Install
From PyPI:
pip install voog-mcp
# or, no install: uvx voog-mcp --help
Or directly from GitHub (latest unreleased main):
uvx --from git+https://github.com/runnel/voog-mcp.git voog --help
For development:
git clone https://github.com/runnel/voog-mcp
cd voog-mcp
python3.10 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
Configure
Run voog config init to interactively create the global config:
voog config init
This creates ~/.config/voog/voog.json with your tokens inline:
{
"sites": {
"mysite": {"host": "mysite.com", "api_key": "vk_..."},
"client_a": {"host": "clienta.com", "api_key": "vk_..."}
},
"default_site": "mysite"
}
Get a token from your Voog admin: Admin → API.
Shared / CI configs
If voog.json is checked into version control or shared across machines, keep the token out of the file by referencing an env var instead:
{
"sites": {
"client_a": {"host": "clienta.com", "api_key_env": "CLIENT_A_KEY"}
}
}
Then put the token in ~/.config/voog/.env:
CLIENT_A_KEY=vk_...
Both forms can coexist per-site. When both api_key and api_key_env are set, the env-var wins if it's defined — so an inline value acts as a default that the deployment overrides.
Per-repo site selection
In a repo dedicated to one Voog site, drop a voog.json at the repo root to pin the site:
{"default_site": "mysite"}
The cwd-level voog.json deep-merges over the home config, with cwd winning per-key. Inside sites, the merge is per-site name — a cwd entry replaces the whole site definition (host + token), it does not merge individual fields. You can also redefine entire sites here (handy for client repos that should bring their own host/token without touching the home config):
{
"sites": {
"client_x": {"host": "clientx.com", "api_key": "vk_..."}
},
"default_site": "client_x"
}
Now voog pull / voog push from that directory always target the right site, even if the home default differs.
Note:
voog-site.jsonfrom earlier versions still works but emits aDeprecationWarning. Replace it withvoog.jsoncontaining{"default_site": "<name>"}for the same effect.
Use the CLI
voog --help # all commands
voog --site mysite products # list products on mysite
voog pull # download templates (uses cwd-level voog.json)
voog push layouts/Front\ page.tpl
voog redirects
voog config check # verify all configured tokens
Use as MCP server
Add to your Claude Code config (or any MCP client):
{
"mcpServers": {
"voog": {
"command": "uvx",
"args": ["--from", "git+https://github.com/runnel/voog-mcp.git", "voog-mcp"]
}
}
}
Every tool requires a site parameter. Start with voog_list_sites to discover what's configured:
voog_list_sites()
→ [{"name": "mysite", "host": "mysite.com"}, ...]
voog_get_page(site="mysite", page_id=42)
→ {...}
Tools
Full endpoint coverage reference: docs/voog-mcp-endpoint-coverage.md
| Group | Tools |
|---|---|
| Sites | voog_list_sites |
| Pages | pages_list, page_get, page_create, page_update, page_set_hidden, page_set_layout, page_set_data, page_delete_data, page_duplicate, page_delete |
| Articles | articles_list, article_get, article_create, article_update, article_publish, article_delete |
| Layouts | layouts_pull, layouts_push, layout_create, layout_update, layout_rename, layout_delete, layout_asset_create, layout_asset_update, layout_asset_delete, asset_replace |
| Texts / contents | text_get, text_update, page_add_content |
| Products | products_list, product_get, product_update, product_set_images |
| Ecommerce | ecommerce_settings_get, ecommerce_settings_update |
| Multilingual | languages_list, nodes_list, node_get |
| Redirects | redirects_list, redirect_add, redirect_update, redirect_delete |
| Site | site_get, site_update, site_set_data, site_delete_data |
| Snapshot | pages_snapshot, site_snapshot |
| Generic passthrough | voog_admin_api_call, voog_ecommerce_api_call |
What's NOT supported
voog-mcp covers the surface area needed to manage content and a small ecommerce catalog. The following Voog API areas are intentionally out of scope for now:
- Order management, cart, and discount data — only via generic passthrough
- Form definitions and form responses — only via generic passthrough
- People / site_user admin — only via generic passthrough
- Comments and visitor data
- Multipart uploads (favicons, product bulk imports) — only via generic passthrough
- Bulk operations (product update/delete, page batch operations) — only via generic passthrough
- Site creation (voog-mcp targets existing sites)
If you need any of these, open an issue — or a PR.
License
MIT
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 voog_mcp-1.2.2.tar.gz.
File metadata
- Download URL: voog_mcp-1.2.2.tar.gz
- Upload date:
- Size: 158.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0118c5817c68cd6725d87bfbb4147beb8875aa4f79b3cc3beb175d3ef7b4556
|
|
| MD5 |
f2dc1af9da51ae15ad7003ba2b547028
|
|
| BLAKE2b-256 |
e3f41a442605cc82008fa61c3a13aaef4c6ffdbf84eab8190f48b59f1be9926c
|
Provenance
The following attestation bundles were made for voog_mcp-1.2.2.tar.gz:
Publisher:
publish.yml on runnel/voog-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
voog_mcp-1.2.2.tar.gz -
Subject digest:
b0118c5817c68cd6725d87bfbb4147beb8875aa4f79b3cc3beb175d3ef7b4556 - Sigstore transparency entry: 1418020884
- Sigstore integration time:
-
Permalink:
runnel/voog-mcp@e3fecdfe87eda02087c9aa08310703a23be178da -
Branch / Tag:
refs/tags/v1.2.2 - Owner: https://github.com/runnel
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e3fecdfe87eda02087c9aa08310703a23be178da -
Trigger Event:
push
-
Statement type:
File details
Details for the file voog_mcp-1.2.2-py3-none-any.whl.
File metadata
- Download URL: voog_mcp-1.2.2-py3-none-any.whl
- Upload date:
- Size: 99.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db80b396382a4fe3e8bcaa46eeaf0799c737c2c83782886947fcab4141ec69a4
|
|
| MD5 |
a17abfb539b2f6ca6d232eb0eb212b34
|
|
| BLAKE2b-256 |
a7c805312df2c185f17e6fff45e3c757ae7c8ead4fc3c995d916c355e737ca4a
|
Provenance
The following attestation bundles were made for voog_mcp-1.2.2-py3-none-any.whl:
Publisher:
publish.yml on runnel/voog-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
voog_mcp-1.2.2-py3-none-any.whl -
Subject digest:
db80b396382a4fe3e8bcaa46eeaf0799c737c2c83782886947fcab4141ec69a4 - Sigstore transparency entry: 1418020888
- Sigstore integration time:
-
Permalink:
runnel/voog-mcp@e3fecdfe87eda02087c9aa08310703a23be178da -
Branch / Tag:
refs/tags/v1.2.2 - Owner: https://github.com/runnel
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e3fecdfe87eda02087c9aa08310703a23be178da -
Trigger Event:
push
-
Statement type: