Meshkit

Installation

Install Meshkit and set up Kubo for your Node.js project.

Requirements

  • Node.js 20 or later
  • npm, pnpm, or yarn
  • A running Kubo daemon, or install Kubo and put ipfs on your PATH if you want localNode: true

Install the SDK

npm install @ipfs-meshkit/meshkit
pnpm add @ipfs-meshkit/meshkit
yarn add @ipfs-meshkit/meshkit

The package ships ESM and CommonJS builds with bundled TypeScript types, plus a browser entry point. No separate @types package is needed. The browser entry supports S3-compatible clients such as createS3Client() and createFilOneClient(); it does not start a local Kubo daemon.

The latest published SDK is 1.2.1. The MCP server is published separately as @ipfs-meshkit/mcp 1.0.1 and depends on Meshkit 1.2.1 or newer.

Install Kubo (optional)

If you want Meshkit to start a local daemon automatically (localNode: true), install Kubo and ensure ipfs is on your PATH.

Follow the official Kubo install guide for your OS, then verify:

ipfs version
# Kubo version: 0.x.x

If you already have a Kubo daemon running elsewhere (server, Docker), skip this step — just pass its RPC URL in nodes.

Add .ipfs to .gitignore

When using localNode: true, Meshkit stores the Kubo repo in ./.ipfs by default. Add it to your .gitignore:

.ipfs

On this page