Skip to content

feat(plugins): bundle the redis.io docs MCP server in the Claude Code, Codex and Cursor plugins (RAAE-1835) - #44

Closed
vishal-bala wants to merge 7 commits into
redis:mainfrom
vishal-bala:feat/RAAE-1835-docs-mcp-manifests
Closed

vishal-bala wants to merge 7 commits into
redis:mainfrom
vishal-bala:feat/RAAE-1835-docs-mcp-manifests

Conversation

@vishal-bala

@vishal-bala vishal-bala commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Redis now hosts a public documentation MCP server at https://redis.io/mcp: three read-only tools (search, fetch and ask) over streamable HTTP, with no credentials and no local Redis. Installing the official Redis plugin is the natural way to get it in front of developers, so this PR declares it in the redis-development plugin for Claude Code, ChatGPT and Codex, and Cursor. An MCP server belongs in a plugin manifest rather than a skill, because the agentskills.io format has no MCP field: a skill can describe tools but cannot carry them. No skill content changes.

Changes

One shared server config for all three platforms

The new plugins/redis-development/.mcp.json declares a single server, redis-docs, and the Claude Code, Codex and Cursor manifests all reference it as "mcpServers": "./.mcp.json". All three accept the same entry shape, so one file serves them and there is no second copy to drift.

{
  "mcpServers": {
    "redis-docs": {
      "type": "http",
      "url": "https://redis.io/mcp"
    }
  }
}

The entry needs "type": "http". Claude Code reads a url entry with no type as a local stdio server and skips it, and OpenAI's own bundled github plugin for Codex carries the same field. The file also has to sit at the plugin root: Codex ignored it silently from a nested path (./.codex-plugin/mcp.json), and the root is where Claude Code looks by default, so the explicit reference and the default agree.

Validation for MCP server entries

validate:claude-plugins previously ignored mcpServers, because extractPathValues returns nothing for a server map. It now follows the manifest's reference to the config file and checks each entry. It rejects a url with no type, an unknown transport, an entry with neither url nor command, and a config file with no mcpServers object, such as one written with the mcp_servers key from Codex's config.toml.

validate:codex-plugins now also requires the Codex manifest's mcpServers to match the Claude manifest's. The Claude validator checks the shared file in full, so the Codex manifest cannot drift to a different or missing config unnoticed.

Minor changes

  • The three plugin manifests and both marketplaces move to 1.6.0, since 1.5.0 went to the Redis Iris release.
  • The manifest descriptions and keywords mention the documentation lookup.
  • The README gains a section on the server: its tools, which install channels carry it, what each tool call sends to redis.io and how to disable it, and the claude mcp add command for adding it to Claude Code without the plugin.

Notes

The Codex wiring was tested end to end. The package was installed into Codex CLI 0.149.0 from a local marketplace, codex mcp list showed the server, and a session called redis-docs/search. A Redis docs server already configured globally was disabled for that run, so the tool could only have come from the plugin.

Cursor shares the same .mcp.json, including "type": "http". Cursor's published example omits that field, and the plugin has not yet been installed in Cursor to confirm the field is accepted. If it is not, the fix is an inline mcpServers entry without type in the Cursor manifest.

Cursor does not pull plugins from git, so the Cursor marketplace needs a re-index once this merges. The redis-docs-mcp skill in #45 builds on this PR and should merge after it.

Release Notes

The Redis plugin for Claude Code, ChatGPT and Codex, and Cursor now connects to the official Redis documentation server at https://redis.io/mcp, so agents can search and read redis.io documentation with no configuration. Each tool call sends the agent's query text to redis.io.

Reviewer Brief

Start here: plugins/redis-development/.mcp.json. All three plugin manifests point at this one file, so it decides what every Claude Code, Codex and Cursor user connects to on install.

Where it could fail

  • plugins/redis-development/.mcp.json:4: the entry keeps "type": "http" for Claude Code, but Cursor's published example omits type, and the plugin has not been loaded in Cursor. Check that Cursor lists the redis-docs server after install.
  • scripts/validate-claude-plugins.mjs, validateMcpServers(): it rejects a url without a type, but still passes a remote type with no url, and a config whose server map is empty. The shipped config is neither, so this only matters for later edits.

Not verified: loading the plugin-bundled server in Claude Code and in Cursor; only Codex was exercised end to end.

Beyond CI: Codex CLI 0.149.0 installed the plugin from a local marketplace and called redis-docs/search, with a global Redis docs server disabled so the tool could only come from the plugin. A live tools/list against https://redis.io/mcp returns exactly search, fetch and ask, all readOnlyHint: true, with no session id. Each new validator error was confirmed to fire on a mutated copy of the tree.

Reviewed 91f1f19, fixes in 364fd9b, 5e79196 · Claude Code (claude-opus-5-5) · lenses: correctness, security, design, tests, docs, Redis behaviour


Note

Low Risk
Manifest and docs-only wiring to a public read-only endpoint; main caveat is agent queries being sent to redis.io, which README calls out and users can disable in MCP settings.

