Unstorage MCP Server logo

Unstorage MCP Server

by slow-groovin

A Key-Value storage MCP server based on unjs/unstorage. It supports multiple drivers like memory, filesystem, Redis, HTTP, and MongoDB.

View on GitHub

Last updated: N/A

What is Unstorage MCP Server?

Unstorage MCP Server is a server that provides a unified interface (MCP) for accessing various key-value storage drivers supported by unstorage. It allows you to interact with different storage backends using a consistent set of tools.

How to use Unstorage MCP Server?

The server can be installed and configured using npx @slow-groovin/unstorage-mcp. Configuration is done via environment variables to specify the storage drivers and their respective connection details (URLs, bases, mount points). The server exposes tools like showMounts(), getItem(), setItem(), removeItem() to interact with the storage.

Key features of Unstorage MCP Server

  • Supports multiple storage drivers: memory, filesystem, redis, http server, mongodb

  • Provides a unified MCP interface for storage access

  • Configurable via environment variables

  • Includes tools for managing keys, values, and metadata

  • Option to disable modify functionality with --disable-modify argument

Use cases of Unstorage MCP Server

  • Centralized management of multiple storage backends

  • Abstracting storage details from applications

  • Providing a consistent API for accessing different storage types

  • Caching data in memory, Redis, or other storage

  • Storing files in the filesystem or object storage (via HTTP)

  • Persisting application state in MongoDB

FAQ from Unstorage MCP Server

What is a mount point?

A mount point is a path within the unstorage namespace where a particular storage driver is attached. It allows you to organize your data into logical sections.

How do I configure Redis storage?

Set the REDIS_URL environment variable to your Redis connection string. You can also configure REDIS_BASE and REDIS_MOUNT_POINT.

Can I use multiple storage drivers at the same time?

Yes, you can configure multiple storage drivers by setting the appropriate environment variables for each driver.

How do I disable modification operations?

Use the --disable-modify argument when starting the server.

How do I debug the server?

You can use mcp-inspector or tsx mcpServer Config for local dev.

Unstorage MCP Server - MCP Server | MCP Directory