Unstorage MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Unstorage MCP ServerStore the value 'dark' under the key 'theme'."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Unstorage MCP Server
A Key-Value storage MCP server based on unjs/unstorage.
Support drivers:
memory
filesystem
redis
unstorage http server
mongodb
Support transports:
stdio
Streamable HTTP
SSE
Tools:
showMounts()getItem(key)getItems(items)getItemRaw(key)getMeta(key, nativeOnly)getKeys(base, maxDepth)setItem(key, value)setItems(items)setItemRaw(key, value)setMeta(key, meta)removeItem(key, removeMeta)removeMeta(key)
Running with stdio
minimal configuration
{
"mcpServers": {
"unstorage": {
"command": "npx",
"args": ["-y", "@slow-groovin/unstorage-mcp"]
}
}
}maximum configuration
{
"mcpServers": {
"unstorage": {
"command": "npx",
"env": {
"REDIS_URL": "redis://default:123456@localhost:6379",
"REDIS_BASE": "visits:date:api:",
"REDIS_MOUNT_POINT": "redis_storage",
"FS_BASE": "D:/tmp",
"FS_MOUNT_POINT": "fs_storage",
"HTTP_BASE": "http://localhost:3001",
"HTTP_MOUNT_POINT": "http_storage",
"HTTP_HEADERS": "Authorization=Bear 123;A=3;B=4;C=5",
"MONGODB_URL": "mongodb://root:123456@localhost:27017/",
"MONGODB_DB_NAME": "test",
"MONGODB_COLLECTION_NAME": "unstorage",
"MONGODB_MOUNT_POINT": "mongo_storage"
},
"args": ["-y", "@slow-groovin/unstorage-mcp", "--disable-modify"]
}
}
}for Cline+Windows:
{
"mcpServers": {
"unstorage": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@slow-groovin/unstorage-mcp"]
}
}
}If you have problem of installation on Windows, you can refrer to this article
Related MCP server: mongo-mcp
Running with HTTP (SSE + Streamable)
npx @slow-groovin/unstorage-mcp --httprelated arguments
arg | default | |
--http | enable http transport instead of stdio |
|
-p, --port | listening port | 3000 |
-h, --host | listening host | localhost |
Example prompt for use
The process has produced a key-value result: "fs_base:recommend_site"="www.api2o.com", store it.args
--disable-modify
Default: false
Disable tools with modify functionality like setItem, setItems ...
environment variables
for the concept of base and mountpoint, please refer to the doc of unstorage
Set environment variables in the terminal or in the
.envfile
redis
if REDIS_URL is set, a redis storage will be mounted
Syntax | Description | Default Value | Optional |
| redis connect url, eg: | ||
| base of redisDriver | ✅ | |
| mountpoint of this storage | "/" | ✅ |
mongodb
if MONGODB_URL is set, a mongodb storage will be mounted
Syntax | Description | Default Value | Optional |
| mongodb connect url, eg: | ||
| mongodb database name, eg: | ||
| mongodb collection name, eg: | ||
| mountpoint of this storage | "/" | ✅ |
filesystem
if FS_BASE is set, a redis storage will be mounted
Syntax | Description | Default Value | Optional |
| base of fsDriver, path of filesystem | ||
| mountpoint of this storage | "/" | ✅ |
http server
if HTTP_BASE is set, a http storage will be mounted
Syntax | Description | Default Value | Optional |
| base of httpDriver, endpoint of http server | ||
| mountpoint of this storage | "/" | ✅ |
| headers for http requests, eg: | ✅ |
memory
If there is no mount on root("/"), a memory driver will be mounted automatically on "/" (same behaviour of unstorage).
extend guide
clone this repo
copy src/storage/redis.ts to a new file and modify it to your desired driver(
unjs/unstorageis super easy to learn)test and verify that it is effective
(optional) pull a merge request
If you are not a typescript developer, please submit a issue to ask for other drivers support.
prompts for cursor/cline assisted programming
@/src/storage/mongodb.ts , please implement this file:
1. you need to fetch information using the storage type's corresponding Doc URL (https://unstorage.unjs.io/drivers/<storage type>).
2. you can refer to examples in @/src/adapter/redis.ts and @/src/storage/http.ts.
3. You are only responsible for generating the code and do not need to perform testing.If you have not installed fetch MCP server, delete the first sentence
debug approaches
mcp-inspector
mcp-inspector -e HTTP_BASE=http://localhost:3001 -e HTTP_MOUNT_POINT=http_storage -e FS_BASE=D:/temp -e FS_MOUNT_POINT=fs_storage -e HTTP_HEADERS="Authorization=Bear 123;" tsx ./src/index.tstsx mcpServer Config for local dev
{
"mcpServers": {
"command": "cmd",
"env": {
"REDIS_URL": "redis://default:123456@localhost:6379",
"REDIS_BASE": "my:mcp:values:",
"REDIS_MOUNT_POINT": "redis_storage"
},
"args": ["/c", "tsx", "D:/xxx/projects/unstorage-mcp/src/index.ts"]
}
}restarting server is needed to make changes take effect
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Cross-tool persistent memory and context for AI assistants over MCP.
Manage portable AI agent playbooks, Agent Skills, MCP configurations, personas, and memory.
MCP-first toolbox for agents: KV storage, auth, queue, and utility tools. Free in early access.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA lightweight Model Context Protocol server that provides an in-memory key-value store with get, set, delete, list, and clear operations for MCP-compatible AI assistants and clients.MIT
- AlicenseNot gradedqualityDmaintenanceEnables CRUD operations on MongoDB databases and collections, including listing databases and collections, via MCP tools.19 npmApache 2.0

LedgerMem MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables persistent memory storage and retrieval for MCP clients, allowing AI assistants to remember facts and context across conversations.467 npmMIT- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with KevoDB, a key-value database, through MCP tools for CRUD operations, transactions, and scans.MIT