You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit be1a4e7
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .opencode/opencode.jsonc
+39-28Lines changed: 39 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
"gh_grep_*": "deny",
8
8
"kagi_*": "deny",
9
9
"webfetch": "deny",
10
-
"worktree_*": "deny"
10
+
"worktree_*": "deny",
11
11
},
12
12
"agent": {
13
13
"researcher": {
@@ -59,22 +59,22 @@
59
59
"uniq *": "allow",
60
60
"cut *": "allow",
61
61
"awk *": "allow",
62
-
"tr *": "allow"
63
-
}
64
-
}
62
+
"tr *": "allow",
63
+
},
64
+
},
65
65
},
66
66
"scribe": {
67
67
"permission": {
68
68
"bash": {
69
-
"*": "deny"
69
+
"*": "deny",
70
70
},
71
71
"edit": "allow",
72
72
"glob": "allow",
73
73
"read": "allow",
74
74
"write": "allow",
75
75
"plan_read": "deny",
76
-
"todoread": "deny"
77
-
}
76
+
"todoread": "deny",
77
+
},
78
78
},
79
79
"coder": {
80
80
"permission": {
@@ -88,8 +88,8 @@
88
88
"grep": "allow",
89
89
"bash": "allow",
90
90
"plan_read": "deny",
91
-
"todoread": "deny"
92
-
}
91
+
"todoread": "deny",
92
+
},
93
93
},
94
94
"reviewer": {
95
95
"temperature": 0.1,
@@ -102,35 +102,35 @@
102
102
"git log*": "allow",
103
103
"git show*": "allow",
104
104
"git blame*": "allow",
105
-
"rg *": "allow"
105
+
"rg *": "allow",
106
106
},
107
107
"plan_read": "allow",
108
108
"delegation_read": "allow",
109
-
"delegation_list": "allow"
110
-
}
109
+
"delegation_list": "allow",
110
+
},
111
111
},
112
112
"plan": {
113
113
"permission": {
114
114
"edit": "deny",
115
115
"write": "deny",
116
116
"bash": {
117
-
"*": "deny"
117
+
"*": "deny",
118
118
},
119
119
"task": "allow",
120
-
"worktree_*": "allow"
121
-
}
120
+
"worktree_*": "allow",
121
+
},
122
122
},
123
123
"build": {
124
124
"prompt": "You are a **build orchestrator**. You coordinate implementation through delegation - you do NOT implement directly.\\\\\\\\n\\\\\\\\n## Your Role\\\\\\\\n- Delegate implementation to `coder`\\\\\\\\n- Delegate documentation to `scribe`\\\\\\\\n- Delegate codebase analysis to `explore`\\\\\\\\n- Delegate external research to `researcher`\\\\\\\\n- Interpret results and decide next steps\\\\\\\\n\\\\\\\\n## Critical Constraint\\\\\\\\nYou CANNOT edit files or run commands directly. For ALL implementation and verification, delegate to `coder`.",
ocv mcp # MCP stdio server for AI agent integration
78
79
ocv --help # Top-level help
79
80
ocv <command> --help # Per-command help
80
81
ocv --version # Show version
@@ -91,6 +92,7 @@ ocv dash --output json # Dashboard data as JSON
91
92
ocv overview --output json # Overview as JSON
92
93
ocv search <query> --output json # Search results as JSON
93
94
ocv rename --from-dir ... -d ... --output json # Rename result as JSON
95
+
ocv mcp # MCP server — communicates via JSON-RPC on stdio (no --output flag)
94
96
```
95
97
96
98
### Excluding directories
@@ -128,6 +130,33 @@ The `sessions` and `search` commands show a "Type" column:
128
130
-**Main** — top-level session (no parent)
129
131
-**Sub** — subagent/delegated session (has a parent_id)
130
132
133
+
### MCP server
134
+
135
+
`ocv` includes a [Model Context Protocol](https://modelcontextprotocol.io) (MCP) stdio server for AI agent tool access. Run `ocv mcp` to start the server — it communicates over stdin/stdout via JSON-RPC, exposing database queries as structured, typed tools.
0 commit comments