@rama_nigg/open-cursor 2.3.17 → 2.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -37
- package/dist/cli/mcptool.js +11113 -10594
- package/dist/index.js +12878 -24948
- package/dist/plugin-entry.js +12696 -24766
- package/package.json +3 -3
- package/src/provider/runtime-interception.ts +89 -1
package/README.md
CHANGED
|
@@ -143,49 +143,16 @@ opencode run "your prompt" --model cursor-acp/sonnet-4.5
|
|
|
143
143
|
|
|
144
144
|
## MCP Tool Bridge
|
|
145
145
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
### Configure MCP servers
|
|
149
|
-
|
|
150
|
-
Add to `~/.config/opencode/opencode.json`:
|
|
151
|
-
|
|
152
|
-
```json
|
|
153
|
-
{
|
|
154
|
-
"mcp": {
|
|
155
|
-
"hybrid-memory": {
|
|
156
|
-
"type": "local",
|
|
157
|
-
"command": ["node", "/path/to/mcp-server.js"],
|
|
158
|
-
"environment": {}
|
|
159
|
-
},
|
|
160
|
-
"playwright": {
|
|
161
|
-
"type": "local",
|
|
162
|
-
"command": ["npx", "-y", "@playwright/mcp", "--headless"],
|
|
163
|
-
"environment": {}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
### mcptool CLI
|
|
170
|
-
|
|
171
|
-
Installed automatically with the plugin:
|
|
146
|
+
Any MCP servers already configured in your `opencode.json` work automatically with cursor-acp models — no extra setup needed. The plugin discovers them at startup and injects usage instructions into the system prompt so the model calls them via cursor-agent's Shell tool.
|
|
172
147
|
|
|
173
148
|
```bash
|
|
174
|
-
mcptool servers # list
|
|
149
|
+
mcptool servers # list discovered servers
|
|
175
150
|
mcptool tools [server] # list available tools
|
|
176
|
-
mcptool call hybrid-memory memory_stats # call a tool
|
|
151
|
+
mcptool call hybrid-memory memory_stats # call a tool manually
|
|
177
152
|
mcptool call playwright browser_navigate '{"url":"https://example.com"}'
|
|
178
153
|
```
|
|
179
154
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
### Supported MCP servers
|
|
183
|
-
|
|
184
|
-
Any MCP server using stdio transport works. Tested with:
|
|
185
|
-
- **hybrid-memory** — persistent memory with semantic search
|
|
186
|
-
- **@modelcontextprotocol/server-filesystem** — file operations
|
|
187
|
-
- **@playwright/mcp** — headless browser automation
|
|
188
|
-
- **@modelcontextprotocol/server-everything** — MCP test/reference server
|
|
155
|
+
Any MCP server using stdio transport works. Tested with hybrid-memory, @modelcontextprotocol/server-filesystem, @playwright/mcp, and @modelcontextprotocol/server-everything.
|
|
189
156
|
|
|
190
157
|
## Architecture
|
|
191
158
|
|