# Getting Started

> Install and configure @anymux/mcp.

Source: https://anymux-docs.n.yatsyk.com/docs/mcp/getting-started

# Getting Started

## Installation

```bash
pnpm add @anymux/mcp
```

## Basic Usage

```ts
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.
