Feedback

Unstorage MCP Server

@slow-groovin Claim

Basic information

Runtime
node
Category
License
MIT license
Transports
stdio
Author
slow-groovin
Submitted by
Community
Quality
25
Stars
1

About Unstorage MCP Server

Key-Value storage MCP server based on unjs/unstorage, support drivers: redis, mongodb, filesystem. http

Unstorage MCP Server is a MCP server in the Databases category listed in the AddMCP.net directory, published by slow-groovin. It exposes 1 tool, including --disable-modify. Supported transport: stdio. Runtime: node. License: MIT license. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: kv-store, mcp, mcp-server, unstorage.

Setup

{
    "mcpServers": {
        "unstorage": {
            "command": "npx",
            "env": {
                "REDIS_URL": "redis://default:123456@localhost:6379",
                "REDIS_BASE": "my:mcp:values:",
                "REDIS_MOUNT_POINT": "redis_storage"
            },
            "args": [
                "/y",
                "@slow-groovin/unstorage-mcp",
                "--disable-modify"
            ]
        }
    }
}

Unstorage MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "unstorage": {
            "command": "npx",
            "env": {
                "REDIS_URL": "redis://default:123456@localhost:6379",
                "REDIS_BASE": "my:mcp:values:",
                "REDIS_MOUNT_POINT": "redis_storage"
            },
            "args": [
                "/y",
                "@slow-groovin/unstorage-mcp",
                "--disable-modify"
            ]
        }
    }
}

Unstorage MCP Server tools

  • --disable-modify — flag to forbid destructive tools.

Overview

What is Unstorage MCP Server?

A Key-Value storage MCP server based on unjs/unstorage. It mounts multiple storage backends (memory, filesystem, Redis, MongoDB, HTTP server) and exposes CRUD operations as MCP tools. Designed for developers who need to interact with diverse key-value stores through an AI agent or MCP client.

How to use Unstorage MCP Server?

Install via npm with npx @slow-groovin/unstorage-mcp, configuring drivers through environment variables (e.g., REDIS_URL, MONGODB_URL, FS_BASE, HTTP_BASE). Use arguments like --disable-modify to restrict write operations. Run with an MCP inspector or as a local dev server using tsx.

Key features of Unstorage MCP Server

  • Supports memory, filesystem, Redis, MongoDB, and HTTP storage drivers.
  • Provides 12 tools: showMounts, getItem, getItems, getItemRaw, getMeta, getKeys, setItem, setItems, setItemRaw, setMeta, removeItem, removeMeta.
  • --disable-modify flag to forbid destructive tools.
  • Automatic fallback to memory driver when no root mount is defined.
  • Easy to extend: clone repo, copy a driver file, and implement.
  • Environment variables configure driver-specific base paths and mount points.

Use cases of Unstorage MCP Server

  • Let an AI assistant read and write key-value data in Redis, MongoDB, or the filesystem.
  • Provide a unified MCP interface to multiple storage backends for debugging or operations.
  • Enable AI agents to store session state, configuration, or temporary data across runs.
  • Quickly test or prototype storage interactions without writing a custom MCP server.

Frequently asked questions

1 What drivers does Unstorage MCP Server support out of the box?

Memory, filesystem, Redis, MongoDB, and unstorage HTTP server.

2 Can I disable write operations to prevent accidental modifications?

Yes, pass the --disable-modify argument to the server. This disables setItem, setItems, setItemRaw, setMeta, removeItem, and removeMeta.

3 How do I configure the Redis driver?

Set the REDIS_URL environment variable (e.g., redis://user:pass@host:6379). Optionally set REDIS_BASE and REDIS_MOUNT_POINT. Similarly for MongoDB, filesystem, and HTTP drivers.

4 What happens if I don’t define any root mount?

A memory driver is automatically mounted on "/", mirroring the default behavior of unstorage.

5 How can I add a new storage driver?

Clone the repository, copy an existing driver file (e.g., src/storage/redis.ts), modify it to use the desired unjs/unstorage driver, test, and optionally open a pull request.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