Skip to content

[slides] Fix mcp-servers allowed field syntax in slides#23749

Merged
pelikhan merged 1 commit intomainfrom
slides/fix-mcp-allowed-syntax-3be3cb9d8329a6d4
Mar 31, 2026
Merged

[slides] Fix mcp-servers allowed field syntax in slides#23749
pelikhan merged 1 commit intomainfrom
slides/fix-mcp-allowed-syntax-3be3cb9d8329a6d4

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Slide Deck Updates

Changes Made

  • Fixed allowed: "*"allowed: ["*"] in the MCP Servers Configuration slide — the allowed field must be an array per the JSON schema and all other documentation examples

Layout Issues Fixed

  • None detected during manual content review

Content Sources Reviewed

  • Scanned pkg/parser/schemas/mcp_config_schema.json — confirms allowed type is array
  • Reviewed docs/src/content/docs/reference/tools.md and docs/src/content/docs/guides/mcps.md — all examples use ["*"] array syntax
  • Cross-checked the "Containerized, Firewalled MCPs" slide which already used allowed: ["fetch"] (correct)
  • Verified engine list (Copilot, Claude, Codex, Gemini CLI), network config, and command syntax — all accurate

Focus Mode

Global Sweep (default)


Verification: Content manually reviewed against schema definitions and reference documentation.

Generated by Slide Deck Maintainer ·

  • expires on Apr 1, 2026, 4:33 PM UTC

The 'allowed' field in mcp-servers config must be an array (per schema
and all documentation examples), not a bare string. Fix 'allowed: "*"'
to 'allowed: ["*"]' to match correct syntax.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions bot added documentation Improvements or additions to documentation slides labels Mar 31, 2026
@pelikhan pelikhan marked this pull request as ready for review March 31, 2026 16:34
Copilot AI review requested due to automatic review settings March 31, 2026 16:34
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the slide deck’s MCP Servers Configuration example to match the MCP config JSON schema by making allowed an array rather than a scalar string.

Changes:

  • Changed allowed: "*" to allowed: ["*"] in the MCP servers YAML example.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pelikhan pelikhan merged commit f3b265f into main Mar 31, 2026
11 checks passed
@pelikhan pelikhan deleted the slides/fix-mcp-allowed-syntax-3be3cb9d8329a6d4 branch March 31, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation slides

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants