一键导入
server
OpenCode Server - how to run and manage the OpenCode server for API access and integrations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
OpenCode Server - how to run and manage the OpenCode server for API access and integrations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Commands, man-style CLI flags, and Microsoft.WSL.Containers API for building/running Linux containers via wslc on Windows (no Docker Desktop required).
Run the Antigravity (Gemini) CLI agent harness via the agy binary. Includes interactive session control and exit handling.
Use this skill whenever you need to click, type, or navigate inside a browser window (Edge, Chrome, Firefox, etc.) but the computer-use MCP blocks interaction because the browser is granted at tier 'read'. This skill bypasses that restriction by injecting mouse and keyboard input at the Windows API level via PowerShell and user32.dll—the same technique that worked to navigate Edge to code.visualstudio.com. Trigger this skill any time you see the error 'granted at tier read — visible in screenshots only, no clicks or typing', or any time the user asks you to click or type in a browser and the Claude-in-Chrome extension is not connected.
Python SDK for programmatic control of GitHub Copilot CLI via JSON-RPC
Harden Windows Defender privacy settings for authorized pentest engagements. Disables telemetry uploads, sample submission, and cloud reporting to prevent leaking target info, credentials, and tooling to Microsoft. Includes exclusion management and post-engagement re-enablement.
Specification for building Model Context Protocol servers using Python
| name | server |
| description | OpenCode Server - how to run and manage the OpenCode server for API access and integrations |
| author | Tim Sonner |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"developers","workflow":"server-management","language":"markdown"} |
The OpenCode Server provides API access to OpenCode's capabilities, enabling integrations with other tools, services, and custom frontends.
The OpenCode Server is a backend service that exposes OpenCode's AI coding agent functionality through APIs, allowing you to:
To run the OpenCode Server:
opencode-server start
The server can be configured through:
The OpenCode Server typically provides endpoints for:
POST /agents - Create a new agent instanceGET /agents/{id} - Get agent detailsPUT /agents/{id} - Update agent configurationDELETE /agents/{id} - Delete an agent instancePOST /agents/{id}/prompt - Send a prompt to an agentGET /projects/{id}/files - List project filesPUT /projects/{id}/files/{path} - Update file contentsGET /projects/{id}/files/{path} - Retrieve file contentsPOST /projects/{id}/files/{path} - Create new fileGET /skills - List available skillsPOST /skills - Add new skillsGET /tools - List available toolsPOST /tools - Register custom toolsGET /config - Get server configurationPUT /config - Update server configurationPOST /config/providers - Configure LLM providersThe OpenCode Server supports various authentication methods:
Security features include:
Once the server is running, you can interact with it using:
# Create a new agent
curl -X POST http://localhost:3000/agents \
-H "Content-Type: application/json" \
-d '{"name": "coding-assistant", "skills": ["intro", "usage"]}'
# Send a prompt to the agent
curl -X POST http://localhost:3000/agents/abc123/prompt \
-H "Content-Type: application/json" \
-d '{"prompt": "Explain how to create a REST API in Node.js"}'
# List files in a project
curl -X GET http://localhost:3000/projects/def456/files
# Get contents of a specific file
curl -X GET http://localhost:3000/projects/def456/files/src/main.js
Common server issues and solutions:
For assistance with the OpenCode Server: