1. Homepage landing
- Read the current homepage template
- Set up a menu with anchor links
- Upload CSS and JS
- Apply the template edits (a safety copy is saved automatically)
Manage a uCoz site with AI: templates, materials, shop, users, and files
MCP connects the AI in your editor to your uCoz site.
Instead of working only in the control panel, you write normally: βupdate the headerβ, βadd a news postβ, βcreate a product with sizesβ.
The ucoz-mcp server exposes ten tools: template and page editing, publishing materials, online shop, subscriptions, users, FTP, and official skills.
npx ucoz-mcp@latest.
Below are MCP capabilities in plain language; exact parameters are visible to the AI in Cursor, Claude, or ChatGPT (Codex).
Update site HTML templates in pieces: edit blocks, validate code, keep an automatic backup before save, and roll back quickly.
Build a shared design skeleton and publish it to every template at once β header, footer, module pages, and global blocks.
Create and edit news, blog posts, articles, listings, photos, and videos; manage categories, comments, and the forum.
Create categories and products, size and color variants, stock, basket, checkout, order statuses, and customer balance.
Set up plans, grant or cancel access, track payments, and check whether paid content is open to a specific user.
Register and edit accounts, access groups, permissions, ranks, and extra profile fields.
Upload and update CSS, JavaScript, and images, create folders, and change the FTP password without opening the panel by hand.
Install the uCoz modules you need, enable module API access, and unlock indexing quarantine after launch.
Pick a scenario from the uCoz catalog β landing, shop, translation, and more β install it in your editor and follow the guide.
When details are missing, the AI finds the right section in the official OpenAPI docs on api.ucoz.net.
Create navigation, contact forms with email templates, and standalone pages β with the site design or a personal template.
Connect your uCoz site from Cursor, Claude Desktop, ChatGPT (Codex), Google Antigravity, and other MCP-capable apps.
The MCP server runs via npx.
node -v and npx -vControl panel β Site β uAPI.
Required for file actions in ftp_tool.
ftp_password_set / ftp_password_changemcp.json:
project β .cursor/mcp.json, global β ~/.cursor/mcp.json.{
"mcpServers": {
"ucoz-mcp": {
"command": "npx",
"args": ["-y", "ucoz-mcp@latest"],
"env": {
"UCOZ_API_TOKEN": "YOUR_UCOZ_API_TOKEN",
"UCOZ_SITE_URL": "https://your-site.ucoz.net/",
"UCOZ_FTP_HOST": "your-site.ucoz.net",
"UCOZ_FTP_USER": "your-ftp-login",
"UCOZ_FTP_PASS": "your-ftp-password"
}
}
}
}
Optional: UCOZ_WORKSPACE β project root for skill installs. Save and restart MCP in Cursor.
MCP is configured in Codex CLI / the ChatGPT agent via ~/.codex/config.toml (or project .codex/config.toml). Format is TOML, not JSON.
codex mcp add ucoz-mcp --env UCOZ_API_TOKEN=β¦ --env UCOZ_SITE_URL=β¦ --env UCOZ_FTP_HOST=β¦ --env UCOZ_FTP_USER=β¦ --env UCOZ_FTP_PASS=β¦ -- npx -y ucoz-mcp@latest[mcp_servers.ucoz-mcp]
command = "npx"
args = ["-y", "ucoz-mcp@latest"]
startup_timeout_sec = 20
[mcp_servers.ucoz-mcp.env]
UCOZ_API_TOKEN = "YOUR_UCOZ_API_TOKEN"
UCOZ_SITE_URL = "https://your-site.ucoz.net/"
UCOZ_FTP_HOST = "your-site.ucoz.net"
UCOZ_FTP_USER = "your-ftp-login"
UCOZ_FTP_PASS = "your-ftp-password"
Check with codex mcp list. Optionally add UCOZ_WORKSPACE under env.
~/.gemini/config/mcp_config.json, project β .agents/mcp_config.json.{
"mcpServers": {
"ucoz-mcp": {
"command": "npx",
"args": ["-y", "ucoz-mcp@latest"],
"env": {
"UCOZ_API_TOKEN": "YOUR_UCOZ_API_TOKEN",
"UCOZ_SITE_URL": "https://your-site.ucoz.net/",
"UCOZ_FTP_HOST": "your-site.ucoz.net",
"UCOZ_FTP_USER": "your-ftp-login",
"UCOZ_FTP_PASS": "your-ftp-password"
}
}
}
}
Save and refresh the MCP list. In Antigravity 2.0, servers also appear under Settings β Customizations β Installed MCP Servers.
Add the config to claude_desktop_config.json. Easiest: open it via Developer β Edit Config in the app.
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json (if MCP does not load, open the file via Edit Config in the app){
"mcpServers": {
"ucoz-mcp": {
"command": "npx",
"args": ["-y", "ucoz-mcp@latest"],
"env": {
"UCOZ_API_TOKEN": "YOUR_UCOZ_API_TOKEN",
"UCOZ_SITE_URL": "https://your-site.ucoz.net/",
"UCOZ_FTP_HOST": "your-site.ucoz.net",
"UCOZ_FTP_USER": "your-ftp-login",
"UCOZ_FTP_PASS": "your-ftp-password"
}
}
}
}
Save the file and fully restart Claude Desktop.
Ten tools for different jobs. Open a card for a short summary of each.
Names like templates_tool are for the AI; you mainly need the meaning.
templates_tool
Edit one template, menus, forms, and pages
tmaker_tool
Roll out a new design across the whole site
content_tool
News, blog, forum, photo, and other sections
shop_tool
Products, variants, stock, basket, and orders
subscriptions_tool
Paid plans, access, and payments
users_tool
Users, groups, and permissions
ftp_tool
Server files and the FTP password
modules_tool
Install a site module and open its API
skills_tool
Find and install a ready scenario from the catalog
docs_tool
Look up the official API documentation
templates_tool
One template at a time. A safety copy is made before saving. In templates you can output menus and forms: $NMENU_<ID>$, $SMENU_<ID>$, $MFORM_<ID>$.
| Action group | Covers |
|---|---|
list_modules, get_variables, read_template, patch_template, update_template, validate_template | Read/edit. For existing code use only patch_template; update_template is a full rewrite. Take variables from the API β do not invent them. |
list_backups, create_backup, delete_backup, restore_backup | Version history and rollback. |
gblock_create, gblock_delete | Global blocks. Delete needs gblock_id + confirm=true. |
menu_* | List, CRUD menus, and item tree (menu_update_items). |
mail_* | Forms, fields, email HTML template. |
page_* | Site pages; personal page_tmpl must include $POWERED_BY$. |
get_reference, get_guide, get_backup_guide | Built-in guides for the template language and backups. |
patch_template β surgical edits| Parameter | Description |
|---|---|
code_search | Exact fragment from read_template (byte-exact, exactly one match). |
code_paste | Replacement; "" deletes the fragment. Never remove or hide $POWERED_BY$. |
tmaker_tool
Whole-design level. One skeleton expands into every template. Requires Control Panel settings access.
| Actions | Meaning |
|---|---|
skeleton_guide, skeleton_rules | Start with service-block rules and allowed variables. |
designs_list, design_get, project_* | Stock designs and your skeleton snapshots. |
skeleton_validate, skeleton_archive | Validate without publishing; ZIP the skeleton. |
skeleton_publish | Publish to all templates. Only with confirm=true after βYes, I confirm.β; rejected without $POWERED_BY$. |
content_tool
Content of site modules. Pick a module (news, blogβ¦), then an action: list, create, edit, and so on.
| Group | Typical actions |
|---|---|
| Entries | list, get, add, update, delete, fields, tags, rate |
| Categories / albums / channels | category_*, album_list, channel_*, channel_category_* |
| Comments and filters | comments_*, comments_all, filter_*, smiles |
| Forum | section_*, topic_*, post_*, poll_* |
shop_tool
Online shop: catalog, variations, option stock, basket, checkout, orders, balance.
| Group | Typical actions |
|---|---|
| Catalog | category_*, list/get/add/update/delete/hide, img_* |
| Variations | variation_dict β variation_gen (fields with var_*, confirm) β variations_list / variation_* |
| Stock / basket | stock_*, basket_*, checkout_* |
| Orders and balance | invoices_*, order_*, currencies, balance_*, comments_* |
subscriptions_tool
Paid plans and access. Admin actions need Control Panel settings access.
| Group | Typical actions |
|---|---|
| Plans | plans_*, legacy_item* |
| Subscriptions | subscription_*, user_subscriptions, subscribers_list, access_check |
| Payments | payments_*, payment_* (incl. confirm / refund with confirm=true) |
users_tool
Site users, groups and rights, ranks, profile fields.
| Group | Typical actions |
|---|---|
| Users | list, get, add, register, update, delete, chlogin, chgroup, chpass |
| Groups | groups / groups_list, group_add/update/delete, groups_rights, group_permissions |
| Dictionaries | ranks, fields |
ftp_tool
Files via FTP env credentials; FTP password via uAPI (needs CP access).
| Action | What it does | Key params |
|---|---|---|
list / mkdir / delete | Listing, mkdir, delete | path; delete also needs confirm |
read / write | Read/write a text file | filepath; write also needs content |
rename | Rename / move | source, destination |
upload | Local file β FTP | local_path, remote_path |
ftp_password_get | FTP settings without password | β |
ftp_password_set / change | Set or change password | ftp_password |
ftp_password_reset | Reset password | confirm=true |
modules_tool
Install and remove site modules, enable uAPI, and manage indexing quarantine. Most actions need Control Panel access.
| Action | What it does |
|---|---|
modules_list / module_status / active_mods | Catalog and statuses |
module_install / module_uninstall | Install / uninstall (confirm on uninstall) |
module_enable_uapi / module_disable_uapi | Toggle module uAPI methods |
quarantine_status / quarantine_unlock | Indexing quarantine; unlock with confirm |
skills_tool
Ready scenarios from the uCoz catalog: the AI finds a match, installs it in your editor, and follows the guide.
| Action | In plain words |
|---|---|
resolve | Suggests which skill fits your request |
catalog | Lists official skills |
status | Checks whether the skill is already installed |
install | Installs it into Cursor, Claude, ChatGPT (Codex), etc. |
register_usage | Marks that the skill ran successfully on the site (usually done by the skill itself) |
docs_tool
If the AI needs more detail, it can search the official API docs on api.ucoz.net.
| Action | Why |
|---|---|
search | Find a docs section by keywords |
list | Modules that have documentation |
fetch_spec | Open a specific module docs file |