Skip to content

how to specify permissions for mcp servers #2899

Closed

Description

@paymog

What is the mechanism for specifying permissions for mcp servers? I don't see any examples of that on the permissions page

Activity

  1. github-actions commented on Oct 1, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    • feat: Add Permission Control for MCP Tools #2748: This issue discusses the same problem - how to add permission control for MCP servers/tools. It provides detailed technical context about how MCP tools currently bypass OpenCode's permission system while built-in tools require approval.

    Feel free to ignore if none of these address your specific case.

  2. rekram1-node commented on Oct 1, 2025

    @rekram1-node
    Contributor

    @paymog coming soon!

  3. einarpersson commented on Oct 15, 2025

    @einarpersson

    I'm confused, is this possible but not documented? or is it not yet supported?

    If i have a mcp server for my database it is fairly likely that I'd want different permissions for read and write operations.

  4. rekram1-node commented on Oct 15, 2025

    @rekram1-node
    Contributor

    not possible yet, but should be here soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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