Skip to content

[feature request]: ability to dynamic turn on mcp server for specific agent #2953

@zelifish

Description

@zelifish

Hope I'm not doing this wrong, but with this opencode config in version 0.11.1

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "graphql": {
      "type": "local",
      "enabled": false,
      "command": ["bunx", "mcp-graphql"],
      "environment": {
        "ENDPOINT": "http://localhost:13087/graphql"
      }
    }
  }
}

And this agent definition

---
description: test agaent
mode: primary
tools:
  graphql_*: true
---

This is a test agent

My agent can't actually see the graphql mcp tools. I tried various permutations of graphql, graphql*, graphql_*, etc.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions