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