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
-**Access model**: read-only tools over in-memory DevTools state
105
+
106
+
Available tools:
107
+
108
+
-`list_spans`
109
+
-`get_span`
110
+
-`get_active_spans`
111
+
-`list_clients`
112
+
-`get_metrics`
113
+
-`get_span_tree`
114
+
115
+
This lets coding agents query live observability data (spans/metrics/clients) while you run your Effect app and the DevTools TUI.
116
+
117
+
#### Client setup examples
118
+
119
+
Claude Code (recommended via CLI, no JSON editing):
120
+
121
+
```bash
122
+
claude mcp add --transport http effect-devtui http://localhost:34438/mcp
123
+
```
124
+
125
+
OpenCode (`~/.config/opencode/opencode.json`):
126
+
127
+
```json
128
+
{
129
+
"mcp": {
130
+
"effect-devtools": {
131
+
"type": "remote",
132
+
"url": "http://127.0.0.1:34438/mcp",
133
+
"enabled": true
134
+
}
135
+
}
136
+
}
137
+
```
138
+
96
139
## Comparison with VS Code Extension
97
140
98
141
This TUI complements the VS Code extension by focusing on **observability and code analysis**, while the extension provides debugging capabilities and IDE integration.
0 commit comments