Logo EventCatalog

EventCatalog

Tổ chức
event-catalog

MCP server for EventCatalog

Nhà phát hànhevent-catalog
Kho mãmcp-server
Ngôn ngữTypeScript
Bản fork
6
Sao
24
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    EventCatalog cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    24 sao và 6 bản fork từ kho mã được liên kết.

Read the Docs | View Demo

Why EventCatalog MCP Server?

EventCatalog is an Open Source tool that helps you document your event-driven architecture. Using EventCatalog you can document your domains, services and messages, schemas and much more.

Using the EventCatalog MCP Server you can get more value from your EventCatalog by asking questions about your architecture in the tools you already use.

Example questions:

  • What events do we have in our architecture?
  • Tell me more about the {service} service.
  • I want to create a new feature that will send emails when a user signs up, what events do we have in our architecture that are related to user signups?
  • Get me the schema for the event UserCreated in EventCatalog.
  • Here is a new version of the UserCreated schema, what downstream consumers will be affected by this change?

Rather then digging through your architecture to find the answers you need, you can ask the MCP server directly from your MCP Client.


EventCatalog MCP Features

  • 🤖 Connect to any MCP Client (Claude, Cursor, Windsurf, etc)
  • 🤖 Run MCP server locally on your machine with one command
  • 🤖 Connect to your EventCatalog instances
  • 🤖 Ask questions about your architectures
  • 🤖 Ask questions about your OpenAPI and AsyncAPI specifications
  • 🤖 Ask about domains, services and messages, and much more
  • 🤖 Get the schemas for events, queries, commands and services (OpenAPI, AsyncAPI, JSON Schema)
  • 🤖 Ask questions about ubiquitous language for any domain and their entities

Getting Started

Installation

First, you need to enable the LLMS.txt feature in your EventCatalog instance.

  1. Enable the LLMS.txt feature in your EventCatalog instance, by configuring your eventcatalog.config.js file.
  2. Deploy your EventCatalog instance with the LLMS.txt feature enabled.

Next, you will need to get a EventCatalog Scale license key, you can get a 14 day trial license key from EventCatalog Cloud.

Installing via Smithery

To install EventCatalog for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install @event-catalog/mcp-server --client claude

Running as a Docker Container

If you want to run the MCP server as a standalone Docker container (for example, to run it as an HTTP server), see the Docker Deployment Guide.

This is useful for:

  • Running the MCP server in production environments
  • Deploying as a containerized service
  • Running in HTTP mode for integration with multiple clients
  • Kubernetes, Docker Swarm, or other container orchestration platforms

Transport Modes

The EventCatalog MCP Server supports two transport modes:

STDIO Mode (Default)

  • Uses standard input/output for communication
  • Ideal for local development and MCP clients like Claude Desktop and Cursor
  • Started automatically when you add the server to your MCP client
  • No port exposure needed
  • Recommended for: Claude Desktop, Cursor, Windsurf, and other desktop MCP clients

HTTP Mode

  • Runs as an HTTP server on a specified port (default: 3000)
  • Ideal for production deployments and container environments
  • Allows multiple clients to connect to a single server instance
  • Includes health check endpoints for monitoring
  • Recommended for: Docker deployments, Kubernetes, production environments, and multi-client setups

To use HTTP mode, pass http as the transport parameter:

bash
npx -y @eventcatalog/mcp-server {URL} {LICENSE_KEY} http {PORT}

Or set the MCP_TRANSPORT environment variable to http (see Docker Deployment Guide for details).

Setup MCP Clients

Each MCP client has a different way of adding the MCP server.

You can find some helpful links below to get started.

Adding the MCP server to Claude Desktop

To use this with Claude Desktop, add the following to your claud_desktop_config.json file. The full path on MacOS: ~/Library/Application Support/Claude/claud_desktop_config.json, on Windows: %APPDATA%\Claude\claud_desktop_config.json

js
{
  "mcpServers": {
    "eventcatalog": {
      "command": "npx",
      "args": [
        "-y",
        "@eventcatalog/mcp-server",
        "https://demo.eventcatalog.dev", // Replace with your EventCatalog URL
        "ABCD-1234-5678-9012-3456-7890" // Replace with your EventCatalog Scale license key
      ]
    }
  }
}

Adding the MCP server to Cursor

Go to Cursor Settings -> MCP Servers -> Add MCP Server.

  • Name: eventcatalog
  • Command: npx
  • Args: -y @eventcatalog/mcp-server {URL_TO_YOUR_EVENTCATALOG_INSTANCE}

Configuration for your project

You can also create .mcp.json files in your project to configure the MCP server for your project using Cursor.

json
{
  "mcpServers": {
    "eventcatalog": {
      "command": "npx",
      "args": ["-y", "@eventcatalog/mcp-server", "https://demo.eventcatalog.dev", "ABCD-1234-5678-9012-3456-7890"]
    }
  }
}

