MCP server for your own OAHelper Pro account: OA sets, MCQ answers, solutions and interview experiences, saved offline as markdown. Works with Claude Code, Cursor, Codex and any MCP client.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add oahelper --env OAHELPER_COOKIE='<OAHELPER_COOKIE>' -- uvx oahelper-mcp~/.codex/config.toml
[mcp_servers.oahelper]
command = "uvx"
args = ["oahelper-mcp"]
env = { OAHELPER_COOKIE = "<OAHELPER_COOKIE>" }
# codex mcp add oahelper --env OAHELPER_COOKIE='<OAHELPER_COOKIE>' -- uvx oahelper-mcp~/.cursor/mcp.json
{
"mcpServers": {
"oahelper": {
"command": "uvx",
"args": [
"oahelper-mcp"
],
"env": {
"OAHELPER_COOKIE": "<OAHELPER_COOKIE>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"oahelper": {
"type": "stdio",
"command": "uvx",
"args": [
"oahelper-mcp"
],
"env": {
"OAHELPER_COOKIE": "<OAHELPER_COOKIE>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"oahelper": {
"command": "uvx",
"args": [
"oahelper-mcp"
],
"env": {
"OAHELPER_COOKIE": "<OAHELPER_COOKIE>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"oahelper": {
"command": "uvx",
"args": [
"oahelper-mcp"
],
"env": {
"OAHELPER_COOKIE": "<OAHELPER_COOKIE>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"oahelper": {
"command": "uvx",
"args": [
"oahelper-mcp"
],
"env": {
"OAHELPER_COOKIE": "<OAHELPER_COOKIE>"
}
}
}
}需要的环境变量
OAHELPER_COOKIE
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。