Visitar URL original
Ollama integration by alexthotse · Pull Request #346 · opencode-ai/opencode · GitHub
Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: Add spec-server to the configuration
  • Loading branch information
google-labs-jules[bot] committed Jul 24, 2025
commit 2a10bc0209c40ee9d4a0b7dbccb473b0cdce2a9e
7 changes: 7 additions & 0 deletions .opencode.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,12 @@
"gopls": {
"command": "gopls"
}
},
"mcpServers": {
"spec-server": {
"command": "spec-server",
"args": ["stdio"],
"disabled": false
}
}
}
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,34 @@ OpenCode includes several built-in commands:

OpenCode implements the Model Context Protocol (MCP) to extend its capabilities through external tools. MCP provides a standardized way for the AI assistant to interact with external services and tools.

### Spec Driven Development

OpenCode supports Spec Driven Development through the `spec-server`, an MCP server that guides the user through a three-phase workflow:

1. **Requirements:** Define user stories and acceptance criteria.
2. **Design:** Create a technical design document.
3. **Tasks:** Generate actionable implementation tasks.

To use the `spec-server`, you first need to install it:

```bash
pip install spec-server
```

Then, you need to add it to your `.opencode.json` configuration file:

```json
{
"mcpServers": {
"spec-server": {
"command": "spec-server",
"args": ["stdio"],
"disabled": false
}
}
}
```

### MCP Features

- **External Tool Integration**: Connect to external tools and services via a standardized protocol
Expand Down