OpenCode Peer MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENCODE_PEER_MCP_AUDIT_LOG | No | Override the path of the audit log where denied and allowed writes are recorded. | ~/.opencode-peer-mcp/audit.log |
| OPENCODE_PEER_MCP_WRITE_ENABLED | No | Set to the exact lowercase string "true" to enable write tools. Writes are disabled by default. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| servers_listA | List available OpenCode servers. Without a config file, the local server on this machine is discovered automatically. |
| server_getA | Get one OpenCode server, including its description when configured. Omit the server argument when exactly one server is available. |
| sessions_listA | List sessions on one server. Use this for a single server, including filtered listings; sessions_search is for searches across servers. Omit the server argument when exactly one server is available. |
| session_getA | Get a session by ID from one server. Omit the server argument when exactly one server is available. |
| session_statusC | Get derived status for a session. |
| session_messagesA | Get messages for a session. Returns only the message list; does not fetch session details or status. |
| session_diffA | Get structured diffs for a session turn. Returns only the diff; does not fetch messages or session details. |
| sessions_searchA | Search sessions across all available servers. Returns matching sessions with their ids, titles, and time.updated; no follow-up calls are needed for topic or recency questions. Omit the servers parameter to search every server; do not call servers_list first. |
| sessions_compareA | Compare two sessions. Returns both sessions side by side; does not fetch messages or diffs. Omit a server argument when exactly one server is available. |
| session_createA | Create a session on one server. Omit the server argument when exactly one server is available. |
| session_promptB | Prompt a session on one server. Omit the server argument when exactly one server is available. |
| session_interruptB | Interrupt a session on one server. Omit the server argument when exactly one server is available. |
| session_scheduleA | Schedule a message on a session after a delay. Fire-and-forget: does not survive server restart. For recurring checks, use OpenCode built-in automations. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 13 tools
Descriptions actively carve out boundaries: sessions_list vs sessions_search (single server vs cross-server), session_get vs session_status (raw vs derived), and session_messages/session_diff/sessions_compare each explicitly state what they do NOT return. Similar-sounding pairs (session_prompt vs session_schedule, server_get vs servers_list) are separated by immediate-vs-delayed semantics and cardinality.
The pattern is <noun>_<action> throughout, with a meaningful singular/plural convention: singular session_/server_ for one-entity operations, plural sessions_/servers_ for collection operations. The only rough edges are noun-style suffixes (session_status, session_messages, session_diff) instead of a pure verb, which slightly breaks the verb_noun expectation.
13 tools sit in the sweet spot and each maps to a distinct session lifecycle action (create, prompt, interrupt, schedule, inspect, compare, search). Nothing appears redundant or bolted on.
The session lifecycle is well covered end-to-end — create, prompt, interrupt, schedule, read messages, diff, compare, status, search — plus read access to servers. Missing a session delete/cleanup or rename/update operation, which leaves a dead end for housekeeping tasks.