Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Echoes

FreeNot checked

MCP server for Echoes storytelling platform with Narrative Knowledge Graph

GitHubEmbed

About

MCP server for Echoes storytelling platform with Narrative Knowledge Graph

README

CI npm Node License: MIT

Model Context Protocol server for AI integration with the Echoes storytelling platform — Mage image generation and content tools.

Features

  • Mage Image Generation: Queue, monitor, and save AI-generated images via AppSync
  • Word Count: Count words and text statistics in markdown chapter files
  • MCP Resources: Expose Mage status, queue, results, and characters as MCP resources
  • CLI: Full command-line interface for all operations
  • Thin Client: No heavy dependencies — just GraphQL calls to AppSync

Installation

npm install -g @echoes-io/mcp-server

Or run directly with npx:

npx @echoes-io/mcp-server --help

Requirements

  • Node.js 22+
  • AppSync API URL and API Key (for Mage tools)

Configuration

Create a .env file in your timeline repo root:

PUBLISHER_API_URL=https://xxx.appsync-api.eu-west-1.amazonaws.com/graphql
PUBLISHER_API_KEY=da2-xxxxxxxxxxxxxxxxxxxx

The timeline is auto-detected from the cwd path (e.g., /path/to/timeline-eros/eros).

MCP Client Configuration

{
  "mcpServers": {
    "publisher": {
      "command": "npx",
      "args": ["@echoes-io/mcp-server"]
    }
  }
}

Available Tools

Tool Description
words-count Count words and statistics in a markdown file
mage_queue_add Queue a single image/video generation
mage_queue_add_bulk Queue multiple generations (one prompt per line)
mage_queue_list List queued and processing jobs
mage_queue_pause Pause the queue
mage_queue_resume Resume the queue
mage_queue_cancel Cancel a queued job
mage_results_list List generated results
mage_results_save Save a result to local filesystem
mage_results_save_all Save all unsaved results for specified arcs
mage_status Get overall system status
mage_characters_list List configured characters with placeholders

Available Resources

URI Description
publisher://mage/status Mage system status
publisher://mage/queue Current queue
publisher://mage/results Recent results
publisher://mage/characters Configured characters

CLI Usage

# Word count
echoes words-count ./content/arc/ep01/ch001.md
echoes words-count -d ./content/arc/ep01/ch001.md  # detailed

# Start MCP server
echoes serve

# Mage commands
echoes mage status
echoes mage characters
echoes mage queue list
echoes mage queue add "[01] Full body of [ALE] at café" -t scene -a ale -e 1
echoes mage queue add-bulk "<prompts>" -t scene -a ale -e 1
echoes mage queue pause
echoes mage queue resume
echoes mage queue cancel <job-id>
echoes mage results list
echoes mage results list --unsaved
echoes mage results save <job-id>
echoes mage results save-all --arcs ale cri

Architecture

Agent (Kiro/Claude) → MCP Server (stdio) → AppSync (GraphQL, API Key) → Lambda/DynamoDB
                           ↑
                    .env in timeline repo root

The MCP server is a thin GraphQL client — it doesn't execute any generation logic. It calls the same AppSync mutations/queries used by the Publisher web portal.

Development

# Install dependencies
npm install

# Run tests
npm test

# Run tests with coverage
npm run test:coverage

# Lint
npm run lint

# Type check
npx tsc --noEmit

# Build
npm run build

Tech Stack

Purpose Tool
Runtime Node.js 22+
Language TypeScript
MCP SDK @modelcontextprotocol/sdk
CLI Commander
Testing Vitest
Linting Biome

License

MIT


Part of the Echoes project — a multi-POV digital storytelling platform.

from github.com/echoes-io/mcp-server

Installing Echoes

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/echoes-io/mcp-server

FAQ

Is Echoes MCP free?

Yes, Echoes MCP is free — one-click install via Unyly at no cost.

Does Echoes need an API key?

No, Echoes runs without API keys or environment variables.

Is Echoes hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Echoes in Claude Desktop, Claude Code or Cursor?

Open Echoes on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Echoes with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs