Skip to content

docs: Disabling individual MCP server tools - #12806

Merged
igorlukanin merged 2 commits into
masterfrom
docs/mcp-disabled-tools
Nov 15, 2026
Merged

igorlukanin merged 2 commits into
masterfrom
docs/mcp-disabled-tools

Conversation

@igorlukanin

Copy link
Copy Markdown
Member

Summary

Adds step 3, Disable tools, under Admin setup on the MCP server page. It covers:

  • the Disabled tools section on Admin → MCP Server, shown to admins only
  • that the setting applies to every user and to interactive and API-key tokens alike
  • that a change reaches each client with its next access token, within 24 hours
  • that the picker also lists tools behind the interactive views, which break if disabled
  • a warning that the agent behind chat uses its own tools, so disabling an MCP tool doesn't limit it

Limit a token to specific tools now says that disabled tools stay unavailable even when a tool:<name> scope names them.

Test plan

  • Checked the labels and the behavior described against the shipped admin UI and its copy.
  • Ran mint dev: the page renders, the new heading resolves at #3-disable-tools, and the cross-link from Limit a token to specific tools points to it.
  • Ran mint broken-links: no broken links on this page. The 4 links it reports are on other pages and were already broken.

🤖 Generated with Claude Code

@mintlify

mintlify Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
cubed3 🟢 Ready View Preview Nov 15, 2026, 3:31 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@github-actions github-actions Bot added the docs Issues that require a documentation improvement label Nov 15, 2026
@claude

claude Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @igorlukanin's task in 1m 4s —— View job


Review of #12806: no blocking issues. 1 medium, 1 low.

Details
  • Read diff
  • Read full page for context and anchors
  • Review threads
  • Post review

Findings

Medium (inline): docs-mintlify/docs/integrations/mcp-server.mdx:126-128. The chat warning says the agent can still edit the data model when deleteDataModelFile is disabled. That conflicts with :606-608 on the same page, which names the agent's write tools as creating reports and organizing folders. The inline comment suggests using the manageFolders example instead, since :576-578 already documents it.

Low (not posted inline): two statements on the page don't account for admin-disabled tools:

  • :571 still says "The MCP server exposes 30 tools".
  • The Note at :26-27 says which tools a user sees depends only on their role.

A short "or that an admin has disabled" in the Note would cover both.

Checked, no issues

  • Anchors: the heading ### 3) Disable tools matches the new #3-disable-tools link at :393. #authenticate-with-an-api-key, #available-actions and #deployments-and-chat all exist.
  • "Within 24 hours" fits API-key tokens, which last at most one hour (:328).
  • The admin-only wording matches step 2.
  • The scope sentence at :393 sits correctly before the tool:chat note.
  • Docs requirement: this PR is the docs change, so the requirement is met.

Review threads

The listing returned 0 of my own threads, so there was nothing to resolve or re-affirm.

@igorlukanin

Copy link
Copy Markdown
Member Author

@claude

@claude

claude Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @igorlukanin's task in 1m 5s —— View job


Re-review of #12806 after 497d582: no blocking issues. 1 medium.

Details
  • Read the diff and the full page
  • Check that 497d582 addresses the previous finding
  • Review threads (could not run, see below)
  • Post review

Previous finding: addressed

The runQuery example at docs-mintlify/docs/integrations/mcp-server.mdx:127-129 is accurate. The new sentence in the Note at :27-28 also covers the low item from the previous round, the "30 tools" count and "depends on their role".

Medium: the page contradicts "a chat turn over MCP is read-only"

On the earlier thread you wrote that a chat turn over MCP is read-only, so the agent can't write folders, reports, or the model. The rest of the page says the opposite. Four places say it:

  • :395-396: "tool:chat gives access to the whole agent, including the write-capable tools it uses". This sits directly under the line this PR adds at :394.
  • :576-579: folder deletion applies "whether it's manageFolders … or the agent behind chat doing the deleting".
  • :590-592: "A tool annotated read-only can still cause a write once it runs — chat is that case".
  • The Warning at :607-613: the agent has "the same write-capable tools — creating reports, organizing workspace folders", and "can still cause an unconfirmed write through the agent's own reply".

If chat over MCP is read-only, all four passages are wrong and should be corrected in this PR. Readers will otherwise see the new Warning next to text that contradicts what you said. If the passages are right, the new Warning still holds as written, but the earlier thread reply doesn't. The runQuery example is correct either way. Fix this →

Checked, no issues

  • #3-disable-tools is linked from :28 and :394 and matches the heading ### 3) Disable tools.
  • The Note at :27-28 now nests one em-dash aside inside a sentence. It reads fine.

Review threads: not done

The gh list-review-threads, gh reply-to-thread and gh resolve-thread aliases aren't installed in this run (unknown command "list-review-threads"). So I couldn't list my threads, check the finding above for duplicates, or resolve anything. The finding is posted only here, not inline.

My earlier thread on the deleteDataModelFile example at :127-129 is addressed by 497d582 but is still open. Please resolve it by hand. It's my thread, and it also shows your reply about the folder example.

@claude

claude Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @igorlukanin's task in 30s —— View job


Review of #12806 at 497d582: no blocking issues. No new findings; 1 medium from the previous round still open.

Details
  • Read diff and PR conversation
  • Check the new section against the rest of the page
  • Handle prior review threads
  • Post review

This run reviews the same commit as the re-review triggered by @claude. Nothing has changed since then.

Still open from the previous round (medium, not re-posted)

The re-review found a contradiction. Your earlier thread reply said a chat turn over MCP is read-only. The page says the agent behind chat can write, at docs-mintlify/docs/integrations/mcp-server.mdx:395-396, :576-579, :590-592 and the Warning at :605-615. That thread has since been resolved, so I can't reread your reply. The new section matches the current page text: the Warning at :125-131 says the agent uses its own tools. If those four passages are accurate, nothing needs to change in this PR. If chat over MCP really is read-only, those four passages need correcting here.

Checked, no issues

  • #3-disable-tools matches ### 3) Disable tools and is linked from :28 and :394.
  • API-key tokens last at most one hour, so "within 24 hours" holds for them too.
  • Admin-only wording and the Admin → MCP Server path match step 2.
  • Docs requirement: this PR is the docs change.

Review threads

The listing returned 0 unresolved threads of mine. The earlier deleteDataModelFile thread is already resolved, so there was nothing to resolve or re-affirm.

@igorlukanin

Copy link
Copy Markdown
Member Author

Right, those four passages are stale. An MCP chat turn has been read-only for a while: query and read tools only, no folder, report, or model writes. They were wrong before this PR and are tracked as a separate docs fix, so I'm keeping this PR to the new Disable tools step. The new text matches current behavior.

@igorlukanin
igorlukanin merged commit 52e879d into master Nov 15, 2026
14 checks passed
@igorlukanin
igorlukanin deleted the docs/mcp-disabled-tools branch November 15, 2026 15:34

This branch was successfully deployed

1 active deployment
staging - docs-mintlify — 497d5829 Deployed Nov 15, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Issues that require a documentation improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant