DC

darekrossman/contentstack-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

2 stars 5 forks 质量 73 趋势 4MIT

用于与 Concesstack 内容管理 API 交互的 MCP 服务器

概览

这个模式上下文协议(MCP)服务器与Concesstack的内容管理API集成,使克洛德等AI助手能够通过一个标准化协议与你的Concerstack CMS互动. 这是MCP Server的早期版本. 即将进行的改进和计划的特点见路线图。 - 列出所有内容类型(URI:内容tack://content-types) - :按UID获取内容类型(URI:内容tack://content-type/{uid}) - :按内容类型获取条目(URI:内容tack://entris/{content-type uid}) - :获取特定条目(URI:内容tack://enry/{content-type uid}/{enter-uid}) - :列出所有资产(URI:内容tack://assets) - 创建、更新和删除内容类型 - 定义计划、选项、字段规则和分类 - 管理全局字段 - 创建、更新和删除条目 - 在环境中发布和删除条目 - 有过滤、页码和排序选项的查询条目 - 创建并更新全球字段,供跨...

概述(AI 翻译)

这个模式上下文协议(MCP)服务器与Concesstack的内容管理API集成,使克洛德等AI助手能够通过一个标准化协议与你的Concerstack CMS互动.

** 注:** 这是MCP Server的早期版本. 即将进行的改进和计划的特点见路线图。

□ 目录

  • 特征
  • 安装
  • 发展
  • 配置
  • 与人工智能助理的整合
  • 使用实例
  • 路线图
  • 执照

□ 特性

  • 可用资源
  • [[T0]**: 列出所有内容类型 (URI: contentstack://content-types)
  • [[T2]**: 按 UID 获取内容类型 (URI: contentstack://content-type/{uid})
  • [T4]: 按内容类型获取条目 (URI: contentstack://entries/{content_type_uid})
  • ** [[T6]**:获得具体条目(URI: [[T7])
  • ** [[T8]**: 列出所有资产(URI: contentstack://assets)

内容类型管理

  • 创建、更新和删除内容类型
  • 界定计划、选择、实地规则和分类
  • 管理全球领域

QQ 条目管理

  • 创建、更新和删除条目

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Contentstack MCP Server

This Model Context Protocol (MCP) server integrates with Contentstack’s Content Management API, enabling AI assistants like Claude to interact with your Contentstack CMS through a standardized protocol.

Note: This is an early version of Contentstack MCP Server. See the Roadmap for upcoming improvements and planned features.

Table of Contents

Features

Available Resources

  • content-types: List all content types (URI: contentstack://content-types)
  • content-type: Get content type by UID (URI: contentstack://content-type/{uid})
  • entries: Get entries by content type (URI: contentstack://entries/{content_type_uid})
  • entry: Get specific entry (URI: contentstack://entry/{content_type_uid}/{entry_uid})
  • assets: List all assets (URI: contentstack://assets)

Content Type Management

  • Create, update, and delete content types
  • Define schemas, options, field rules, and taxonomies
  • Manage global fields

Entry Management

  • Create, update, and delete entries
  • Publish and unpublish entries across environments
  • Query entries with filtering, pagination, and sorting options

Global Field Management

  • Create and update global fields for reuse across content types
  • Retrieve global fields with pagination options

Content Workflows

  • Guided content creation workflows
  • Content analysis and insights
  • Migration planning assistance

Installation

Prerequisites

  • Node.js (v16.0.0 or higher)
  • A Contentstack account
  • API credentials (API Key and Management Token)

NPM Installation

The easiest way to use this MCP server is via NPM:

# Install globally
npm install -g @drossman/contentstack-mcp

# Or use directly via npx
npx @drossman/contentstack-mcp

Manual Installation

  1. Clone the repository:

    git clone https://github.com/darekrossman/contentstack-mcp.git
    cd contentstack-mcp
    
  2. Install dependencies:

    npm install
    
  3. Set up environment variables:

    cp .env.example .env
    

    Edit the .env file with your Contentstack credentials:

    CONTENTSTACK_API_KEY=your_api_key_here
    CONTENTSTACK_MANAGEMENT_TOKEN=your_management_token_here
    # Optional: Specify branch if using branches
在 GitHub 查看完整 README

安装

npx -y @drossman/contentstack-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "contentstack": { "command": "npx", "args": ["-y", "@drossman/contentstack-mcp"], "env": { "CONTENTSTACK_API_KEY": "your_api_key_here", "CONTENTSTACK_MANAGEMENT_TOKEN": "your_management_token_here" } } } }