opencode-mcp 1.0.1 → 1.0.2
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 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# opencode-mcp
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/opencode-mcp)
|
|
4
|
+
[](https://github.com/AlaeddineMessadi/opencode-mcp/blob/main/LICENSE)
|
|
5
|
+
[](https://nodejs.org/)
|
|
6
|
+
[](https://www.npmjs.com/package/opencode-mcp)
|
|
6
7
|
|
|
7
8
|
An [MCP](https://modelcontextprotocol.io/) server that gives any MCP-compatible client full access to a running [OpenCode](https://opencode.ai/) instance. Manage sessions, send prompts, search files, review diffs, configure providers, control the TUI, and more.
|
|
8
9
|
|
package/dist/index.js
CHANGED
|
@@ -46,7 +46,7 @@ const password = process.env.OPENCODE_SERVER_PASSWORD;
|
|
|
46
46
|
const client = new OpenCodeClient({ baseUrl, username, password });
|
|
47
47
|
const server = new McpServer({
|
|
48
48
|
name: "opencode-mcp",
|
|
49
|
-
version: "1.0.
|
|
49
|
+
version: "1.0.2",
|
|
50
50
|
description: "Full-featured MCP server wrapping the OpenCode AI headless HTTP server. " +
|
|
51
51
|
"Provides 60+ tools, resources, and prompts to manage sessions, send " +
|
|
52
52
|
"prompts, search files, configure providers, control the TUI, monitor " +
|
|
@@ -77,7 +77,7 @@ registerPrompts(server);
|
|
|
77
77
|
async function main() {
|
|
78
78
|
const transport = new StdioServerTransport();
|
|
79
79
|
await server.connect(transport);
|
|
80
|
-
console.error(`opencode-mcp v1.0.
|
|
80
|
+
console.error(`opencode-mcp v1.0.2 started (connecting to OpenCode at ${baseUrl})`);
|
|
81
81
|
}
|
|
82
82
|
main().catch((err) => {
|
|
83
83
|
console.error("Fatal error starting opencode-mcp:", err);
|
package/package.json
CHANGED