This guide explains how to configure the QVeris MCP server and skills in OpenCode at the user level.
OpenCode supports remote Streamable HTTP MCP servers. Add the following server to the global OpenCode configuration; it avoids a local package and Node.js process:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"servers": {
"qveris": {
"type": "remote",
"url": "https://mcp.qveris.ai/mcp",
"oauth": false,
"headers": {
"Authorization": "Bearer your-api-key-here"
}
}
}
}
}
Restart OpenCode and confirm the QVeris tools appear. Use the local stdio fallback below only if remote HTTP is unavailable in the client environment.
OpenCode V2 discovers named MCP servers under mcp.servers and exposes their tools automatically, so this configuration does not need a separate tools allowlist.
You can generate and write the config with QVeris CLI:
qveris mcp configure --target opencode --write --include-key
qveris mcp validate --target opencode
Or configure it manually. The QVeris CLI target writes the OpenCode V2 format below:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"servers": {
"qveris": {
"type": "local",
"command": ["npx", "-y", "@qverisai/mcp"],
"environment": {
"QVERIS_API_KEY": "your-api-key-here"
}
}
}
}
}
Create or edit the global OpenCode config file:
Mac/Linux:
~/.config/opencode/opencode.json
Windows:
%USERPROFILE%\.config\opencode\opencode.json
If you already have an opencode.json file, merge the mcp.servers.qveris entry into the existing servers object.
Download the QVeris MCP/client skill from the GitHub repository:
Repository: https://github.com/QVerisAI/qveris-agent-toolkit/tree/main/skills/qveris
Mac/Linux:
mkdir -p ~/.config/opencode/skill/qveris
curl -sL https://raw.githubusercontent.com/QVerisAI/qveris-agent-toolkit/main/skills/qveris/SKILL.md -o ~/.config/opencode/skill/qveris/SKILL.md
Windows (PowerShell):
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.config\opencode\skill\qveris"
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/QVerisAI/qveris-agent-toolkit/main/skills/qveris/SKILL.md" -OutFile "$env:USERPROFILE\.config\opencode\skill\qveris\SKILL.md"
Your skills directory should look like:
~/.config/opencode/skill/
└── qveris/
└── SKILL.md
/mcp command to see connected serversskill toolOnce configured, reference QVeris in your prompts:
Write a python script that prints the current bitcoin price. use qveris
OpenCode's agent will automatically discover the QVeris skill and MCP server to find and execute the appropriate API tools.
Local stdio MCP Server Not Connecting:
node --versionnpx -y @qverisai/mcpSkills Not Loading:
SKILL.md is spelled in all capsname and descriptionWindows Issues:
npx fails, try using the full path or ensure Node.js is in your PATHWas this page helpful?