JSPM

  • Created
  • Published
  • Downloads 184
  • Score
    100M100P100Q114769F
  • License MIT

TypeScript client SDK for Undisk MCP — undo-first versioned file storage for AI agents

Package Exports

  • @undisk-mcp/sdk

Readme

@undisk-mcp/sdk

TypeScript SDK for the Undisk MCP workspace API.

Provides McpClient with session management, retry/backoff, and typed tool invocation over the Model Context Protocol.

Installation

npm install @undisk-mcp/sdk

Usage

import { McpClient } from "@undisk-mcp/sdk";

const client = new McpClient({
  url: "https://mcp.undisk.app/mcp",
  apiKey: process.env.UNDISK_API_KEY!,
});

const result = await client.callTool("list_files", { recursive: true });
console.log(result);

Documentation

See mcp.undisk.app for full documentation.

License

MIT