MCP tools

SeedPage is an MCP server: an AI agent you already use (Claude, Codex, Gemini, Antigravity and others) can read and change your sites from its own chat, with the same rules as the editor. Turn it on in the console’s AI section, which makes a key and shows the configuration to paste into each agent. It answers only on this computer, only while SeedPage runs and only while it is on.

How agents connect

Way

What to configure

By command

node src/mcp-bridge.js with SEEDPAGE_HOME set to SeedPage’s home folder. The bridge reads the port and the key each time, so a new key needs no new configuration.

By address

POST to /seedpage/mcp on this computer’s address and SeedPage’s port, with the key as Authorization: Bearer <key> (Streamable HTTP, JSON answers). A request from a web page is refused.

The tools

Every tool but list_sites takes the site’s name. Tools that delete tell the agent to ask you first; every change is kept in the site’s history.

Tool

Kind

What it does

list_sites

Reads

Lists the sites in SeedPage by name.

get_site

Reads

A site's outline: languages, breakpoints, pages (address, title, template, language), pages not translated yet, templates with the components each container allows, the components with their fields and variants, fragments, tags and image assets. Also the content types (fields with their types, the pages their items go under) and their items (id, title, type, group folder, language, page address).

get_page

Reads

A page (or fragment:<key>): its title, template, properties, layout, and its containers with their components (id, type, variants, fields, items, options).

create_page

Changes

Creates a page under another, with a template and a title.

translate_page

Changes

Makes the page in another language at the same place of its tree, as a copy to translate there. The page above it must exist in that language.

insert_component

Changes

Puts a component into a container of a page at a position, with its fields; without fields it gets its example content.

update_component

Changes

Changes a component's fields, items, options or variants; what is not sent keeps its value.

update_text

Changes

Changes a text between components (its id from get_page), written whole: a line per paragraph, "# " and "## " headings, "- " bullets.

move_component

Changes

Moves a component to a position of a container of the same page.

set_layout

Changes

Sets how many of the 12 columns a component takes per screen size.

set_properties

Changes

Changes a page's properties (description, tags, template, navigation and so on).

get_template

Reads

A template's structure (its containers and fixed components, with id, type, editable, policy, variants) and layout.

move_page

Changes

Moves or renames a page: it goes under another page with a new name. Not for a page with pages under it.

set_site_settings

Changes

Changes the site's settings (name, domain, languages, theme, logo, title template, default sharing image, container mode, home page).

save_tag

Changes

Adds a tag or changes its title and its titles per language.

save_policy

Changes

Creates or changes a policy: the list of components a container with it takes. Set it on a template's container with set_template_container.

create_fragment

Changes

Creates an empty fragment (a piece of content reused on pages, like a footer); fill it as a page with the address fragment:<key>.

set_template_container

Changes

Sets which components a container of a template allows (by an existing policy from get_site) or its variants.

set_template_layout

Changes

Sets how many of the 12 columns a component of a template takes per screen size.

get_item

Reads

A content item (an event, a news story...): its type, group folder, language, page address and its values by field name.

create_item

Changes

Creates an item of a content type in a group folder, with its values; its page appears under the type's parent page at the next build. Values are checked against the type.

update_item

Changes

Changes an item's values; the fields not sent keep theirs. Values are checked against the type.

translate_item

Changes

Makes the item in another language of the site, as a copy to translate there with update_item.

move_item

Changes

Moves an item to another group folder of its type (e.g. from 2026 to 2027). Its address stays.

remove_component

Deletes

Removes a component from a page. Destructive: ask the person first.

delete_page

Deletes

Moves a page and its settings to the trash (Google Drive's, or the site folder's). Destructive: ask the person first.

delete_item

Deletes

Moves an item to the trash; its page leaves the site at the next build. Destructive: ask the person first.

delete_tag

Deletes

Removes a tag and the tags under it from the site's list; pages keep naming it. Destructive: ask the person first.

list_sites

Lists the sites in SeedPage by name.

get_site

A site's outline: languages, breakpoints, pages (address, title, template, language), pages not translated yet, templates with the components each container allows, the components with their fields and variants, fragments, tags and image assets. Also the content types (fields with their types, the pages their items go under) and their items (id, title, type, group folder, language, page address).

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

get_page

A page (or fragment:<key>): its title, template, properties, layout, and its containers with their components (id, type, variants, fields, items, options).

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

address

string

Yes

A page address, e.g. /en/about/, or fragment:<key> for a fragment

create_page

Creates a page under another, with a template and a title.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

