mcp-server

v1.0.3
@gslider/mcp-server Checked 15 hours ago Published 22 days ago

Official Model Context Protocol (MCP) server for GSlider Blocks — AI-assisted Gutenberg slider & carousel generation and design

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

gslider_ping

Health check tool to verify GSlider MCP server connection and version.

gslider_list_blocks

Lists all available GSlider Gutenberg blocks with their slugs, titles, categories, and supported features.

gslider_get_block_schema

Retrieves the complete attribute schema, real defaults, slide structure, and allowed options for a specific GSlider block.

ParameterTypeDescription
blockSlug *stringSlug of the GSlider block (e.g. image-slider, testimonial, logo-carousel, flexi-content, flexi-content-item, base)

gslider_generate_block

Generates paste-ready Gutenberg markup for a GSlider block. The markup is produced by the block's own save function and checked with validateBlock before it is returned. Flexi Content slides are child flexi-content-item blocks.

ParameterTypeDescription
blockSlug *stringBlock to generate: base, testimonial, image-slider, logo-carousel, or flexi-content.
slides *arrayOne object per slide. Fields must belong to the chosen block.
attributesobjectRaw attribute overrides by their real attribute names. These win over layout. Unknown names are rejected.
layoutobjectHigh-level layout: mode, effect, columns, gap, speed, autoplay, loop, navigation, pagination.

gslider_validate_block

Checks GSlider markup or attributes. Reports unknown keys, wrong types, disallowed effects, a bad blockId, and whether the markup passes validateBlock. A blockStyle that the editor would rewrite is a warning.

ParameterTypeDescription
attributesobjectAttribute object to check, required when markup is omitted.
blockSlugstringBlock slug, required when markup is omitted.
markupstringA block comment to parse and validate. Use this or blockSlug plus attributes.