MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add argo --env OAUTH_TOKEN='<OAUTH_TOKEN>' --env REFRESH_TOKEN='<REFRESH_TOKEN>' -- npx -y argo-mcp~/.codex/config.toml
[mcp_servers.argo]
command = "npx"
args = ["-y", "argo-mcp"]
env = { OAUTH_TOKEN = "<OAUTH_TOKEN>", REFRESH_TOKEN = "<REFRESH_TOKEN>" }
# codex mcp add argo --env OAUTH_TOKEN='<OAUTH_TOKEN>' --env REFRESH_TOKEN='<REFRESH_TOKEN>' -- npx -y argo-mcp~/.cursor/mcp.json
{
"mcpServers": {
"argo": {
"command": "npx",
"args": [
"-y",
"argo-mcp"
],
"env": {
"OAUTH_TOKEN": "<OAUTH_TOKEN>",
"REFRESH_TOKEN": "<REFRESH_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"argo": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"argo-mcp"
],
"env": {
"OAUTH_TOKEN": "<OAUTH_TOKEN>",
"REFRESH_TOKEN": "<REFRESH_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"argo": {
"command": "npx",
"args": [
"-y",
"argo-mcp"
],
"env": {
"OAUTH_TOKEN": "<OAUTH_TOKEN>",
"REFRESH_TOKEN": "<REFRESH_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"argo": {
"command": "npx",
"args": [
"-y",
"argo-mcp"
],
"env": {
"OAUTH_TOKEN": "<OAUTH_TOKEN>",
"REFRESH_TOKEN": "<REFRESH_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"argo": {
"command": "npx",
"args": [
"-y",
"argo-mcp"
],
"env": {
"OAUTH_TOKEN": "<OAUTH_TOKEN>",
"REFRESH_TOKEN": "<REFRESH_TOKEN>"
}
}
}
}远程托管
claude mcp add --transport http argo https://mcp.argo.games/mcp~/.codex/config.toml
[mcp_servers.argo]
url = "https://mcp.argo.games/mcp"
# codex mcp add argo --url https://mcp.argo.games/mcp~/.cursor/mcp.json
{
"mcpServers": {
"argo": {
"url": "https://mcp.argo.games/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"argo": {
"type": "http",
"url": "https://mcp.argo.games/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"argo": {
"httpUrl": "https://mcp.argo.games/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"argo": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.argo.games/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"argo": {
"url": "https://mcp.argo.games/mcp"
}
}
}需要的环境变量
OAUTH_TOKENREFRESH_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。