Open source · MIT License

Dispatch

Build agent-ready tools from a shared TypeScript core.

Dispatch is an open-source toolkit that exposes the same business logic through a CLI, a local MCP server, a remote MCP server, and AI Skills. It demonstrates how to build reusable agent tooling without duplicating business logic.

Quick Start
npm install -g @amarnath00/dispatch
dispatch init --telegram-bot-token "<bot-token>"
dispatch telegram "<chat-id>" "Hello from Dispatch"

One core. Every interface.

Dispatch ships the same operation as a CLI command, a local MCP tool, a remote MCP server, and an AI Skill — all thin adapters around a shared package.

Why Dispatch

When the same capability ships to humans, scripts, and agents, business logic tends to fragment across each interface. Dispatch keeps that logic in one place.

Without Dispatch
CLI logicduplicated
MCP tool logicduplicated
Remote MCP logicduplicated
Agent Skill logicduplicated

Each interface contains duplicated business logic.

With Dispatch
@amarnath00/dispatch-coreshared
CLI adapter
Local MCP adapter
Remote MCP adapter
Skill

A single shared implementation powers every interface.

Published packages

Available on npm today.

View all
@amarnath00/dispatch
Command Line Interface
@amarnath00/dispatch-core
Shared business logic
@amarnath00/dispatch-mcp
Local MCP Server