Sponsored by Deepsite.site

📖 EventCatalog - MCP Server

Created By
MCP-Mirror9 months ago
Mirror of
Content

📖 EventCatalog - MCP Server

Get insights from your EventCatalog directly from your MCP Client (Claude, Cursor, Windsurf, etc)

EventCatalog

Features: Ask about domains, services and messages. Get answers in seconds. Request schemas, who owns what and much more.

Read the Docs | View Demo


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)

Using AI to get more value from EventCatalog

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.

EventCatalog will visualize your architecture for you all, provide the ability to add semantic meaning for stakeholders, host your OpenPAI and AsyncAPI specifications and integrate with any broker in the world.

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.

  • Developers can integrate the MCP server with MCP supported IDES (e.g Cursor, Windsurf)
  • Stakeholders can ask questions about your architecture in the tools they use (e.g Claude)
  • If you are using tools that do not support the MCP protocol, you can still use the llms.txt standard to integrate with other LLLM tools (e.g Gemini, GPT-4)

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.

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

{
  "mcpServers": {
    "eventcatalog": {
      "command": "npx",
      "args": [
        "-y",
        "@eventcatalog/mcp-server",
        "https://demo.eventcatalog.dev" // Replace with your EventCatalog URL
      ]
    }
  }
}

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.

{
  "mcpServers": {
    "eventcatalog": {
      "command": "npx",
      "args": ["-y", "@eventcatalog/mcp-server", "https://demo.eventcatalog.dev"]
    }
  }
}

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.

Resources

  • eventcatalog://all
    • Returns all messages, domains, services in the catalog
  • eventcatalog://domains
    • Returns all domains in the catalog
  • eventcatalog://services
    • Returns all services in the catalog
  • eventcatalog://events
    • Returns all events in the catalog
  • eventcatalog://queries
    • Returns all queries in the catalog
  • eventcatalog://commands
    • Returns all commands in the catalog
  • eventcatalog://flows
    • Returns all flows in the catalog
  • eventcatalog://teams
    • Returns all teams in the catalog
  • eventcatalog://users
    • Returns all users in the catalog

Tools

  • get_domains
    • Gets and returns a list of all domains in the catalog
  • get_services
    • Gets and returns a list of all services in the catalog
  • get_events
    • Gets and returns a list of all events in the catalog
  • get_commands
    • Gets and returns a list of all commands in the catalog
  • get_queries
    • Gets and returns a list of all queries in the catalog
  • get_flows
    • Gets and returns a list of all flows in the catalog
  • get_teams
    • Gets and returns a list of all teams in the catalog
  • get_team
    • Gets and returns a team from the catalog
  • get_users
    • Gets and returns a list of all users in the catalog
  • get_user
    • Gets and returns a user from the catalog

Schemas

  • get_event_schema
    • Gets and returns the schema for a given event id
  • get_query_schema
    • Gets and returns the schema for a given query id
  • get_command_schema
    • Gets and returns the schema for a given command id

OpenAPI

  • get_openapi_spec
    • Gets and returns the OpenAPI spec for a given service id
  • get_asyncapi_spec
    • Gets and returns the AsyncAPI spec for a given service id

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.

TODO

Some ideas for the MCP server, feel free to add to the list!

  • Add support for private hosted EventCatalog instances
    • We make fetch requests to EventCatalog instances, let the user specify custom headers or auth params we can add onto each request.
  • Add prompts / tools to write to EventCatalog, if we get interest from the community
  • Add support to get teams and users
  • Add support to get flows from EventCatalog

Contributing

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

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

Example for Cursor:

{
  "mcpServers": {
    "eventcatalog": {
      "command": "npx",
      "args": ["-y", "tsx /PATH_TO_YOUR_REPO/src/index.ts",  "https://demo.eventcatalog.dev"]
    }
  }
}

Sponsors

Thank you to our project sponsors.

Gold sponsors

hookdeck

Manage, secure, and govern every API in your organization

Learn more

oso

Delivering Apache Kafka professional services to your business

Learn more

Sponsors help make EventCatalog sustainable, want to help the project? Get in touch! Or visit our sponsor page.

Enterprise support

Interested in collaborating with us? Our offerings include dedicated support, priority assistance, feature development, custom integrations, and more.

Find more details on our services page.

License

Usage of this feature is part of the EventCatalog Pro Edition.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
CursorThe AI Code Editor
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Tavily Mcp
WindsurfThe new purpose-built IDE to harness magic
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
ChatWiseThe second fastest AI chatbot™
Amap Maps高德地图官方 MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
DeepChatYour AI Partner on Desktop
Serper MCP ServerA Serper MCP Server
Playwright McpPlaywright MCP server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors