all.sourceall.source

MCP Integration

AllSource includes a Model Context Protocol (MCP) server that integrates directly with Claude Desktop, giving AI agents full access to your event store.

What is MCP?

The Model Context Protocol is an open standard that lets AI assistants interact with external tools and data sources. AllSource's MCP server exposes 27+ tools for event management, analytics, schema operations, and system administration.

Quick Setup

1. Start the MCP server

If you're running the AllSource Docker stack, the MCP server is available at port 3904 by default. Otherwise, you can run it standalone:

docker run -p 3904:3904 \
  -e CORE_URL=http://host.docker.internal:3900 \
  ghcr.io/all-source-os/chronos-mcp:latest

2. Configure Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "allsource": {
      "url": "http://localhost:3904/sse"
    }
  }
}

3. Start using it

Once connected, Claude can ingest events, run queries, manage schemas, create projections, monitor health, and perform administrative tasks — all through natural language.

Example Tools

ingest_eventStore a new event in a stream
query_eventsQuery events by stream, type, time range, or entity
create_projectionCreate a materialized view over event streams
get_stream_statsGet event counts and throughput for a stream
register_schemaRegister a JSON schema for event validation
health_checkCheck Core and system health status

Full Tool Catalog

For the complete list of MCP tools with parameters and examples, see the docs directory on GitHub.