You can read more about configuration for your project in the Cursor documentation.

API

Here is a list of all the APIs that the MCP server supports.

Tools

  • find_resources
    • Find resources that are available in EventCatalog including services, domains, events, commands, queries, flows, entities, channels, teams, users, and docs
    • Supports filtering by type and search terms
    • Includes pagination support with cursors
  • find_resource
    • Get more information about a service, domain, event, command, query, flow, entity, or channel in EventCatalog using its id and version
    • Returns complete resource details including specifications, owners, producers, and consumers
  • find_owners
    • Find owners (teams or users) for a domain, service, message, event, command, query, flow, or entity in EventCatalog
    • Returns detailed owner information with documentation links
  • find_producers_and_consumers
    • Get the producers (sends) and consumers (receives) for services in EventCatalog
    • Helps understand message flow and service dependencies
  • get_schema
    • Returns the schema for a service (e.g., OpenAPI, AsyncAPI, GraphQL), event, command, or query in EventCatalog
    • Supports all major schema formats
  • review_schema_changes
    • Reviews schema changes for breaking changes and suggests fixes
    • Compares old and new schemas to identify potential issues
    • Provides recommendations for handling breaking changes
  • explain_ubiquitous_language_terms
    • Explain ubiquitous language terms for a given domain
    • Returns definitions and context for domain-specific terminology
  • create_flow
    • Create a new flow in EventCatalog given a description of the business workflow
    • The tool will check all your resources in EventCatalog to find the best resources to match against the description
    • The flow will be created (markdown file) and can be visualized in EventCatalog
  • eventstorm_to_eventcatalog
    • Turn a photo of an EventStorm session into an EventCatalog
    • Automatically generates domains, services, events, commands, flows, and ubiquitous language terms
    • Creates proper folder structure and MDX files with frontmatter
  • create_eventcatalog
    • Create a new EventCatalog project from scratch
    • Generates all necessary configuration files (package.json, eventcatalog.config.ts)
    • Sets up the complete folder structure and initial documentation

Resources

Resources provide quick access to collections of data from your EventCatalog. They can be used to get context about your architecture.

  • eventcatalog://all
    • All resources in EventCatalog (messages, domains, services, flows, teams, users, etc.)
    • Use this for a complete overview of your architecture
  • eventcatalog://events
    • All events in EventCatalog
    • Includes event names, versions, and descriptions
  • eventcatalog://commands
    • All commands in EventCatalog
    • View all command messages in your system
  • eventcatalog://queries
    • All queries in EventCatalog
    • Access all query messages
  • eventcatalog://services
    • All services in EventCatalog
    • Complete list of services with their metadata
  • eventcatalog://domains
    • All domains in EventCatalog
    • View domain boundaries and subdomains
  • eventcatalog://flows
    • All flows (business processes) in EventCatalog
    • Access workflow definitions and state machines
  • eventcatalog://teams
    • All teams in EventCatalog
    • View team information and ownership
  • eventcatalog://users
    • All users in EventCatalog
    • Access user profiles and ownership information

Missing an API?

We are working on adding more APIs to the MCP server. If you need something specific, please open an issue and we will add it to the server.

Contributing

  1. Clone the repository
  2. Run npm install to install the dependencies
  3. Run npm run build

Running Tests

bash
npm test

To run tests with coverage:

bash
npm test:coverage

To use the build as your MCP server you can point your MCP client to the dist folder.

Example for Cursor:

json
{
  "mcpServers": {
    "eventcatalog": {
      "command": "npx",
      "args": ["-y", "tsx /PATH_TO_YOUR_REPO/src/index.ts",  "https://demo.eventcatalog.dev", "ABCD-1234-5678-9012-3456-7890"]
    }
  }
}

License

Usage of this feature is part of the EventCatalog Scale Plan

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "eventcatalog": {
      "command": "npx",
      "args": [
        "-y",
        "@eventcatalog/mcp-server",
        "https://demo.eventcatalog.dev",
        "ABCD-1234-5678-9012-3456-7890"
      ]
    }
  }
}

Dùng MCP EventCatalog với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối EventCatalog, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm EventCatalog làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của EventCatalog.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "eventcatalog": {
      "command": "npx",
      "args": [
        "-y",
        "@eventcatalog/mcp-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của EventCatalog, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của EventCatalog.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng EventCatalog giúp tôi làm việc này không?
EventCatalog
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng EventCatalog.

Câu hỏi thường gặp

Máy chủ MCP EventCatalog dùng để làm gì?

EventCatalog là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP EventCatalog với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng EventCatalog với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP EventCatalog với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối EventCatalog, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP EventCatalog với TypingMind?

EventCatalog hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP EventCatalog cung cấp những công cụ nào trong TypingMind?

EventCatalog cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP EventCatalog không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu EventCatalog yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