Skip to main content
Glama
cosmicjs

Cosmic MCP Server

Official
by cosmicjs

cosmic_types_create

Create custom content types with structured schemas in Cosmic CMS. Define metafields to organize and manage content effectively.

Instructions

Create a new object type with a custom schema. Define metafields to structure your content. Requires write access.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesObject type title (plural form, e.g., "Blog Posts")
slugYesObject type slug (URL-friendly identifier, e.g., "blog-posts")
singularNoSingular form of the title (e.g., "Blog Post")
metafieldsNoArray of metafield definitions
optionsNoObject type options

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cosmicjs/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server