oec.sh
v0.4.1Operate your oec.sh Odoo servers, projects and environments with your own API key.
Values you need
| Variable | What it is | |
|---|---|---|
OECSH_API_KEY | required secret | Your oec.sh API key (oec_live_ro_... read only, or oec_live_rw_... full access), from Settings > API Keys. |
OECSH_ALLOW | optional | Opt-in tools, comma separated: destructive, backup-download. Empty by default. |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-server -e 'OECSH_API_KEY=<OECSH_API_KEY>' -- npx -y --package=@oecsh/mcp-server@0.4.1 oecsh-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"--package=@oecsh/mcp-server@0.4.1",
"oecsh-mcp"
],
"command": "npx",
"env": {
"OECSH_API_KEY": "<OECSH_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"--package=@oecsh/mcp-server@0.4.1",
"oecsh-mcp"
],
"command": "npx",
"env": {
"OECSH_API_KEY": "<OECSH_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "OECSH_API_KEY",
"id": "oecsh-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-server": {
"args": [
"-y",
"--package=@oecsh/mcp-server@0.4.1",
"oecsh-mcp"
],
"command": "npx",
"env": {
"OECSH_API_KEY": "${input:oecsh-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "--package=@oecsh/mcp-server@0.4.1", "oecsh-mcp"]
env = { "OECSH_API_KEY" = "<OECSH_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http mcp-server https://mcp.oec.sh/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"mcp-remote",
"https://mcp.oec.sh/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-server": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://mcp.oec.sh/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp-server": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://mcp.oec.sh/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.oec.sh/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Ask the user for: OECSH_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json