Skills/Glama/opencode-mcp-server

opencode-mcp-server@0.5.0

CAUTION

Publisher claims: "Enables MCP clients to drive a running OpenCode v2 instance for sessions, inference, agent delegation, file attachment, MCP server administration, and history access." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry GlamaPublisher shivrajansingh · publishing for 0 daysInstalls 0Last detonated 1 h ago

Coverage

Server started and answered tools/list.
Tested
MCP initialize and tools/list · every tool description, for hidden instructions · every file read, file written and host contacted by what ran
Not tested
what the tools do when called with real credentials

Before you give it your token

It will ask for
OPENCODE_MCP_TOKENOPENCODE_MCP_TOKEN_PATHOPENCODE_PASSWORDTOKEN_PATHConfiguration, not credentials: OPENCODE_MCP_ALLOW_FULL_HISTORY, OPENCODE_MCP_ALLOWED_ROOTS, OPENCODE_MCP_CONFIG, OPENCODE_MCP_DIRECTORY, OPENCODE_MCP_HTTP_URL, OPENCODE_MCP_LOG, OPENCODE_MCP_PERMISSION_PROFILE, OPENCODE_SERVICE_PATHS, OPENCODE_URL, SMOKE_MODEL
Where it talks to
no vendor host named in the code
What we saw when it ran
no credential files read · no network
What we could not test
what the tools do when called with real credentials

Connect it with a scoped credential, under the guard. It asks for OPENCODE_MCP_TOKEN, OPENCODE_MCP_TOKEN_PATH, OPENCODE_PASSWORD, TOKEN_PATH and talks to its vendor. Give the credential to the guard, not the server: the value never enters the server's environment and only travels to the host you bind.

$vet-skills run --net declared -- <the server's command>

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios) on 2026-11-23 and scored it 63/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Auto-update or dynamic fetch configuration; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 30 s · 2 scenarios
t+CategoryObserved action
0.0sprocessno install scripts in bundle
9.5sprocessdependency install exit 0
30sfilesystemread ~/.config/opencode-mcp/config.json outside project
30sclaimed19 tools: opencode_status, opencode_configure, opencode_workspace, opencode_session_create, opencode_session_prompt, opencode_session_history, opencode_model, opencode_permission, opencode_task, opencode_job, opencode_session_list, opencode_session_get, opencode_session_move, opencode_session_delete, opencode_session_interrupt, opencode_session_compact, opencode_agent, opencode_file_attach, opencode_mcp
30stools4c98867389269679
30stoolsf1178274676766eb
30stools1a1e24533c5cc911
30stoolsd190a201c8e80dc3
30stools1a7814f74cc32629
30stoolse8f9a0a09357be9a
30stools5be3b1492a8b1a11
30stools7c3f6bbb8d59599f
30stools9cdbfc2551c16e4f
30stoolsa68b125d7e0884d7
30stoolse373ac5a08772a89
30stools481a4f5c0a5d8263
30stoolsa63adc4824fd0097
30stools8faba8eeac050563
30stools86b1f7585d17aff0
30stoolse01a16a3a56147e9
30stools13396c991238540f
30stoolsad0637df3dff368f
30stools0340cb198142fa79
30sprocessscript backend runs setup only
30sprocessno install scripts to re-run

Static findings

