Sponsored by Deepsite.site

TalkEventsToMe

Created By
chiefnamingofficer6 months ago
A learning project for MCP server integration, between eventcatalog.io and cursor.
Content

TalkEventsToMe

A learning project focused on integrating with EventCatalog via MCP (Model Context Protocol) server to explore event-driven architecture questions and insights.

🎯 Project Purpose

This project demonstrates how to leverage the EventCatalog MCP Server to interact with our organization's EventCatalog instance and get insights about our event-driven architecture directly from AI assistants like Claude, Cursor, and Windsurf.

🏗️ Architecture Overview

  • EventCatalog Instance: https://eventcatalog.compassdigital.org/ (Google OAuth protected)
  • MCP Server: @eventcatalog/mcp-server
  • Client: Cursor IDE with MCP integration
  • Authentication: Requires EventCatalog Scale license key

🚀 Setup Instructions

Prerequisites

  1. EventCatalog Scale License: You'll need a license key for EventCatalog Scale

    • Get a 14-day trial from EventCatalog Cloud
    • Replace YOUR_EVENTCATALOG_SCALE_LICENSE_KEY in .mcp.json
  2. Access to EventCatalog Instance: Ensure you have access to https://eventcatalog.compassdigital.org/

Installation

  1. Configure MCP Server: The .mcp.json file is already configured for this project
  2. Install Dependencies: The MCP server will be installed automatically via npx
  3. Restart Cursor: After updating .mcp.json, restart Cursor to load the MCP server

Verification

Once configured, you should see the EventCatalog MCP server available in Cursor. You can verify by asking questions about your event catalog.

🤖 Available MCP Tools

The EventCatalog MCP server provides the following tools:

Tools

  • find_resources - Find resources available in EventCatalog
  • find_resource - Get detailed information about services, domains, events, commands, queries, or flows
  • find_producers_and_consumers - Get producers and consumers for a service
  • get_schema - Returns schema for services, events, commands, or queries
  • review_schema_changes - Reviews schema changes for breaking changes
  • explain_ubiquitous_language_terms - Explain domain-specific terminology

Resources

  • eventcatalog://all - All messages, domains and services
  • eventcatalog://events - All events
  • eventcatalog://domains - All domains
  • eventcatalog://services - All services
  • eventcatalog://queries - All queries
  • eventcatalog://commands - All commands
  • eventcatalog://flows - All flows
  • eventcatalog://teams - All teams
  • eventcatalog://users - All users

🔍 Learning Questions

Here are the key questions this project aims to explore:

  1. Is there an event when a new menu gets published?
  2. Which team owns that event?
  3. How can I subscribe to that event?
  4. What do I need to know in order to process that event?
  5. What other menu service related events exist?

Event Registration & Discovery

  1. I have my own service, how can I register a new event with the eventcatalog?
  2. Do I need to notify someone when I register the new event and how would they be able to subscribe to my event?

Architecture Insights

  1. Is there any information on our event driven architecture?
  2. Is there an event flow you could create that shows when a menu is being published and who are all the subscribers of that event?

Error Handling & Reliability

  1. What if an event fails to be delivered, how would a subscriber get to know about that situation?

🎓 Learning Objectives

Through this project, you'll learn:

  • How to configure MCP servers for EventCatalog integration
  • How to query event-driven architecture documentation programmatically
  • How to discover events, schemas, and relationships in your architecture
  • How to understand team ownership and responsibilities
  • How to identify event flows and dependencies
  • How to explore error handling and reliability patterns

📚 Resources

🔧 Troubleshooting

Common Issues

  1. License Key Issues: Ensure your EventCatalog Scale license key is valid and not expired
  2. Network Access: Verify you can access the EventCatalog instance from your network
  3. OAuth Issues: Make sure you're authenticated with Google OAuth for the EventCatalog instance
  4. MCP Server Not Loading: Restart Cursor after modifying .mcp.json

Debug Commands

# Test MCP server installation
npx -y @eventcatalog/mcp-server --help

# Verify EventCatalog accessibility
curl -I https://eventcatalog.compassdigital.org/

📝 Notes

  • This project is designed for learning and exploration
  • The EventCatalog instance is protected by Google OAuth
  • Requires EventCatalog Scale license for full functionality
  • MCP integration works with Claude, Cursor, Windsurf, and other MCP-compatible clients

🤝 Contributing

This is a personal learning project, but feel free to:

  • Add more example questions
  • Document interesting discoveries
  • Share insights about event-driven architecture patterns
  • Improve the setup documentation

📄 License

This project is for educational purposes. Please respect the licensing terms of EventCatalog and related tools.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Serper MCP ServerA Serper MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
DeepChatYour AI Partner on Desktop
Tavily Mcp
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.
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"
ChatWiseThe second fastest AI chatbot™
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.
CursorThe AI Code Editor
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
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.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.