parent

string

Yes

The address of the page it goes under

name

string

Yes

Its name, which makes its address

template

string

Yes

A template name from get_site

title

string

No

Its title (Heading 1)

translate_page

Makes the page in another language at the same place of its tree, as a copy to translate there. The page above it must exist in that language.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

address

string

Yes

A page address, e.g. /en/about/, or fragment:<key> for a fragment

language

string

Yes

The language tag to make it in, e.g. es

insert_component

Puts a component into a container of a page at a position, with its fields; without fields it gets its example content.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

address

string

Yes

A page address, e.g. /en/about/, or fragment:<key> for a fragment

container

string

Yes

A container of the page

index

integer

No

Its position in the container, 0 first (default)

type

string

Yes

A component name from get_site

variants

list of string

No

Variant names of the component, from get_site; an empty list for none

fields

object

No

Field values by name. Text: lines, with "# " headings, "- " bullets, **bold** or [text](url) per whole line. Link: { text, href } or a page address. Image: { asset: "<asset path>" }.

items

list of object

No

The repeated items of a list component, each an object of its item fields

options

object

No

Option values by name

update_component

Changes a component's fields, items, options or variants; what is not sent keeps its value.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

address

string

Yes

A page address, e.g. /en/about/, or fragment:<key> for a fragment

id

string

Yes

The component's id, from get_page

variants

list of string

No

Variant names of the component, from get_site; an empty list for none

fields

object

No

Field values by name. Text: lines, with "# " headings, "- " bullets, **bold** or [text](url) per whole line. Link: { text, href } or a page address. Image: { asset: "<asset path>" }.

items

list of object

No

The repeated items of a list component, each an object of its item fields

options

object

No

Option values by name

update_text

Changes a text between components (its id from get_page), written whole: a line per paragraph, "# " and "## " headings, "- " bullets.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

address

string

Yes

A page address, e.g. /en/about/, or fragment:<key> for a fragment

id

string

Yes

The text's id, from get_page

text

string

Yes

The whole text: a line per paragraph; "# ", "## " headings, "- " bullets, **bold** or [text](url) per whole line

move_component

Moves a component to a position of a container of the same page.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

address

string

Yes

A page address, e.g. /en/about/, or fragment:<key> for a fragment

id

string

Yes

The component's id

container

string

Yes

The container it goes into

index

integer

No

Its position in that container, 0 first (default)

set_layout

Sets how many of the 12 columns a component takes per screen size.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

address

string

Yes

A page address, e.g. /en/about/, or fragment:<key> for a fragment

id

string

Yes

The component's id

spans

object

Yes

Columns (1-12) per screen size, by breakpoint name from get_site, e.g. { "md": 6 }

set_properties

Changes a page's properties (description, tags, template, navigation and so on).

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

address

string

Yes

A page address, e.g. /en/about/, or fragment:<key> for a fragment

values

object

Yes

Property values by key (title, description, tags, template, ...); an empty value removes the key

get_template

A template's structure (its containers and fixed components, with id, type, editable, policy, variants) and layout.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

name

string

Yes

A template name from get_site

move_page

Moves or renames a page: it goes under another page with a new name. Not for a page with pages under it.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

address

string

Yes

A page address, e.g. /en/about/, or fragment:<key> for a fragment

parent

string

Yes

The address of the page it goes under

name

string

Yes

Its new name, which makes its address

set_site_settings

Changes the site's settings (name, domain, languages, theme, logo, title template, default sharing image, container mode, home page).

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

values

object

Yes

Site settings by key (name, domain, default_language, other_languages, theme, logo, title_template, default_og_image, container_mode, home_page); an empty value goes back to the default

save_tag

Adds a tag or changes its title and its titles per language.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

key

string

Yes

The tag's slug, e.g. hiking or region/peru

title

string

No

Its title

titles

object

No

Its title per language tag, e.g. { "pt-BR": "Trilhas" }

created

boolean

No

true for a new tag: refused when it exists

save_policy

Creates or changes a policy: the list of components a container with it takes. Set it on a template's container with set_template_container.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

name

string

Yes

The policy's name; one with this name is replaced

allowed

list of string

Yes

The component names a container with this policy takes

create_fragment

Creates an empty fragment (a piece of content reused on pages, like a footer); fill it as a page with the address fragment:<key>.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

folder

string

No

A folder of fragments, empty for the top

name

string

Yes

Its name, which makes its key

set_template_container

Sets which components a container of a template allows (by an existing policy from get_site) or its variants.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