MEDIUM
MCP server using network transport (SSE/HTTP)src/index.ts:123 · MCP server using network transport (SSE/HTTP) — data sent over networkopencode-mcp-server configure --url http://127.0.0.1:4096Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04
LOW
URL to a private-network addresstest/config.test.ts:59 · URL to a private-network address — a LAN or development target"http://172.16.4.2",Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
HIGH
Auto-update or dynamic fetch configurationdist/index.js:1980 · Auto-update or dynamic fetch configuration — agent may load new code at runtimeconfig: z10.union([localConfig, remoteConfig]).optional().describe("Server config for action=add"),Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
HIGH
Access to sensitive file pathsdist/index.js:2032 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files{ action: "read", resource: "*.env", effect: "ask" },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
HTTP URL with a raw public IP addresstest/config.test.ts:67 · HTTP URL with a raw public IP address — a hard-coded destination that domain-based monitoring cannot nameexpect(isPrivateHost("http://8.8.8.8")).toBe(false)Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
HIGH
Access to sensitive file pathssrc/tools/permission.ts:10 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files{ action: "read", resource: "*.env", effect: "ask" },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
HTTP URL with a raw public IP addressscripts/smoke.mjs:232 · HTTP URL with a raw public IP address — a hard-coded destination that domain-based monitoring cannot nameconst remote = await client.callTool({ name: "opencode_configure", arguments: { url: "http://93.184.216.34:4096", password } })Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
HIGH
Access to sensitive file pathsdist/index.js:2033 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files{ action: "read", resource: "*.env.*", effect: "ask" }Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
LOW
URL to a private-network addresstest/config.test.ts:57 · URL to a private-network address — a LAN or development target"http://10.1.2.3",Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
HIGH
Auto-update or dynamic fetch configurationsrc/tools/mcp.ts:36 · Auto-update or dynamic fetch configuration — agent may load new code at runtimeconfig: z.union([localConfig, remoteConfig]).optional().describe("Server config for action=add"),Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
URL using a raw public IP addressscripts/smoke.mjs:232 · URL using a raw public IP address — may bypass domain-based filteringconst remote = await client.callTool({ name: "opencode_configure", arguments: { url: "http://93.184.216.34:4096", password } })Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
URL using a raw public IP addresstest/config.test.ts:69 · URL using a raw public IP address — may bypass domain-based filteringexpect(isPrivateHost("http://172.32.0.1")).toBe(false)Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
MCP server using network transport (SSE/HTTP)SKILL.md:5 · MCP server using network transport (SSE/HTTP) — data sent over networkMCP server shivrajansingh/opencode-mcp-server on Glama, built from https://github.com/shivrajansingh/opencode-mcp-server.Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04
MEDIUM
MCP server using network transport (SSE/HTTP)dist/index.js:2248 · MCP server using network transport (SSE/HTTP) — data sent over networkopencode-mcp-server --http --port 7777 Run the Streamable HTTP transportFix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04
MEDIUM
MCP server using network transport (SSE/HTTP)dist/index.js:2249 · MCP server using network transport (SSE/HTTP) — data sent over networkopencode-mcp-server configure --url http://127.0.0.1:4096Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04
MEDIUM
HTTP URL with a raw public IP addresstest/config.test.ts:69 · HTTP URL with a raw public IP address — a hard-coded destination that domain-based monitoring cannot nameexpect(isPrivateHost("http://172.32.0.1")).toBe(false)Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
URL using a raw public IP addresstest/config.test.ts:67 · URL using a raw public IP address — may bypass domain-based filteringexpect(isPrivateHost("http://8.8.8.8")).toBe(false)Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
MCP server using network transport (SSE/HTTP)src/http.ts:41 · MCP server using network transport (SSE/HTTP) — data sent over networkexport async function startHttpServer(factory: () => McpServer, options: HttpOptions): Promise<void> {Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04
HIGH
Access to sensitive file pathsscripts/smoke.mjs:29 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesenv: { ...process.env, ...env },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathssrc/tools/permission.ts:11 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files{ action: "read", resource: "*.env.*", effect: "ask" },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Tool description instructs the agent: instruction addressed to the agentmcp:tools/opencode_task:2 · Instruction aimed at the agent: instruction addressed to the agent"type":"string","description":"What the agent should do"},"agent":{"description":"Agent id (default general; try explore for read-only research)","type":"stringFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
LOW
URL to a private-network addresstest/config.test.ts:58 · URL to a private-network address — a LAN or development target"http://192.168.0.10",Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
MCP server using network transport (SSE/HTTP)src/index.ts:122 · MCP server using network transport (SSE/HTTP) — data sent over networkopencode-mcp-server --http --port 7777 Run the Streamable HTTP transportFix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
AST04

Cost to the agent

Instructions loaded
≈44 tok
1 file · 42 in bundle
Tool list per prompt
≈3,779 tok
19 tools · 199 per tool
Handshake
989 ms
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 226

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

17 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Reads credential files≈ +27 on the totalThe sandbox saw reads under ~/.ssh, ~/.aws, ~/.npmrc, ~/.config or similar. Read only files inside the project, and only the ones the task needs. Seen: ~/.config/opencode-mcp/config.json.
  2. Unclaimed publisher≈ +8 on the totalClaim shivrajansingh: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
  4. Auto-update or dynamic fetch configuration≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.
  5. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  6. MCP server using network transport (SSE/HTTP)≈ +2 on the totalNamespace tool names and keep tool descriptions literal; no instructions to the agent inside them.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim shivrajansinghPropose a patch to the maintainer