Do read-only MCP tools use a restricted credential? #80
|
If most tools are read-only, does connecting an agent give it only read access? Can issue history identify the person who changed a status? |
Replies: 1 comment
|
No. Read-only tool annotations describe what each tool does; they do not turn the installation's admin bearer token into a restricted read credential. Nine tools inspect evidence. Treat the token as broad administrative access to the installation. Keep it in trusted secret storage, not a public repository, browser bundle, pasted discussion, or captured context. Ingest keys and optional ingest secrets have a different role: they authenticate collection and cannot substitute for the admin token on MCP or administrative HTTP routes. A client's approval policy can reduce accidental mutations by requiring confirmation or allowing only investigation tools. That is a client-side safeguard, not a server-issued read-only or per-project credential. Always confirm the target project and resource before an approved write, then read the exact target back. Issue lookups are project-scoped, but selecting a project in a tool call is not a separate credential boundary for a shared admin token. Likewise, The public documentation MCP is genuinely separate and read-only without credentials. It cannot reach your installation and should never receive your admin token. See mutation approval, HTTP authentication, and credential handling. |
No. Read-only tool annotations describe what each tool does; they do not turn the installation's admin bearer token into a restricted read credential. Nine tools inspect evidence.
create_projectandupdate_issue_statuschange state using that same administrative connection.Treat the token as broad administrative access to the installation. Keep it in trusted secret storage, not a public repository, browser bundle, pasted discussion, or captured context. Ingest keys and optional ingest secrets have a different role: they authenticate collection and cannot substitute for the admin token on MCP or administrative HTTP routes.
A client's approval policy can reduce accidental mutations by requ…