Overview
Bundles the public Redis documentation MCP server (https://redis.io/mcp) into the Claude Code, Codex, and Cursor redis-development plugins via a shared plugins/redis-development/.mcp.json. All three manifests now set "mcpServers": "./.mcp.json" so agents get read-only search, fetch, and ask tools without extra setup.

Release metadata: version 1.6.0 and updated descriptions/keywords/tags (including documentation) across both marketplaces and plugin manifests. README documents the server, which install paths include it (not Agent Skills CLI), query privacy, and manual claude mcp add usage.

CI validation: validate-claude-plugins resolves inline or file-backed mcpServers and enforces remote server shape (e.g. url requires type, allowed transports). validate-codex-plugins requires Codex and Claude manifests to agree on mcpServers so the shared config cannot drift.

Reviewed by Cursor Bugbot for commit 5e79196. Bugbot is set up for automated code reviews on this repo. Configure here.

Declares the public Redis docs MCP gateway at https://redis.io/mcp in the
ChatGPT/Codex and Claude Code plugin package, so enabling the plugin connects it
with no user configuration. The endpoint is public, read-only, and needs no
credentials and no local Redis: three tools (search, fetch, ask) over streamable
HTTP.

MCP is a plugin-level component — the agentskills.io format has no MCP field, so
this belongs in the plugin manifests rather than in a skill. Both manifests
reference one shared .mcp.json at the plugin root, since Claude Code and Codex
accept the same entry shape:

  { "mcpServers": { "redis-docs": { "type": "http", "url": "..." } } }

Verified end-to-end against Codex CLI 0.149.0 by installing this package from a
local marketplace: the server appears in `codex mcp list` and a session calls
`redis-docs/search` successfully with the pre-existing global Redis docs server
disabled, so the tool can only have come from the plugin. `type` is required on
both platforms — Claude Code reads a url without it as a stdio server and skips
it, and OpenAI's own bundled github plugin carries "type": "http". The file has
to sit at the plugin root; Codex did not resolve it from a nested path.

validate:claude-plugins now checks mcpServers entries, which were previously
unvalidated in either inline or path form: a url with no type is fatal at
runtime, so it is now a validation error, along with unknown transports and an
entry defining neither url nor command.

Cursor is not covered. Its marketplace pluginRoot is skills, so every Cursor
plugin is a single skill directory; its declaration ships with the redis-docs-mcp
skill in a follow-up, alongside that skill's eval suite.

Refs RAAE-1835
Drop the AGENTS.md section. That file is the maintainers' guidance for this
repo, and restructuring it is not an outside contributor's call to make; the
constraints it recorded (type is required, the file belongs at the plugin root,
the manifests' versions move together) are already in the commit that added the
server and in the validator that enforces them.

Trim the README down to what someone installing the plugin needs: what the
server is, which channels carry it, and how to add it by hand.

Refs RAAE-1835
@vishal-bala
vishal-bala marked this pull request as ready for review August 24, 2026 07:36

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

Reviewed by Cursor Bugbot for commit e31c126. Configure here.

Comment thread scripts/validate-claude-plugins.mjs Resolved
Resolves the description conflicts in the three manifests by keeping
upstream's Iris wording and appending the docs-lookup clause.

Upstream's Iris release also took 1.5.0, which git merged silently because
both sides made the same edit. 1.5.0 now means that release, so the docs MCP
moves to 1.6.0 across the Claude marketplace and both plugin manifests.

The README channel table said Cursor packages one plugin per skill; upstream
has since consolidated Cursor into a single bundle, so that reason is dropped.
Cursor still does not declare the server, so the row stays "Not yet".
collectMcpServerMaps returned an empty list, with no error, when a referenced
config file parsed but carried no mcpServers object. Path existence still
passed, so a file written with Codex's snake_case mcp_servers key, or with an
array in place of the map, skipped every server check this validator exists
to run. It now reports that case, and a manifest mcpServers value that is
neither a path, an array of paths, nor an object.
Cursor now publishes one redis-development plugin from the same directory as
the Claude Code and Codex plugins, so it can point at the same shared
.mcp.json rather than waiting on a per-skill Cursor plugin.

The shared config keeps "type": "http", which Claude Code requires. Cursor's
published example omits it; the plugin was not installed in Cursor to confirm
it is accepted.

Cursor manifest and marketplace move to 1.6.0 alongside the Claude and Codex
manifests.
validate-codex-plugins never checked the new Codex mcpServers reference, so a
wrong or missing path still passed. It now has to match the Claude manifest's,
whose config the Claude validator checks in full.

The README said the snippet adds the server to any MCP client, but the command
is Claude Code's. It also still called the Codex archive a skills-only
submission, which it stopped being once the directory carried .mcp.json.
The README now says each tool call sends the agent's query text to redis.io and
how to disable the server, so a user under a data policy can decide before it
runs. fetch is described as retrieving a page or a section, which is what a bare
page id and a #sec: id return respectively.

The Codex longDescription gains the docs-lookup clause the other description
fields already had. The validator comment no longer implies Codex's plugin
.mcp.json uses snake_case; only its config.toml does.
@vishal-bala vishal-bala changed the title feat(plugins): bundle the public redis.io docs MCP server feat(plugins): bundle the redis.io docs MCP server in the Claude Code, Codex and Cursor plugins (RAAE-1835) Nov 4, 2026
@vishal-bala

Copy link
Copy Markdown
Contributor Author

These changes have been reviewed as part of #45 and will be merged all at once with those commits - closing this PR.

@vishal-bala vishal-bala closed this Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant