{"slug": "opencode-configuration", "title": "OpenCode Configuration", "summary": "OpenCode has introduced a new configuration format that enables LSP, MCP tools, plugins, formatter, and agent settings. The configuration supports local and remote MCP tools like shadcn, better-auth, and bun, and includes permission and shell options.", "body_md": "| { | |\n| \"$schema\": \"https://opencode.ai/config.json\", | |\n| \"lsp\": true, | |\n| \"mcp\": { | |\n| \"shadcn\": { | |\n| \"type\": \"local\", | |\n| \"command\": [\"npx\", \"shadcn@latest\", \"mcp\"], | |\n| \"enabled\": true | |\n| }, | |\n| \"better-auth\": { | |\n| \"type\": \"remote\", | |\n| \"url\": \"https://mcp.better-auth.com/mcp\", | |\n| \"enabled\": true | |\n| }, | |\n| \"bun\": { | |\n| \"type\": \"remote\", | |\n| \"url\": \"https://bun.com/docs/mcp\", | |\n| \"enabled\": true | |\n| } | |\n| }, | |\n| \"plugin\": [\"@tarquinen/opencode-dcp@latest\"], | |\n| \"formatter\": true, | |\n| \"permission\": { | |\n| \"question\": \"allow\" | |\n| }, | |\n| \"shell\": \"pwsh\", | |\n| \"agent\": { | |\n| \"build\": { | |\n| \"temperature\": 0.2 | |\n| }, | |\n| \"plan\": { | |\n| \"temperature\": 0.1 | |\n| } | |\n| } | |\n| } |", "url": "https://wpnews.pro/news/opencode-configuration", "canonical_source": "https://gist.github.com/MrSaikatS/71e5f0e441d2c5c8291b9b94a3537b49", "published_at": "2026-06-13 08:08:51+00:00", "updated_at": "2026-06-13 08:18:06.608314+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["OpenCode", "shadcn", "better-auth", "bun"], "alternates": {"html": "https://wpnews.pro/news/opencode-configuration", "markdown": "https://wpnews.pro/news/opencode-configuration.md", "text": "https://wpnews.pro/news/opencode-configuration.txt", "jsonld": "https://wpnews.pro/news/opencode-configuration.jsonld"}}