@content-island/mcp
v0.1.10
Published
Content Island - MCP (Model Context Protocol) server
Readme
@content-island/mcp
Content Island MCP
A Model Context Protocol (MCP) server that enables seamless integration between modern web frameworks and Content Island headless CMS. This server empowers LLMs to scaffold, configure, and build web applications using frameworks like Astro, Next.js, Nuxt, and others while automatically integrating with Content Island's content management capabilities.
Key Features
- Modern framework support. Scaffold projects with Astro, Next.js, Nuxt, SvelteKit, and other popular frameworks.
- Headless CMS integration. Seamlessly connect to your Content Island project, retrieve content models, and configure data fetching.
- Content-driven development. Generate components, pages, and data fetching logic based on your Content Island schema.
- Type-safe integration. Generate TypeScript types from your Content Island content models.
- Zero-config setup. Streamlined project initialization with pre-configured build tools and settings.
- LLM-optimized workflow. Purpose-built for AI-assisted development with clear, structured commands.
Requirements
- Node.js 18 or newer
- VS Code, Cursor, Windsurf, Claude Desktop or any other MCP client
Getting started
First, install the Content Island MCP server with your client. A typical configuration looks like this:
{
"mcpServers": {
"contentIsland": {
"command": "npx",
"args": [
"@content-island/mcp@latest"
],
"env": {
"CONTENT_ISLAND_ACCESS_TOKEN": "<YOUR_CONTENT_ISLAND_ACCESS_TOKEN>"
}
}
}
}Note: Replace
<YOUR_CONTENT_ISLAND_ACCESS_TOKEN>with your actual Content Island project token. You can get it from the Content Island account.
You can also install the Content Island MCP server using the VS Code CLI:
# For VS Code
code --add-mcp '{"name":"contentIsland","command":"npx","args":["@content-island/mcp@latest"],"env": {"CONTENT_ISLAND_ACCESS_TOKEN":"<YOUR_CONTENT_ISLAND_ACCESS_TOKEN>"}}'Note: Replace
<YOUR_CONTENT_ISLAND_ACCESS_TOKEN>with your actual Content Island project token. You can get it from the Content Island account.
After installation, the Content Island MCP server will be available for use with your GitHub Copilot agent in VS Code.
Click the button to install:
Or install manually:
Go to Cursor Settings -> MCP -> Add new MCP Server. Name to your liking, use command type with the command npx @content-island/mcp@latest. You can also verify config or add command like arguments via clicking Edit.
{
"mcpServers": {
"contentIsland": {
"command": "npx",
"args": ["@content-island/mcp@latest"],
"env": {
"CONTENT_ISLAND_ACCESS_TOKEN": "<YOUR_CONTENT_ISLAND_ACCESS_TOKEN>"
}
}
}
}Note: Replace
<YOUR_CONTENT_ISLAND_ACCESS_TOKEN>with your actual Content Island project token. You can get it from the Content Island account.
Follow Windsurf MCP documentation. Use following configuration:
{
"mcpServers": {
"contentIsland": {
"command": "npx",
"args": ["@content-island/mcp@latest"],
"env": {
"CONTENT_ISLAND_ACCESS_TOKEN": "<YOUR_CONTENT_ISLAND_ACCESS_TOKEN>"
}
}
}
}Note: Replace
<YOUR_CONTENT_ISLAND_ACCESS_TOKEN>with your actual Content Island project token. You can get it from the Content Island account.
Follow the MCP install guide, use following configuration:
{
"mcpServers": {
"contentIsland": {
"command": "npx",
"args": ["@content-island/mcp@latest"],
"env": {
"CONTENT_ISLAND_ACCESS_TOKEN": "<YOUR_CONTENT_ISLAND_ACCESS_TOKEN>"
}
}
}
}Note: Replace
<YOUR_CONTENT_ISLAND_ACCESS_TOKEN>with your actual Content Island project token. You can get it from the Content Island account.
Environment Variables
You can configure the MCP server using environment variables. The following variables are available:
| name | required | description |
| -------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| CONTENT_ISLAND_ACCESS_TOKEN | true | Your project’s access token.You can find this token in the General tab. |
| CONTENT_ISLAND_DOMAIN | false | Domain used for requests. Useful if you're using Content Island On Premise.Default: api.contentisland.net |
| CONTENT_ISLAND_SECURE_PROTOCOL | false | Whether to use HTTPS for requests.Default: true (use HTTPS) |
| CONTENT_ISLAND_API_VERSION | false | Version of the REST API.Default: 1.0 |
