Skip to content
8 changes: 4 additions & 4 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
},
"metadata": {
"description": "Official Redis plugins for Claude Code",
"version": "1.5.0"
"version": "1.6.0"
},
"plugins": [
{
"name": "redis-development",
"source": "./plugins/redis-development",
"description": "Redis development best practices — data structures, Redis Search (lexical + vector + hybrid retrieval), caching, and performance optimization, plus Redis Iris (Agent Memory, Agent Playbooks, Context Gateway, Intent Router, Lens).",
"version": "1.5.0",
"description": "Redis development best practices — data structures, Redis Search (lexical + vector + hybrid retrieval), caching, and performance optimization, plus Redis Iris (Agent Memory, Agent Playbooks, Context Gateway, Intent Router, Lens), and live lookup of the official redis.io documentation.",
"version": "1.6.0",
"category": "database",
"tags": ["redis", "database", "caching", "vector-search", "performance"]
"tags": ["redis", "database", "caching", "vector-search", "performance", "documentation"]
}
]
}
8 changes: 4 additions & 4 deletions .cursor-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
},
"metadata": {
"description": "Official Redis plugins for Cursor",
"version": "1.5.0"
"version": "1.6.0"
},
"plugins": [
{
"name": "redis-development",
"source": "./plugins/redis-development",
"description": "Redis development best practices — data structures, Redis Search (lexical + vector + hybrid retrieval), caching, and performance optimization, plus Redis Iris (Agent Memory, Agent Playbooks, Context Gateway, Intent Router, Lens).",
"version": "1.5.0",
"description": "Redis development best practices — data structures, Redis Search (lexical + vector + hybrid retrieval), caching, and performance optimization, plus Redis Iris (Agent Memory, Agent Playbooks, Context Gateway, Intent Router, Lens), and live lookup of the official redis.io documentation.",
"version": "1.6.0",
"category": "database",
"tags": ["redis", "database", "caching", "vector-search", "performance"]
"tags": ["redis", "database", "caching", "vector-search", "performance", "documentation"]
}
]
}
32 changes: 30 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ You can also install the skills as a Claude Code plugin:
The distributable plugin package for ChatGPT and Codex lives at
[`plugins/redis-development/`](plugins/redis-development/). It includes the
required `.codex-plugin/plugin.json` manifest and real copies of every skill.
Archive that directory—not the repository root—when preparing a skills-only
submission to the OpenAI plugin submission portal.
Archive that directory—not the repository root—when preparing a submission to
the OpenAI plugin submission portal. The archive includes the shared `.mcp.json`,
so it carries the Redis Docs MCP server as well as the skills.

### Cursor Plugin

Expand All @@ -56,6 +57,33 @@ This repository also includes Cursor plugin packaging. Run this command in chat:

The top-level `skills/` directory remains the source of truth. `plugins/redis-development/skills/` holds generated real copies used by the ChatGPT, Codex, and Claude Code plugin package (not symlinks, which plugin installation flows may drop); `npm run sync:plugins` regenerates them and the pre-commit hook keeps them current. See [AGENTS.md](AGENTS.md#where-skills-live).

### Redis Docs MCP server

The Claude Code, ChatGPT and Codex, and Cursor plugins bundle the official Redis documentation MCP
server at `https://redis.io/mcp`, so an agent can look up authoritative docs instead of relying on
stale training data. It needs **no credentials, no local Redis, and no configuration** — a public,
read-only, hosted endpoint that connects automatically once the plugin is enabled.

Three read-only tools: `search` (query the docs index), `fetch` (retrieve a page or a section by its id), and
`ask` (a grounded answer with citations).

Each tool call sends the agent's query text to redis.io. If that conflicts with your data
policy, disable the `redis-docs` server in your client's MCP settings (in Claude Code, `/mcp`).

| Channel | Carries the MCP server? |
|---------|-------------------------|
| Claude Code plugin | Yes |
| ChatGPT / Codex plugin | Yes |
| Cursor plugin | Yes |
| Agent Skills CLI (`npx skills add`) | No — the Agent Skills format has no MCP component |

All three manifests point at one shared [`plugins/redis-development/.mcp.json`](plugins/redis-development/.mcp.json).
To add the server to Claude Code without the plugin:

```bash
claude mcp add --transport http redis-docs https://redis.io/mcp
```

## Usage

Skills are automatically available once installed. The agent will use them when relevant tasks are detected.
Expand Down
9 changes: 5 additions & 4 deletions plugins/redis-development/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"name": "redis-development",
"version": "1.5.0",
"description": "Redis development best practices — data structures, query engine, vector search, caching, and performance optimization",
"version": "1.6.0",
"description": "Redis development best practices — data structures, query engine, vector search, caching, and performance optimization, plus live lookup of the official redis.io documentation",
"author": {
"name": "Redis",
"url": "https://redis.io"
},
"homepage": "https://redis.io",
"repository": "https://github.com/redis/agent-skills",
"license": "MIT",
"keywords": ["redis", "database", "caching", "vector-search", "performance", "best-practices"],
"skills": "./skills/"
"keywords": ["redis", "database", "caching", "vector-search", "performance", "best-practices", "documentation"],
"skills": "./skills/",
"mcpServers": "./.mcp.json"
}
10 changes: 6 additions & 4 deletions plugins/redis-development/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "redis-development",
"version": "1.5.0",
"description": "Redis development best practices for data modeling, search, caching, connections, clustering, security, observability, and agent memory",
"version": "1.6.0",
"description": "Redis development best practices for data modeling, search, caching, connections, clustering, security, observability, and agent memory, plus live lookup of the official redis.io documentation",
"author": {
"name": "Redis",
"email": "support@redis.com",
Expand All @@ -16,13 +16,15 @@
"caching",
"vector-search",
"performance",
"best-practices"
"best-practices",
"documentation"
],
"skills": "./skills/",
"mcpServers": "./.mcp.json",
"interface": {
"displayName": "Redis Development",
"shortDescription": "Build reliable, production-ready Redis applications",
"longDescription": "Design, implement, review, and troubleshoot Redis applications with focused guidance for data structures, connections, Redis Search, semantic caching, clustering, security, observability, and Redis Iris (Agent Memory, Agent Playbooks, Context Gateway, Intent Router, Lens).",
"longDescription": "Design, implement, review, and troubleshoot Redis applications with focused guidance for data structures, connections, Redis Search, semantic caching, clustering, security, observability, and Redis Iris (Agent Memory, Agent Playbooks, Context Gateway, Intent Router, Lens), plus live lookup of the official redis.io documentation.",
"developerName": "Redis",
"category": "Developer Tools",
"capabilities": [
Expand Down
9 changes: 5 additions & 4 deletions plugins/redis-development/.cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"name": "redis-development",
"version": "1.5.0",
"description": "Redis development best practices — data structures, query engine, vector search, caching, and performance optimization",
"version": "1.6.0",
"description": "Redis development best practices — data structures, query engine, vector search, caching, and performance optimization, plus live lookup of the official redis.io documentation",
"author": {
"name": "Redis",
"url": "https://redis.io"
},
"homepage": "https://redis.io",
"repository": "https://github.com/redis/agent-skills",
"license": "MIT",
"keywords": ["redis", "database", "caching", "vector-search", "performance", "best-practices"],
"skills": "./skills/"
"keywords": ["redis", "database", "caching", "vector-search", "performance", "best-practices", "documentation"],
"skills": "./skills/",
"mcpServers": "./.mcp.json"
}
8 changes: 8 additions & 0 deletions plugins/redis-development/.mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"mcpServers": {
"redis-docs": {
"type": "http",
"url": "https://redis.io/mcp"
}
}
}
92 changes: 92 additions & 0 deletions scripts/validate-claude-plugins.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,96 @@ async function validateReferencedPath(
}
}

