Cycloid

io.cycloid.mcp由 mcp.cycloid.io 发布官方发布者v1.0.1更新于 Oct 30, 2026

An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform

已验证Streamable HTTP可网页运行云端与基础设施开发者工具

概览

AI 生成的概览

面向 Cycloid 内部开发门户的远程 MCP 服务器,让助手浏览项目、环境、组件、蓝图、流水线与事件,并可从蓝图创建 stack。

可以做什么
  • 列出并查看项目、项目环境与组件,以及组织成员
  • 浏览蓝图与服务目录仓库,并从蓝图创建 stack
  • 校验 StackForms 配置文件并给出问题反馈
  • 列出流水线,以及组织级或项目级事件,可按动作、实体、严重级别或时间范围筛选
适用场景
适合团队在 Cycloid 上进行基础设施即代码与平台工程的场景:让助手查看项目、环境与组件,回顾近期事件与流水线,或基于蓝图搭建新的 stack。
运行要求
通过 streamable HTTP 连接 mcp.cycloid.io 远程端点,无需本地安装。每次请求需在 X-CY-API-KEY 头中提供 Cycloid API 密钥,并在 X-CY-ORG 头中提供组织规范名称。README 另列出 Python 3.12 与 Docker 用于自托管。
安装前请注意
API 密钥是敏感凭据,会随每次请求以请求头发送,应限制权限并避免写入日志。组织头决定租户,填错可能访问到其他组织的数据。从蓝图创建 stack 会写入 Cycloid 组织,并可能实际创建基础设施。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Cycloid,将其添加到工作区。
  2. 连接 Custom headers 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.cycloid.mcp%2Fserver/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "cycloid": {
      "type": "http",
      "url": "https://mcp.cycloid.io/mcp",
      "headers": {
        "X-CY-API-KEY": "<VALUE>",
        "X-CY-ORG": "<VALUE>"
      }
    }
  }
}

README

Cycloid MCP Server

[PR Quality Check]

A Model Context Protocol (MCP) server that provides seamless integration with the Cycloid platform, enabling AI assistants to interact with Cycloid's infrastructure management capabilities through natural language.

Overview

The Cycloid MCP Server bridges the gap between AI assistants and Cycloid's powerful infrastructure automation platform. It enables users to:

  • Discover and explore available blueprints and service catalogs
  • Create and manage infrastructure stacks using Cycloid's blueprints
  • Interact naturally with complex infrastructure workflows through AI assistants
  • Leverage Cycloid's expertise in infrastructure as code and automation

Available Tools

  • CYCLOID_BLUEPRINT_LIST: List all available blueprints with their details
  • CYCLOID_BLUEPRINT_STACK_CREATE: Create stacks from blueprints with interactive elicitation
  • CYCLOID_STACKFORMS_VALIDATE: Validate StackForms configuration files
  • CYCLOID_CATALOG_REPO_LIST: List service catalog repositories
  • CYCLOID_EVENT_LIST: List organization events with optional filters (begin, end, severity, type)
  • CYCLOID_PIPELINE_LIST: List all pipelines from Cycloid

Available Resources

  • cycloid://blueprints: Access to blueprint information
  • cycloid://service-catalogs-repositories: Access to service catalog repositories information
  • cycloid://events: Access to recent organization events as JSON
  • cycloid://pipelines: Access to pipeline information

Event Filters

  • begin/end: Unix timestamps (strings) delimiting the time window
  • severity: One or more of info, warn, err, crit
  • type: One or more of Cycloid, AWS, Monitoring, Custom

Architecture

The server uses a dynamic component registration system based on FastMCP's MCPMixin:

  • Automatic Discovery: Components are automatically discovered from src/components/
  • File-based Organization: Components are organized by feature (catalogs/, stacks/)
  • Standard Patterns: Each component follows the pattern *_tools.py, *_resources.py, *_handlers.py, *_prompts.py
  • MCPMixin Integration: Uses FastMCP's built-in register_all() method for proper tool/resource registration

HTTP Transport

The Cycloid MCP Server runs as a web service using HTTP transport. Organization and API key are provided via HTTP headers (X-CY-ORG and X-CY-API-KEY) for each request, enabling multi-tenant usage.

Usage: python server.py

Quick Start

Prerequisites

  • Python 3.12 or higher
  • uv package manager (recommended)
  • Docker (for production deployment)
  • Valid Cycloid API credentials

Development Setup

bash
# Clone and setupgit clone <repository-url>cd cycloid-mcp-servermake setup
# Run development servermake dev-server

Production Setup

Using Pre-built Docker Images

The project provides pre-built Docker images via Docker Hub:

bash
# Pull the latest imagedocker pull cycloid/cycloid-mcp-server:latest
# Run the serverdocker run -p 8010:8010 cycloid/cycloid-mcp-server:latest
Building Locally
bash
# Build Docker imagemake build
# Run production servermake prod-server

