AnyMux

Getting Started

Installation

pnpm add @anymux/mcp

Basic Usage

import { createMcpServer } from "@anymux/mcp";
import { MemoryFileSystem } from "@anymux/file-system/mem-fs";

const fs = new MemoryFileSystem();
const server = createMcpServer({ fs });

// Start the MCP server (stdio transport)
await server.start();

The server exposes tools like read_file, write_file, list_directory, and stat to MCP clients.