{ "$schema": "https://opencode.ai/config.json", "lsp": { "pyright": { // not python! per https://opencode.ai/docs/lsp/#built-in "command": ["uv", "run", "pyright-langserver", "--stdio"] }, "basedpyright": { "command": ["uv", "run", "basedpyright-langserver", "--stdio"], "extensions": [".py"] } }, "mcp": { "serena": { "type": "local", "command": ["serena", "start-mcp-server", "--project-from-cwd"] // "enabled": false }, "Astro docs": { "type": "remote", "url": "https://mcp.docs.astro.build/mcp", "enabled": false }, "context7": { "type": "local", "command": ["npx", "-y", "@upstash/context7-mcp"], "enabled": false } }, "permission": { "skill": { "wf-*": "allow" // "*": "deny" } } }