GPTaria MCP server, Agent Skills & REST API docs — connect your AI assistant (Claude, Cursor, …) to GPTaria.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add gptaria --env GPTARIA_API_KEY='<GPTARIA_API_KEY>' -- npx -y gptaria-mcp~/.codex/config.toml
[mcp_servers.gptaria]
command = "npx"
args = ["-y", "gptaria-mcp"]
env = { GPTARIA_API_KEY = "<GPTARIA_API_KEY>" }
# codex mcp add gptaria --env GPTARIA_API_KEY='<GPTARIA_API_KEY>' -- npx -y gptaria-mcp~/.cursor/mcp.json
{
"mcpServers": {
"gptaria": {
"command": "npx",
"args": [
"-y",
"gptaria-mcp"
],
"env": {
"GPTARIA_API_KEY": "<GPTARIA_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"gptaria": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gptaria-mcp"
],
"env": {
"GPTARIA_API_KEY": "<GPTARIA_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gptaria": {
"command": "npx",
"args": [
"-y",
"gptaria-mcp"
],
"env": {
"GPTARIA_API_KEY": "<GPTARIA_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"gptaria": {
"command": "npx",
"args": [
"-y",
"gptaria-mcp"
],
"env": {
"GPTARIA_API_KEY": "<GPTARIA_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"gptaria": {
"command": "npx",
"args": [
"-y",
"gptaria-mcp"
],
"env": {
"GPTARIA_API_KEY": "<GPTARIA_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http gptaria https://gptaria.run.tools~/.codex/config.toml
[mcp_servers.gptaria]
url = "https://gptaria.run.tools"
# codex mcp add gptaria --url https://gptaria.run.tools~/.cursor/mcp.json
{
"mcpServers": {
"gptaria": {
"url": "https://gptaria.run.tools"
}
}
}.vscode/mcp.json
{
"servers": {
"gptaria": {
"type": "http",
"url": "https://gptaria.run.tools"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"gptaria": {
"httpUrl": "https://gptaria.run.tools"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"gptaria": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://gptaria.run.tools"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"gptaria": {
"url": "https://gptaria.run.tools"
}
}
}需要的环境变量
GPTARIA_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。