// Transports Claude Code accepts for a remote MCP server. "streamable-http" is
// an alias for "http" so configs copied from server docs work unchanged.
const remoteMcpTransports = new Set(["http", "streamable-http", "sse", "ws"]);

// Resolve every inline mcpServers map a manifest contributes, following string
// values (and arrays of them) to the config files they point at.
async function collectMcpServerMaps(pluginDir, value, pluginName) {
if (typeof value === "string") {
const resolved = path.resolve(pluginDir, value);
const config = await readJsonFile(
resolved,
`${pluginName} mcp config "${value}"`,
);
// readJsonFile has already reported a missing or unparseable file.
if (config === null) {
return [];
}
// A file that parses but carries no server map would otherwise skip every
// check below. A likely way to get there: copying the snake_case
// "mcp_servers" key from Codex's config.toml, where plugin .mcp.json files
// (Codex's included) use camelCase "mcpServers".
const servers = config?.mcpServers;
if (!servers || typeof servers !== "object" || Array.isArray(servers)) {
addError(
`${pluginName}: mcp config "${value}" must contain an "mcpServers" object.`,
);
return [];
}
return [servers];
}
if (Array.isArray(value)) {
const maps = [];
for (const entry of value) {
maps.push(...(await collectMcpServerMaps(pluginDir, entry, pluginName)));
}
return maps;
}
if (value && typeof value === "object") {
return [value];
}
if (value !== undefined) {
addError(
`${pluginName}: "mcpServers" must be a path, an array of paths, or an object.`,
);
}
return [];
}

async function validateMcpServers(pluginDir, pluginManifest, pluginName) {
const maps = await collectMcpServerMaps(
pluginDir,
pluginManifest.mcpServers,
pluginName,
);

for (const map of maps) {
for (const [serverName, server] of Object.entries(map)) {
const label = `${pluginName}: mcpServers."${serverName}"`;
if (!server || typeof server !== "object" || Array.isArray(server)) {
addError(`${label} must be an object.`);
continue;
}

const hasUrl = typeof server.url === "string" && server.url.length > 0;
const hasCommand =
typeof server.command === "string" && server.command.length > 0;

if (!hasUrl && !hasCommand) {
addError(`${label} must define either "url" or "command".`);
continue;
}

// Claude Code reads an entry with no "type" as a stdio server, so a
// remote server missing it is skipped at runtime rather than connected.
if (hasUrl && typeof server.type !== "string") {
addError(
`${label} has a "url" but no "type"; add "type": "http" (or "sse" / "ws").`,
);
continue;
}

if (hasUrl && !remoteMcpTransports.has(server.type)) {
addError(
`${label} has unsupported transport "${server.type}"; expected one of ${[...remoteMcpTransports].join(", ")}.`,
);
}
}
}
}

async function main() {
const marketplacePath = path.join(
repoRoot,
Expand Down Expand Up @@ -201,6 +291,8 @@ async function main() {
await validateReferencedPath(pluginDir, field, value, entry.name);
}
}

await validateMcpServers(pluginDir, pluginManifest, entry.name);
}

summarizeAndExit();
Expand Down
2 changes: 1 addition & 1 deletion scripts/validate-codex-plugins.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async function main() {
}
}

for (const field of ["name", "version", "repository", "license"]) {
for (const field of ["name", "version", "repository", "license", "mcpServers"]) {
if (manifest[field] !== claudeManifest[field]) {
addError(`Codex and Claude plugin manifests must agree on ${field}.`);
}
Expand Down
Loading