302 Custom MCP
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add 302ai-custom -- npx -y @302ai/custom-mcp~/.codex/config.toml
[mcp_servers.302ai-custom]
command = "npx"
args = ["-y", "@302ai/custom-mcp"]
# codex mcp add 302ai-custom -- npx -y @302ai/custom-mcp~/.cursor/mcp.json
{
"mcpServers": {
"302ai-custom": {
"command": "npx",
"args": [
"-y",
"@302ai/custom-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"302ai-custom": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@302ai/custom-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"302ai-custom": {
"command": "npx",
"args": [
"-y",
"@302ai/custom-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"302ai-custom": {
"command": "npx",
"args": [
"-y",
"@302ai/custom-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"302ai-custom": {
"command": "npx",
"args": [
"-y",
"@302ai/custom-mcp"
]
}
}
}