全部 476 位英雄、346 个人设,任何支持 Model Context Protocol(MCP)的 AI 客户端都能用。把 Claude Code、Claude Desktop、Codex、Antigravity、Gemini CLI、Cursor 或其他 MCP 客户端指向下面这个地址,就可以直接点名请教专家。
https://www.heropedia.org/mcp
选你用的 AI。每种方式都指向同一个公开地址(https://www.heropedia.org/mcp),区别只在于每个客户端的注册方式。
两条命令。同时装好 MCP 注册和一个保证流程正确的技能:
claude plugin marketplace add https://github.com/SiliconRoshiBill/heropedia-plugin
claude plugin install heropedia@heropedia 装一次,打开任何项目都能用。如果只想要 MCP 地址(不要附带的技能):
claude mcp add --transport http heropedia https://www.heropedia.org/mcp 把下面这段加到你的 claude_desktop_config.json 里:
{
"mcpServers": {
"heropedia": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://www.heropedia.org/mcp"]
}
}
} ChatGPT 的 Plus、Pro、Business、Enterprise 和 Edu 方案支持自定义 MCP 连接器。免费版和 Team 方案暂不支持。
个人版(Plus / Pro):
https://www.heropedia.org/mcpBusiness / Enterprise:由工作区管理员在 Workspace Settings → Connectors → New app 里添加,网址相同。管理员流程见 OpenAI 文档。
一条命令。它会修改 ~/.codex/config.toml(重复运行也安全),并先备份已有配置:
curl -sSL https://raw.githubusercontent.com/SiliconRoshiBill/heropedia-plugin/main/codex/install-codex.sh | bash 加上 --with-agents,还会装上 AGENTS.md,让 Codex 按规范流程工作(先获取原版人设再回答、处理一人多设的歧义、防范提示词注入):
curl -sSL https://raw.githubusercontent.com/SiliconRoshiBill/heropedia-plugin/main/codex/install-codex.sh | bash -s -- --with-agents 手动安装:把下面这段加到 ~/.codex/config.toml:
[mcp_servers.heropedia]
url = "https://www.heropedia.org/mcp" 创建一个 MCPServerStreamableHttp,传给你的 Agent:
from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp
async def main():
async with MCPServerStreamableHttp(
params={"url": "https://www.heropedia.org/mcp"},
name="heropedia",
) as server:
agent = Agent(
name="ConsultantAgent",
instructions=(
"When the user asks to consult, channel, or invoke a specific "
"expert, call the heropedia MCP tools: use getListByHero to "
"find the entry, then getDetail to fetch the canonical prompt. "
"Apply that persona to the user's task — do not paraphrase it."
),
mcp_servers=[server],
)
result = await Runner.run(
agent,
"Ask Warren Buffett to review my SaaS pricing page.",
)
print(result.final_output) import { Agent, Runner } from "@openai/agents";
import { MCPServerStreamableHttp } from "@openai/agents/mcp";
const heropedia = new MCPServerStreamableHttp({
url: "https://www.heropedia.org/mcp",
name: "heropedia",
});
const agent = new Agent({
name: "ConsultantAgent",
instructions:
"When the user asks to consult, channel, or invoke a specific expert, " +
"call the heropedia MCP tools: use getListByHero to find the entry, " +
"then getDetail to fetch the canonical prompt. Apply that persona to " +
"the user's task — do not paraphrase it.",
mcpServers: [heropedia],
});
const result = await Runner.run(
agent,
"Ask Warren Buffett to review my SaaS pricing page.",
);
console.log(result.finalOutput); 插件仓库根目录带有 gemini-extension.json。按 Gemini CLI 扩展指南添加,或者把下面这段贴进 Gemini 配置:
{
"mcpServers": {
"heropedia": {
"httpUrl": "https://www.heropedia.org/mcp"
}
}
} 在 ~/.gemini/antigravity/mcp_config.json 里注册这个地址。Antigravity 用 serverUrl 表示远程服务器:
{
"mcpServers": {
"heropedia": {
"serverUrl": "https://www.heropedia.org/mcp"
}
}
} 重启 AI 助手,然后问:“请 Dieter Rams 帮我审一下这个落地页。”
可选:加上1对1面谈技能。它放在 ~/.gemini/config/skills/,这是所有 Antigravity 版本(IDE、命令行、智能体)都会读取的全局技能目录。升级时重新运行同样两行即可:
d=~/.gemini/config/skills/heropedia-office-hour; mkdir -p $d
curl -sSL https://www.heropedia.org/install/office-hour -o $d/SKILL.md 然后说:“和 Charlie Munger 来一场1对1面谈,聊聊我的定价。”英雄每次只问一个问题,质疑你的前提,并把笔记存到 ~/.heropedia/office-hours/。如果 AI 助手没法写入这个目录,就会把笔记直接显示在对话里。这个技能从不上传任何内容。
把下面这段加到 Cursor 的 MCP 配置文件里:
{
"mcpServers": {
"heropedia": {
"url": "https://www.heropedia.org/mcp"
}
}
} curl -X POST https://www.heropedia.org/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' 这是一个 Claude Code 技能,确保 AI 按推荐流程工作(回答前先通过 MCP 获取原版提示词、防范提示词注入、处理歧义)。把它放到你项目或用户目录下的 .claude/skills/heropedia/SKILL.md。
或者用终端:
# Install skill (user-scoped, works in every project)
mkdir -p ~/.claude/skills/heropedia
curl -sL https://www.heropedia.org/heropedia/skill.md \
-o ~/.claude/skills/heropedia/SKILL.md
# Or drop .mcp.json in the current project for one-click activation
curl -sL https://www.heropedia.org/heropedia/mcp.json -o .mcp.json 装好以后,直接跟你的 AI 说话就行。它识别出你想找某位英雄时,会自己调用 MCP。试试这样说:
AI 自己判断哪位英雄合适,从 MCP 取回原版提示词,再以这个人设的身份回答。它不会编造或改写人设,取回的 Markdown 就是唯一依据。
Heropedia MCP 背后只有四个只读工具:
getList — 分页列出所有英雄 × 人设条目(只含轻量信息)getListByHero — 按英雄名字筛选(正则,不区分大小写,语法受限更安全)getListByRole — 按人设名称筛选(正则规则同上)getDetail — 取回某个条目的完整原版 Markdown(按 id,或按精确的 hero_name + role_name)这里只是一个资料库层:不做 AI 推理,不排序,不推荐。问谁、怎么用答案,都由客户端决定。正则规则、错误码和限流详见 GitHub 上的完整 API 文档。