MCP Configuration

For detailed MCP server configuration examples, see mcp-examples.md.

Available Commands

bash
# Development Environmentmake setup          # Setup development environment with uvmake install        # Install dependenciesmake help           # Show all available commandsmake validate-env   # Validate local environment matches CI
# Development Servermake dev-server     # Run development server using Python virtual environment
# HTTP Serverpython server.py  # Run HTTP server
# Productionmake build          # Build Docker imagemake prod-server    # Run production server using Docker
# Testing and Qualitymake test           # Run all testsmake type-check     # Run pyright type checkingmake lint           # Run PEP 8 linting with flake8make format         # Format code with black and isortmake quality-check  # Run all quality checks (tests + type checking + linting)make simulate-ci    # Validate environment and run quality checks
# Cleanupmake clean          # Clean up development artifactsmake clean-docker   # Clean up Docker artifacts

Contributing

See CONTRIBUTING.md for detailed development guidelines.

License

This project is licensed under the MIT License - see the LICENSE file for details.

来源:README.md,提交 c9cd9e8

工具

13

CYCLOID_CATALOG_REPO_LIST

List all available service catalog repositories with their details. The LLM can filter the results based on user requirements.

无需输入参数。

CYCLOID_COMPONENT_GET

Get the state of one or more components in a project environment.

输入参数env必填project必填canonicals必填

CYCLOID_COMPONENT_LIST

List components in a project environment.

输入参数env必填project必填

CYCLOID_EVENT_LIST

List organization events with optional filters. To filter by WHAT HAPPENED, use `action` (e.g. create, update, delete, configure, pause, unpause) and/or `entity` (e.g. component, ci_build, ci_job, pipeline, credential) — these are matched case-insensitively against each event's actual `action`/`entity` tag VALUE (note: the entity is `ci_build`, not `build`). If a filter matches nothing while events exist, the response lists the available_actions/available_entities to retry with. `type` is ONLY the high-level category: Cycloid, AWS, Monitoring, Custom (do NOT pass an action/entity name as `type`). `severity` is one of: info, warn, err, crit. `begin`/`end` are Unix timestamps in SECONDS (strings); omit any filter to include all of its values. Returns full event payload including tags. Actor identity is in tags as {key: 'user', value: '<username>'}.

输入参数endtypebeginactionentityseverity

CYCLOID_PROJECT_EVENTS

List events scoped to a specific project's components. Walks project → envs → components, then filters org-wide events by project tag. Returns events, count, and a deduplicated actors list extracted from tags[key=user]. Actor usernames can be cross-referenced with CYCLOID_MEMBER_LIST to get numeric ids for building member URLs. Hard cap: aborts with a structured error if total components exceed the configured maximum (default 50). Use begin/end/severity/type/action/entity to narrow results. Filter by WHAT HAPPENED with `action` (e.g. create, update, delete, configure, pause, unpause) and/or `entity` (e.g. component, ci_build, ci_job, pipeline) — matched case-insensitively against each event's actual tag VALUE (the entity is `ci_build`, not `build`). If a filter matches nothing while events exist, the response lists available_actions/available_entities to retry with. `type` is ONLY the high-level category: Cycloid, AWS, Monitoring, Custom (do NOT pass an action/entity name as `type`). `severity` is one of: info, warn, err, crit.

输入参数endtypebeginactionentityproject必填severity

CYCLOID_MEMBER_LIST

List all members of the organization. Use this to look up a member's numeric `id` from their `username`. The `id` field is required to build member URLs: /organizations/<org>/members/<id>.

无需输入参数。

CYCLOID_PIPELINE_LIST

List all pipelines from Cycloid.

无需输入参数。

CYCLOID_PROJECT_GET

Get one or more projects by canonical.

输入参数canonicals必填

CYCLOID_PROJECT_LIST_ENV

List environments in a project.

输入参数project必填

CYCLOID_PROJECT_LIST

List all projects in the organization.

无需输入参数。

CYCLOID_STACKFORMS_VALIDATE

Validate a StackForms (.forms.yml) file using the Cycloid CLI. This tool can validate StackForms configuration and provide detailed feedback for fixing issues.

输入参数forms_content必填

CYCLOID_BLUEPRINT_STACK_CREATE

Create a new Cycloid stack from a blueprint. CRITICAL: When elicitation context (ctx) is provided, the tool will ALWAYS use interactive elicitation to ask for parameters one by one, REGARDLESS of any parameters provided. The LLM should ONLY provide the 'ref' parameter and let elicitation handle the rest. DO NOT provide name, use_case, or service_catalog_source_canonical when elicitation is available.

输入参数ref必填

CYCLOID_BLUEPRINT_LIST

List all available blueprints with their details. The LLM can filter the results based on user requirements.

无需输入参数。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分