{"_id":"opencode-mcp","_rev":"25-d671d8a26e250fc26829499411a0e6fc","name":"opencode-mcp","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"opencode-mcp","version":"1.0.0","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.0.0","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"6a743c7dcb9160bc1d5ae7024f319598d5098af9","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.0.0.tgz","fileCount":52,"integrity":"sha512-GEtV21IY0px1/tWUxajCDPL0QdO5pThLDzAiyczk+Vd96Lj7fo4y3VqloZ0Ogz/4DmfJeFoIJKb0LX14u29wjA==","signatures":[{"sig":"MEUCIF+3sOip2iD7xswiOKgn9vi6muw+KBq2d6YLHr9wflwxAiEAlwRzyxRWVU/h02vLcj7nSWz+lAprczsn/uUiOw9brkw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155971},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"800d499701055e998c0f647606f5b5ac11d24e61","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"deprecated":"Use 1.0.2 instead","repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 70 tools, 10 resources, 5 prompts for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.0.0_1770572597540_0.8205641782976592","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"opencode-mcp","version":"1.0.1","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.0.1","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"06f2896cca688c9c0faa487af0d8da6b8bc29a78","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.0.1.tgz","fileCount":52,"integrity":"sha512-B6h5Nunx5Jslvi/nPpxzkPxxSmqeyrd5IvleNM6zuOqJBEiHjrJgnLuD8oJJwaUrVgAKw0vDqxSy/NkSAn31Hw==","signatures":[{"sig":"MEUCIQDzOfsWam7dmSkN9Le0QSqGPI/aGKW198Oet5RNt50lNAIgKl8YTJ0wFLTLoFmRlsnW9QmtNNfdqrdVJ6ojNxMfFHg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158325},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"dba60ba15bb7b08b4ed7c5862f8cfc56ed268660","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"deprecated":"Use 1.0.2 instead","repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 70 tools, 10 resources, 5 prompts for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.0.1_1770573200899_0.6569143704795417","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"opencode-mcp","version":"1.0.2","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.0.2","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"f5389e7c2df9294bcd9a381b63261115ceaba8be","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.0.2.tgz","fileCount":52,"integrity":"sha512-D7edZD9ZZKdZj1FYeCKfmnZdHdJAeiiD6X+WMSWu5ymUOwRcPdKNcnpPV0wRp9zYyN+lPWVW54Y7IOfGXDFP+A==","signatures":[{"sig":"MEUCID+StRdeiYic9kM8ICsRk2PT9S9SNWJD0/TIJHY4GQoEAiEA0h/QpsdsmYL0ixPJgJ5JsnBAzzqAjp8M4cOqDpGl/60=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158446},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"cb60b2017448f4f6a59eef2c0dc6dbe0578ff0ad","scripts":{"dev":"tsc --watch","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"deprecated":"Upgrade to v1.1.0 — adds 102 tests","repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 70 tools, 10 resources, 5 prompts for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.0.2_1770573375267_0.5324268439207018","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"opencode-mcp","version":"1.1.0","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.1.0","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"f03d196d9416514e0bf880c6f28e0ae3d4f97fbc","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.1.0.tgz","fileCount":52,"integrity":"sha512-GIt116NHCmFrHzirse3zJWGtK10SKQ+rsS62t47+0XyocWuewoiW1u3Qu7nCYU9PaENiMKIs9KQLMkyKRh/RkA==","signatures":[{"sig":"MEQCIGGjblomCsv1qXabv3Re/VVE8+EIeq9LWu0icwHk89fvAiBfqmxxtBpfYD9DKUmw0TgjBlpfPCqcw9EsO0oomve/AQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":159162},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"7824b5b9e6c745c9ab808f9a7497929a45cb11cf","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"deprecated":"Upgrade to v1.2.0 — adds multi-project support via directory parameter","repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 70 tools, 10 resources, 5 prompts for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.1.0_1770574409975_0.7571564596663554","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"opencode-mcp","version":"1.2.0","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.2.0","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"3f6e74767fed85d56a72c2fe09d22925901fb5eb","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.2.0.tgz","fileCount":52,"integrity":"sha512-CVhDOfY9INKWBvRwhxSpCB3Bf+O0kqyNFRp4CfzJM/X882AqgvkBTNdeGO592Zh5foYodePBMKOwuBNRMHsVuw==","signatures":[{"sig":"MEUCIQCHZMdZkBUfVZGvC1B7uYePoSxe9ZSL8U31d4lNRWKqiwIgBF/tuaa66GpSVoG3XkO5f/6BUjjn14325SvT+O5ATgk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":179246},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"9d80d6283b2cfd5c32b8a7cf94003195fa34dac9","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"deprecated":"Upgrade to v1.3.0 — auto-start support, no more manual opencode serve","repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 71 tools, 10 resources, 5 prompts with multi-project support for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.2.0_1770577746769_0.9934034948427488","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"opencode-mcp","version":"1.3.0","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.3.0","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"c9bf8ef19c4c8350c2a5f1726ee802363ed1f8ba","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.3.0.tgz","fileCount":55,"integrity":"sha512-c13ZLUsRN/HemzLeH7rwvzOivYmSeny99pk13aC7jzi5j5akLjY3XHIE8XDpO5VeY+/sXtD43Afp23tK1qgzig==","signatures":[{"sig":"MEYCIQDeQepJCrwG1xZBaNtsS/d3Q0atUIugfC/GfmZFxEvj+QIhAMR1oHS12oLqWwIaaQW/+SnIFO0eBujOUAY0dJ1T7NnG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":200680},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"6e187e221e19d74d81418fab036a42033e78e707","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"deprecated":"Use v1.4.0 — adds auth error detection, provider probing, token-efficient model listing","repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 71 tools, 10 resources, 5 prompts with multi-project support for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.3.0_1770579202723_0.7588959659517605","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"opencode-mcp","version":"1.4.0","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.4.0","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"a217fab28108cefa612b81b725c192003207d70a","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.4.0.tgz","fileCount":55,"integrity":"sha512-/YIYSE8ExS4qPKBAKiqO2jvbg6qqx0RApFbN8UJZmNlkZu9Qs8DbxVfKgS8Jpr/NblpRruMyvtk7QfvvEqlJAA==","signatures":[{"sig":"MEUCIF9mhs33cBzi9l2MFpI97ANzP3OdwUCXRSEVjF2WDFpXAiEApAAsKzgCLxSN8NlyGLBFnb2xYTomRQzsds38fWhhsvk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":217358},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"13c78a193f76f2b6b23df14e9599242e88a7fb8d","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 72 tools, 10 resources, 5 prompts with multi-project support for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.4.0_1770631146257_0.7796334669532174","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"opencode-mcp","version":"1.5.0","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.5.0","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"3d262fb906db0ae5cee423e48c2e10d91743e0f9","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.5.0.tgz","fileCount":55,"integrity":"sha512-BXvKhIXaHVyiNLEd84XSSml/aPr4vysQcRY1QooKor9o3xYzSZ3cMcHTBsdhDryBCGRY0dXCibyF7r0EOQql2Q==","signatures":[{"sig":"MEYCIQD1kklTlkzsiOV/RmZTRZfECEp0q3xPooWzFwdIEI0DrwIhAL39VOlZYqB/q8qfm1ZkYeaLvV74emWFNIdCo22GEQ7r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":297424},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"9080d554ea9878ccb173f5e6a16533c3f13ca5a2","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 75 tools, 10 resources, 5 prompts with multi-project support for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.5.0_1770651412968_0.33436179534789323","host":"s3://npm-registry-packages-npm-production"}},"1.8.0":{"name":"opencode-mcp","version":"1.8.0","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.8.0","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"ec0064ed8e181fc2eaf2e98d9d4570bed7a6d27c","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.8.0.tgz","fileCount":55,"integrity":"sha512-kwJesS6E6QdqRQGFo0STV0vPfrR5Wd0kzqz4uT0MZZ9OmkJey4r5DE46qFJ7qT0mq20SGW1AmpkK7+WlrrkAFQ==","signatures":[{"sig":"MEUCIQCBy0pjmliW/SXq1uMn4xMYF9mK4Rf0ChtNMuRyizGOAAIgK64rqLV1ZBptriySQmflVKTVx8Dtw9s405VW3SqKD+4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":322369},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"0f9cf72f657c35286315f1aaf6bc5b4e78643812","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 75 tools, 10 resources, 5 prompts with multi-project support for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.8.0_1770684387201_0.9600326427478552","host":"s3://npm-registry-packages-npm-production"}},"1.9.0":{"name":"opencode-mcp","version":"1.9.0","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.9.0","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"fc4888084f119db24ec056c4e05029c7a1c808ce","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.9.0.tgz","fileCount":55,"integrity":"sha512-roWdKqE8/Wpp+4dqqAxwxAbZIKKTSLZ9trkhofLrPRAGAgiWCmO56hMAa1KOWKjnFsj3nl0SBBxvtBHYvGD11A==","signatures":[{"sig":"MEYCIQCMSHYJep+jMqxwxZvPsBpQJxGg7zcjZR3phkautw4oZAIhALPRp+nHLKpc+W2XLiA/ZMi+nwe3mj5CZmYtw3ResRhF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":344074},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"2d31629407eb714cc04c09a7b5531dd55d793fdd","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 75 tools, 10 resources, 5 prompts with multi-project support for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.9.0_1770684972869_0.10170542038146402","host":"s3://npm-registry-packages-npm-production"}},"1.10.0":{"name":"opencode-mcp","version":"1.10.0","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.10.0","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"cd395dc864caa014777a1dd189cf6cae4738fe91","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.10.0.tgz","fileCount":55,"integrity":"sha512-6bjoGOddweBMmpHGfiuKx8SuvuxUbpyGZSwcVPS/7lt3gNk2xJyHMaVN/1hx8sJwf5YM0Eh6NDrVg3FN5R5NVg==","signatures":[{"sig":"MEUCIAsnhofDCj06VnYNDrrtDP33NGZxGv1PNsE0aGGG6ooSAiEA4Z6XOkhhDxEQDdH11aiu3Y7eCTXKvZkhbcw4PBXfZH8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":362345},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"afa70c4d031abe2916af03552a27142ecab640dd","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 79 tools, 10 resources, 6 prompts with multi-project support for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.10.0_1770757444549_0.2894094212906535","host":"s3://npm-registry-packages-npm-production"}},"1.10.1":{"name":"opencode-mcp","version":"1.10.1","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.10.1","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"e551214c08c7622df98d15fc724b3568bc6a59ef","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.10.1.tgz","fileCount":55,"integrity":"sha512-i7jI1BMOlsQXDC1bBg+hznRk3HvM6ZEJP3+DemJ2n1Wifv6SYVPwtvK/1gU4Zpg2+x2BegIsbwvZw+my33tRvw==","signatures":[{"sig":"MEUCIQC86Ek4jujhB93SCKSCILUjuAupT9g+AszX4bvlroHhrAIgPmTHXD5GsHyj5vwb+dg3lP2NAXXTHZ+g1Ff+xdrDdbs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":365372},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"8c6f5c145747743f36359701a2dcf28d5fd99253","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.8.0","description":"MCP server that wraps the OpenCode AI headless server API — 79 tools, 10 resources, 6 prompts with multi-project support for any MCP client","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.10.1_1775778035672_0.5435084791016491","host":"s3://npm-registry-packages-npm-production"}},"1.10.2":{"name":"opencode-mcp","version":"1.10.2","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.10.2","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"cb9356ea6dcd966d451718bbc12fd7e417b773a1","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.10.2.tgz","fileCount":55,"integrity":"sha512-ChbVSurbxArUFWPWwRDkJvAjResr4gI0gPTivkD/SrznYV8zEXc3B5kmWUyLNty00Aw5yTsKZbUNJI2v3Aliqw==","signatures":[{"sig":"MEUCIQC8c9X00l9JnifBvgtma5k9lZ2MrqpSZ6WBMOKfGN/c+AIgDbJeuMMitSV3U4wb32O+9PZ0rzTrdBxBeW8h1iGxIvo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":370862},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"03845fb590b98ab3804636843e4d1317da205d5f","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.12.1","description":"MCP server that wraps the OpenCode AI headless server API — 79 tools, 10 resources, 6 prompts with multi-project support for any MCP client","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.10.2_1779232596982_0.0344536328655527","host":"s3://npm-registry-packages-npm-production"}},"1.11.0":{"name":"opencode-mcp","version":"1.11.0","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@1.11.0","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"0b4c7641ee2f7334d9c5f398f0d090301ec18ea7","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-1.11.0.tgz","fileCount":55,"integrity":"sha512-0eVLo3UHRr0GTCdAZTlX23UL03/yhE5/MYqDpojphPnPjiOz7THefd9M6q6UNTHIZ/6OoHpUubrE93US4ZchAw==","signatures":[{"sig":"MEUCIQDfcZwS/o0sFI9jNK8dd3Pg9YO0y/ZADNtB/CNIl+hiKgIgLby6TUDTtoCUNp6C1GIrhv0ZliQ9k0nwnEM1VKc22RE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":377926},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"4e4db4cc48225ff3ced403e639436669fd28ae51","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","postbuild":"chmod +x dist/index.js","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.12.1","description":"MCP server that wraps the OpenCode AI headless server API — 80 tools, 10 resources, 6 prompts with multi-project support for any MCP client","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@opencode-ai/sdk":"^1.14.46","@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_1.11.0_1779234899599_0.4666510988698853","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"opencode-mcp","version":"2.0.1","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"author":{"name":"Alaeddine Messadi"},"license":"MIT","_id":"opencode-mcp@2.0.1","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"bin":{"opencode-mcp":"dist/index.js"},"dist":{"shasum":"f79fb21d75468a9c66333b5e660f7884ecad51bc","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-2.0.1.tgz","fileCount":55,"integrity":"sha512-SzC8SgTbSsE4lrUGazAvhDlDN2GsbsKQgtMPuWFq3YTNddBPuR25qvNtmmRjkf0I2HuNZ3zSNs5rKDx4mscjyw==","signatures":[{"sig":"MEYCIQCIwvB2ltAEC2OspDZWEK8YiDOVkW7cMKTks0GlqyDSpwIhAJO/E896lBuuvWO8wZvEjjULKtMovZwNROssRCvgXaSa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":383391},"main":"dist/index.js","type":"module","_from":"file:/tmp/opencode-mcp-release-E9TAEq/opencode-mcp-2.0.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","start":"node dist/index.js","pretest":"npm run build","postbuild":"node -e \"require('node:fs').chmodSync('dist/index.js', 0o755)\"","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"_resolved":"/tmp/opencode-mcp-release-E9TAEq/opencode-mcp-2.0.1.tgz","_integrity":"sha512-SzC8SgTbSsE4lrUGazAvhDlDN2GsbsKQgtMPuWFq3YTNddBPuR25qvNtmmRjkf0I2HuNZ3zSNs5rKDx4mscjyw==","repository":{"url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git","type":"git"},"_npmVersion":"11.17.0","description":"MCP server that wraps the OpenCode AI headless server API — 80 tools, 10 resources, 6 prompts with multi-project support for any MCP client","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@opencode-ai/sdk":"^1.18.31","@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/opencode-mcp_2.0.1_1789425421834_0.22596825499147788","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"opencode-mcp","version":"3.0.0","description":"MCP server for OpenCode coding workflows, durable async jobs, project resources, and explicit user input","type":"module","main":"dist/index.js","bin":{"opencode-mcp":"dist/index.js"},"scripts":{"build":"tsc","postbuild":"node -e \"require('node:fs').chmodSync('dist/index.js', 0o755)\"","start":"node dist/index.js","dev":"tsc --watch","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","prepublishOnly":"npm run build","pretest":"npm run build","docs:generate":"npm run build && node scripts/generate-tool-docs.mjs","docs:check":"npm run build && node scripts/generate-tool-docs.mjs --check"},"keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"repository":{"type":"git","url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git"},"homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"author":{"name":"Alaeddine Messadi"},"license":"MIT","engines":{"node":">=22.0.0"},"dependencies":{"@modelcontextprotocol/core":"^2.0.0","@modelcontextprotocol/server":"^2.0.0","@opencode-ai/sdk":"^1.18.31","zod":"^4.6.5"},"devDependencies":{"@modelcontextprotocol/client":"^2.0.0","@modelcontextprotocol/sdk":"^1.30.0","@types/node":"^22.0.0","@vitest/coverage-v8":"^4.1.11","typescript":"^5.7.0","vitest":"^4.0.18"},"types":"./dist/index.d.ts","_id":"opencode-mcp@3.0.0","_integrity":"sha512-39TVPIBRgbbg+n+avo4reRnZz1TMNyi7b4DDt/p5v0XIKeBzYqh5FjacG7yuod9hxmdh5wmXoYPb8cZG0WIAoA==","_resolved":"/tmp/opencode-release-3.0.0/opencode-mcp-3.0.0.tgz","_from":"file:/tmp/opencode-release-3.0.0/opencode-mcp-3.0.0.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-39TVPIBRgbbg+n+avo4reRnZz1TMNyi7b4DDt/p5v0XIKeBzYqh5FjacG7yuod9hxmdh5wmXoYPb8cZG0WIAoA==","shasum":"76ec03d4076b3b6609e9c0cc2d98107bb8fdaeb4","tarball":"https://registry.npmjs.org/opencode-mcp/-/opencode-mcp-3.0.0.tgz","fileCount":79,"unpackedSize":508733,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICS0h82CL3Z+UEWyaiz1J5WlA2bo/neQ0BwNZc+xO/VNAiEAxLelfDSoxyz+3sKZAQq80yrWekmi0K5v6OauIMWP1KQ="}]},"_npmUser":{"name":"almessadi","email":"alaeddine.messadi@gmail.com"},"directories":{},"maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/opencode-mcp_3.0.0_1789550863039_0.7931140147970159"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-08T17:40:13.414Z","modified":"2026-09-16T09:27:43.386Z","2.0.0":"2026-02-08T17:40:13.632Z","1.0.0":"2026-02-08T17:43:17.677Z","1.0.1":"2026-02-08T17:53:21.050Z","1.0.2":"2026-02-08T17:56:15.421Z","1.1.0":"2026-02-08T18:13:30.124Z","1.2.0":"2026-02-08T19:09:06.926Z","1.3.0":"2026-02-08T19:33:22.871Z","1.4.0":"2026-02-09T09:59:06.396Z","1.5.0":"2026-02-09T15:36:53.112Z","1.8.0":"2026-02-10T00:46:27.434Z","1.9.0":"2026-02-10T00:56:13.026Z","1.10.0":"2026-02-10T21:04:04.710Z","1.10.1":"2026-04-09T23:40:35.821Z","1.10.2":"2026-05-19T23:16:37.145Z","1.11.0":"2026-05-19T23:54:59.747Z","2.0.1":"2026-09-14T22:37:02.084Z","3.0.0":"2026-09-16T09:27:43.232Z"},"bugs":{"url":"https://github.com/AlaeddineMessadi/opencode-mcp/issues"},"author":{"name":"Alaeddine Messadi"},"license":"MIT","homepage":"https://github.com/AlaeddineMessadi/opencode-mcp#readme","keywords":["mcp","model-context-protocol","opencode","ai","llm","claude","cursor","windsurf","coding-assistant","headless","server","tools"],"repository":{"type":"git","url":"git+https://github.com/AlaeddineMessadi/opencode-mcp.git"},"description":"MCP server for OpenCode coding workflows, durable async jobs, project resources, and explicit user input","maintainers":[{"name":"almessadi","email":"alaeddine.messadi@gmail.com"}],"readme":"# opencode-mcp\n\n[![npm version](https://img.shields.io/npm/v/opencode-mcp)](https://www.npmjs.com/package/opencode-mcp)\n[![license](https://img.shields.io/github/license/AlaeddineMessadi/opencode-mcp)](LICENSE)\n[![node](https://img.shields.io/node/v/opencode-mcp)](https://nodejs.org/)\n\n**Delegate coding work to OpenCode from your MCP client.**\n\nopencode-mcp connects Claude, Cursor, VS Code, and other MCP clients to OpenCode's headless API. Ask questions, implement features, monitor background work, respond to questions and permissions, and review changes across projects.\n\n> Version 3.0.0 requires **Node.js 22 or newer**. Upgrading from 2.x? See the [migration notes](CHANGELOG.md#300---2026-09-16).\n\n## Quick Start\n\nInstall [OpenCode](https://opencode.ai/docs/) and start its server from your project:\n\n```bash\nopencode serve --hostname 127.0.0.1 --port 4096\n```\n\nIf you use the TUI, start it with `opencode --port 4096` and share that server. Set `OPENCODE_BASE_URL` for another endpoint.\n\nFor Claude Code:\n\n```bash\nclaude mcp add opencode -- npx -y opencode-mcp\n```\n\nFor clients using an `mcpServers` configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"opencode\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"opencode-mcp\"]\n    }\n  }\n}\n```\n\nRestart the client and call `opencode_setup`. Choose a provider from its configured providers, then use `opencode_provider_models` to select a model. Set `OPENCODE_DEFAULT_PROVIDER` and `OPENCODE_DEFAULT_MODEL` together or pass the selected IDs in each prompt call.\n\n[Client-specific configuration](docs/configuration.md) includes VS Code, Windsurf, Continue, Zed, and Amazon Q. To test unreleased changes, [build from source](CONTRIBUTING.md) and configure your client to run `node` with the absolute path to `dist/index.js`.\n\n## Choose a Workflow\n\n| Need | Tools |\n|---|---|\n| Setup and orientation | `opencode_setup`, `opencode_context`, `opencode_provider_models` |\n| Quick question or follow-up | `opencode_ask`, `opencode_reply` |\n| Start work and wait | `opencode_run` |\n| Work in the background | `opencode_fire`, then `opencode_check` or `opencode_wait` |\n| Recover or control a recorded job | `opencode_job_list`, `opencode_job_get`, `opencode_job_cancel` |\n| Resolve required input | `opencode_job_input`, permission and question tools |\n| Review the result | `opencode_review_changes`, `opencode_conversation` |\n\n```javascript\nopencode_fire({\n  directory: \"/absolute/path/to/project\",\n  prompt: \"Add input validation to POST /api/users and run the relevant tests\",\n  providerID: \"<configured-provider>\",\n  modelID: \"<available-model>\"\n})\n// Save the returned job and session IDs; use them to monitor or resume observation.\n```\n\nAsync results distinguish `accepted`, `running`, `input_required`, `completed`, `failed`, `cancelled`, and `unknown`. An observation timeout returns current progress; it does not mean the task failed or was cancelled. Follow the returned state and IDs instead of assuming an absent busy status means success.\n\nModern clients can use the MCP Tasks extension for `opencode_run`. Clients without that extension use ordinary tools, including `opencode_fire` and `opencode_check`. Task status is retrieved by polling; this package does not promise to wake an idle assistant with completion notifications.\n\nTools retain readable text and provide structured results for clients that consume them. Prompt tools accept optional model variants and OpenCode structured-output formats. See the [generated tools reference](docs/tools.md) and [examples](docs/examples.md).\n\n## Multi-Project Use\n\nProject-scoped tools accept `directory`: an absolute path **on the OpenCode server**. POSIX, Windows drive, and UNC paths are preserved across client operating systems. Relative paths are rejected; OpenCode checks existence and access.\n\n`opencode_project_init({path: \"/absolute/local/project\"})` creates or opens a directory on the **MCP host**. For remote OpenCode servers, create the project on that server instead. Authentication tools are global. Resources offer both static reads of the default project and [explicit project/session templates](docs/resources.md).\n\nIndependent sessions do not isolate filesystem changes. Use separate project directories or Git worktrees when running overlapping coding tasks in parallel.\n\n## Configuration\n\nAll settings are optional; an OpenCode server must already be running by default.\n\n| Variable | Purpose |\n|---|---|\n| `OPENCODE_BASE_URL` | Server endpoint; defaults to `http://127.0.0.1:4096` |\n| `OPENCODE_SERVER_USERNAME`, `OPENCODE_SERVER_PASSWORD` | Optional server HTTP authentication |\n| `OPENCODE_AUTO_SERVE` | Set to `true` to opt in to launching a local server |\n| `OPENCODE_DEFAULT_PROVIDER`, `OPENCODE_DEFAULT_MODEL` | Default prompt provider/model pair |\n| `OPENCODE_TOOL_PROFILE` | `full` (default) or a smaller `essential` tool set |\n| `OPENCODE_TASK_STORE` | Override the local directory for persisted job records |\n\nSee [configuration](docs/configuration.md) for storage, permissions, and client setup. Auto-start only supports local loopback HTTP endpoints; custom OpenCode CLI flags require a manually started server.\n\n## Development and Verification\n\n```bash\nnpm ci\nnpm test\nnpm run test:coverage\n```\n\nTests use local fixtures and do not require a model subscription. For controlled live checks against a local OpenCode server:\n\n```bash\nnpm run build\nnode scripts/mcp-smoke-test.mjs\n```\n\nLive smoke checks use a disposable project and owned session. Inference is opt-in with an explicitly selected provider and model. See [live verification and releases](docs/releasing.md) for scope, skipped capabilities, and publishing checks.\n\n## Documentation\n\n- [Getting started](docs/getting-started.md)\n- [Configuration](docs/configuration.md)\n- [Tools reference](docs/tools.md)\n- [Resources](docs/resources.md) and [prompts](docs/prompts.md)\n- [Examples](docs/examples.md)\n- [Architecture](docs/architecture.md)\n- [Contributing](CONTRIBUTING.md) and [releasing](docs/releasing.md)\n\n[MIT license](LICENSE) · [OpenCode API](https://opencode.ai/docs/server/) · [Model Context Protocol](https://modelcontextprotocol.io/)\n","readmeFilename":"README.md"}