MCP server for AIStorageDepot — connect your prompt, rule, and skill library to Claude Code, Cursor, and Codex.
@aistoragedepot/mcp
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A Model Context Protocol server that exposes **your
AIStorageDepot library** to any MCP-aware AI client —
Claude Desktop, Cursor, Cline, Windsurf, and others.
Your stored content shows up where you actually work:
- **Prompts** → the items you mark with **/** in the app become MCP prompts (slash-commands) — any type, with each prompt's
[field] surfaced as a prompt argument you fill in.
- **Resources** → every item (rules, docs, skills, MCP configs, prompts) is readable at
aisd://item/ , so an agent can pull "my coding rules" or "my project guidelines"
into context on demand.
- **Tools** → search_library(query) and get_item(id) let an agent find and fetch
anything in your library programmatically.
Try it with no account (sample mode)
AISD_TOKEN is **optional**. Run the server with **no token** and it serves a free, read-only
sample of the **public curated library** — a good way to see AIStorageDepot inside your editor
before signing up. Add a token later to switch to **your own & team libraries**. Add the server
with an empty env (or omit AISD_TOKEN):
Setup
> **👉 Easiest path:** step-by-step instructions for each app (config-file locations and all)
> are at ** **. The manual version:
1. In AIStorageDepot, go to **Settings → API tokens** and create a token (free for
individuals). Copy it.
2. Add the server to your MCP client's config. Example (Claude Desktop /
claude_desktop_config.json, Cursor ~/.cursor/mcp.json, etc.):
3. Restart the client. The items you marked **/** appear as slash-commands; everything is available as
resources; and the search_library / get_item tools are ready.
Configuration
| Env var | Required | Default | Notes |
| --- | --- | --- | --- |
| AISD_TOKEN | no | — | Token from Settings → API tokens. **No token = anonymous sample mode** (the free public curated library, read-only). **With a token** you get your own & team libraries. Has full access to your account — keep it secret. |
| AISD_BASE_URL | no | https://www.aistoragedepot.com | Point at a self-hosted / dev instance if needed. |
| AISD_WORKSPACES | no | — | **Retired.** Your slash menu is now the items you mark **/** in the app (strict opt-in); this variable is ignored. Search and resources still cover every workspace. |
Slash-commands (pull)
Not every client turns MCP prompts into / slash-commands (some only use the tools). To get
your library as **native** slash-commands, sync it to command files — for every AI tool you
use, not just Claude:
| Target | Writes to | Commands appear as |
| --- | --- | --- |
| claude *(default)* | ~/.claude/commands/aisd/ | /aisd: |
| cursor | ~/.cursor/commands/ | /aisd- |
| vscode | your VS Code profile's prompts/ folder (Copilot Chat) | /aisd- |
| windsurf | ~/.codeium/windsurf/global_workflows/ (Cascade) | /aisd- |
| codex | ~/.codex/prompts/ | /prompts:aisd- |
Tools that aren't installed are skipped automatically. Each tool gets its own dialect