TypeScript SDK

Official TypeScript SDK for using the Moov API

SDK Installation

The SDK can be installed with either npm, pnpm, bun or yarn package managers.

NPM

1
npm add @moovio/sdk

PNPM

1
pnpm add @moovio/sdk

Bun

1
bun add @moovio/sdk

Yarn

1
2
3
4
yarn add @moovio/sdk zod

# Note that Yarn does not install peer dependencies automatically. You will need
# to install zod as shown above.

Model Context Protocol (MCP) Server

This SDK is also an installable MCP server where the various SDK methods are exposed as tools that can be invoked by AI applications.

Node.js v20 or greater is required to run the MCP server.

Claude installation steps

Add the following server definition to your claude_desktop_config.json file:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
{
  "mcpServers": {
    "Moov": {
      "command": "npx",
      "args": [
        "-y", "--package", "@moovio/sdk",
        "--",
        "mcp", "start",
        "--username", "...",
        "--password", "...",
        "--x-moov-version", "..."
      ]
    }
  }
}
Cursor installation steps

Go to Cursor Settings > Features > MCP Servers > Add new MCP server and use the following settings:

  • Name: Moov
  • Type: command
  • Command:
1
npx -y --package @moovio/sdk -- mcp start --username ... --password ... --x-moov-version ... 

For a full list of server arguments, run:

1
npx -y --package @moovio/sdk -- mcp start --help