name

string

Yes

A template name from get_site

container

string

Yes

One of its editable containers

policy

string

No

A policy name from get_site (the components it allows); empty: any component

variants

list of string

No

Variant names of the component, from get_site; an empty list for none

set_template_layout

Sets how many of the 12 columns a component of a template takes per screen size.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

name

string

Yes

A template name

id

string

Yes

A component of its structure

spans

object

Yes

Columns (1-12) per breakpoint name

get_item

A content item (an event, a news story...): its type, group folder, language, page address and its values by field name.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

id

string

Yes

An item's id, from get_site

create_item

Creates an item of a content type in a group folder, with its values; its page appears under the type's parent page at the next build. Values are checked against the type.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

model

string

Yes

A content type name from get_site

name

string

Yes

Its name, which makes its address

folder

string

No

A group folder of the type, e.g. 2027, empty for the top

language

string

No

The language tag it is written in (sites with several languages); the main one by default

values

object

No

Field values by name. Text, date (YYYY-MM-DD), datetime (YYYY-MM-DDTHH:MM), number, yes/no, choice: text. Tags: a list. Rich text: lines, with "# " headings, "- " bullets, **bold** or [text](url) per whole line. Link: { text, href } or an address. Picture: { asset: "<asset path>" }. A field left out keeps its value.

update_item

Changes an item's values; the fields not sent keep theirs. Values are checked against the type.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

id

string

Yes

An item's id, from get_site

values

object

Yes

Field values by name. Text, date (YYYY-MM-DD), datetime (YYYY-MM-DDTHH:MM), number, yes/no, choice: text. Tags: a list. Rich text: lines, with "# " headings, "- " bullets, **bold** or [text](url) per whole line. Link: { text, href } or an address. Picture: { asset: "<asset path>" }. A field left out keeps its value.

translate_item

Makes the item in another language of the site, as a copy to translate there with update_item.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

id

string

Yes

An item's id

language

string

Yes

The language tag to make it in, e.g. pt-BR

move_item

Moves an item to another group folder of its type (e.g. from 2026 to 2027). Its address stays.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

id

string

Yes

An item's id

folder

string

Yes

The group folder it goes to, empty for the top

remove_component

Removes a component from a page. Destructive: ask the person first.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

address

string

Yes

A page address, e.g. /en/about/, or fragment:<key> for a fragment

id

string

Yes

The component's id

delete_page

Moves a page and its settings to the trash (Google Drive's, or the site folder's). Destructive: ask the person first.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

address

string

Yes

A page address, e.g. /en/about/, or fragment:<key> for a fragment

delete_item

Moves an item to the trash; its page leaves the site at the next build. Destructive: ask the person first.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

id

string

Yes

An item's id

delete_tag

Removes a tag and the tags under it from the site's list; pages keep naming it. Destructive: ask the person first.

Argument

Type

Required

What it is

site

string

Yes

The site's name, from list_sites

key

string

Yes

The tag's slug; the tags under it go too

Refusals

When SeedPage refuses a call, the agent is told why and what to do, with a code:

Code

What the agent is told

unknown_policy

There is no policy with that name; get_site lists the policies and the components each allows.

failed

SeedPage could not do it:

signed_out

Google no longer accepts SeedPage's sign-in. Ask the person to sign in again in SeedPage's list of sites.

unknown_site

There is no site with that name; call list_sites.

not_found

That page, component or container is not there; read the site or the page again.

not_allowed

That container does not allow this component; get_site lists what each container allows.

exists

There is already a page at that address.

has_children

That page has pages under it: move or delete them first.

missing_parent

The page above it does not exist yet: create or translate that one first.

invalid_name

A page name needs letters or digits.

unknown_component

There is no such component on this site; get_site lists them.

read_only

This site can be read but not written by SeedPage.

invalid_setting

That property cannot take this value.

unknown_field

The component has no field or option with that name; get_site lists its fields.

unknown_asset

There is no image asset at that path; get_site lists them.

invalid_value

That value cannot go in this field: send text, { text, href } or { asset }.

invalid_span

A span is a whole number from 1 to 12, by a breakpoint name from get_site.

not_a_component

That is text between components: change it with update_text, not with the component tools.

item_missing_required

A required field of the item is empty; get_site lists the type's fields.

invalid_item_value

A value does not fit its field: dates as YYYY-MM-DD, date and time as YYYY-MM-DDTHH:MM, numbers as digits, yes/no, a choice from the field's options, another item by its name (get_site lists the items).