Unofficial MCP server for LegendKeeper. Lets Claude, Copilot, Cursor and other AI assistants read and build your TTRPG worlds: wiki pages as Markdown, infoboxes, map pins, timelines, tags and images. Python, Docker, stdio + HTTP.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add legendkeeper --env LEGENDKEEPER_API_KEY='<LEGENDKEEPER_API_KEY>' -- uvx legendkeeper-mcp~/.codex/config.toml
[mcp_servers.legendkeeper]
command = "uvx"
args = ["legendkeeper-mcp"]
env = { LEGENDKEEPER_API_KEY = "<LEGENDKEEPER_API_KEY>" }
# codex mcp add legendkeeper --env LEGENDKEEPER_API_KEY='<LEGENDKEEPER_API_KEY>' -- uvx legendkeeper-mcp~/.cursor/mcp.json
{
"mcpServers": {
"legendkeeper": {
"command": "uvx",
"args": [
"legendkeeper-mcp"
],
"env": {
"LEGENDKEEPER_API_KEY": "<LEGENDKEEPER_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"legendkeeper": {
"type": "stdio",
"command": "uvx",
"args": [
"legendkeeper-mcp"
],
"env": {
"LEGENDKEEPER_API_KEY": "<LEGENDKEEPER_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"legendkeeper": {
"command": "uvx",
"args": [
"legendkeeper-mcp"
],
"env": {
"LEGENDKEEPER_API_KEY": "<LEGENDKEEPER_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"legendkeeper": {
"command": "uvx",
"args": [
"legendkeeper-mcp"
],
"env": {
"LEGENDKEEPER_API_KEY": "<LEGENDKEEPER_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"legendkeeper": {
"command": "uvx",
"args": [
"legendkeeper-mcp"
],
"env": {
"LEGENDKEEPER_API_KEY": "<LEGENDKEEPER_API_KEY>"
}
}
}
}需要的环境变量
LEGENDKEEPER_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。