[FEATURE]:connect with vectorcode #3499

Closed
opened 2026-02-16 17:40:22 -05:00 by yindo · 4 comments
Owner

Originally created by @franroa on GitHub (Dec 12, 2025).

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Hi, I am trying to use vectorcode as context provider for opencode https://github.com/Davidyz/VectorCode

I have no idea how to do it. Would it be a good feature?

Originally created by @franroa on GitHub (Dec 12, 2025). ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Hi, I am trying to use vectorcode as context provider for opencode https://github.com/Davidyz/VectorCode I have no idea how to do it. Would it be a good feature?
yindo added the discussion label 2026-02-16 17:40:22 -05:00
yindo closed this issue 2026-02-16 17:40:22 -05:00
Author
Owner

@rekram1-node commented on GitHub (Dec 12, 2025):

You would prolly wanna make a custom tool that uses it? See custom tools in our docs for reference

@rekram1-node commented on GitHub (Dec 12, 2025): You would prolly wanna make a custom tool that uses it? See custom tools in our docs for reference
Author
Owner

@franroa commented on GitHub (Dec 22, 2025):

Should be solved with this: https://github.com/Davidyz/VectorCode/blob/main/docs/cli.md#mcp-server

Thanks!

@franroa commented on GitHub (Dec 22, 2025): Should be solved with this: https://github.com/Davidyz/VectorCode/blob/main/docs/cli.md#mcp-server Thanks!
Author
Owner

@Gael101 commented on GitHub (Dec 27, 2025):

@franroa Could you share your implementation of the vectorcode mcp server into opencode tools please?
I'm rather new in this and I cant figure out where to start.

@Gael101 commented on GitHub (Dec 27, 2025): @franroa Could you share your implementation of the vectorcode mcp server into opencode tools please? I'm rather new in this and I cant figure out where to start.
Author
Owner

@franroa commented on GitHub (Dec 29, 2025):

Hi @Gael101
I don´t it this will fit your workflow, I am using neovim and vectorcode was written as neovim plugin.
Anyways, what I have is this:

Adding content to the vector database is done via neovim plugin (you can use the cli tool: https://github.com/davidyz/vectorcode/blob/main/docs/cli.md).

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "github": {
      "type": "local",
      "command": [
        "docker",
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ],
      "environment": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "{env:GITHUB_TOKEN}"
      },
      "enabled": true,
      "timeout": 1000
    },

    // ═══════════════════════════════════════════════════════════
    // SEMANTIC CODE SEARCH
    // ═══════════════════════════════════════════════════════════
    "vectorcode": {
      "type": "local",
      "command": ["vectorcode-mcp-server"],
      "timeout": 1000
    }
  }
}
@franroa commented on GitHub (Dec 29, 2025): Hi @Gael101 I don´t it this will fit your workflow, I am using neovim and vectorcode was written as neovim plugin. Anyways, what I have is this: Adding content to the vector database is done via neovim plugin (you can use the cli tool: https://github.com/davidyz/vectorcode/blob/main/docs/cli.md). ``` { "$schema": "https://opencode.ai/config.json", "mcp": { "github": { "type": "local", "command": [ "docker", "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "environment": { "GITHUB_PERSONAL_ACCESS_TOKEN": "{env:GITHUB_TOKEN}" }, "enabled": true, "timeout": 1000 }, // ═══════════════════════════════════════════════════════════ // SEMANTIC CODE SEARCH // ═══════════════════════════════════════════════════════════ "vectorcode": { "type": "local", "command": ["vectorcode-mcp-server"], "timeout": 1000 } } } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3499