pathintegral-institute/mcpm.sh

[Feature]: Client: opencode support

Opened this issue · 0 comments

What would you like?

Add a client for opencode.ai, https://github.com/sst/opencode.

Minimal config file ~/.config/opencode/opencode.jsonc

{
  "$schema": "https://opencode.ai/config.jsonc",
  "mcp": {
    "mcpm_github": {
      "type": "local",
      "command": [
        "mcpm",
        "run",
        "github"
      ]
    }
  }
}

Here is documentation of config file.

Side effect: config file is jsonc format, which may need to add a jsonc parser as dependency.

I have tried to use agents to implement it, but I can't guarantee the quality of the code. Anyway maybe I'll open a pr later.

Alternatives

No response

Contribution

  • I can help implement this feature