Skip to content

docs: frameDomains and baseUriDomains for mcp apps#6684

Merged
dianed-square merged 1 commit intomainfrom
docs/csp-support-mcp-apps
Jan 23, 2026
Merged

docs: frameDomains and baseUriDomains for mcp apps#6684
dianed-square merged 1 commit intomainfrom
docs/csp-support-mcp-apps

Conversation

@dianed-square
Copy link
Contributor

@dianed-square dianed-square commented Jan 23, 2026

Summary

This PR documents frameDomains and baseUriDomains CSP configuration options for MCP Apps.

Documentation updates:

  • documentation/docs/tutorials/building-mcp-apps.md:
    • Add frameDomains and baseUriDomains to CSP configuration example
    • Add Content Security Policy Configuration section with table, examples, and security warning

Type of Change

  • Feature
  • Bug fix
  • Refactor / Code quality
  • Performance improvement
  • Documentation
  • Tests
  • Security fix
  • Build / Release
  • Other (specify below)

AI Assistance

  • This PR was created or reviewed with AI assistance

Testing

Manually tested CSP configuration with OpenStreetMap iframe embedding


@dianed-square dianed-square requested a review from a team as a code owner January 23, 2026 23:13
Copilot AI review requested due to automatic review settings January 23, 2026 23:13
Copy link
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

This PR documents two additional Content Security Policy (CSP) configuration options for MCP Apps: frameDomains and baseUriDomains. These options allow developers to configure iframe embedding and base URI restrictions in their MCP App security policies.

Changes:

  • Added frameDomains and baseUriDomains to the CSP configuration example
  • Added a new "Content Security Policy Configuration" section with a detailed table explaining all four CSP options (connectDomains, resourceDomains, frameDomains, baseUriDomains)
  • Included practical examples showing how to embed maps and load CDN resources
  • Added a security warning about minimizing domain allowlists

@github-actions
Copy link
Contributor

github-actions bot commented Jan 23, 2026

PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2026-01-23 23:38 UTC

@dianed-square dianed-square merged commit d58ed85 into main Jan 23, 2026
26 checks passed
@dianed-square dianed-square deleted the docs/csp-support-mcp-apps branch January 23, 2026 23:33
zanesq added a commit that referenced this pull request Jan 26, 2026
* origin/main:
  fix: dispatch ADD_ACTIVE_SESSION event before navigating from "View All" (#6679)
  Speed up Databricks provider init by removing fetch of supported models (#6616)
  fix: correct typos in documentation and Justfile (#6686)
  docs: frameDomains and baseUriDomains for mcp apps (#6684)
  docs: add Remotion video creation tutorial (#6675)
  docs: export recipe and copy yaml (#6680)
  Test against fastmcp (#6666)
  docs: mid-session changes (#6672)
  Fix MCP elicitation deadlock and improve UX (#6650)
  chore: upgrade to rmcp 0.14.0 (#6674)
  [docs] add MCP-UI to MCP Apps blog (#6664)
  ACP get working dir from args.cwd (#6653)
  Optimise load config in UI (#6662)

# Conflicts:
#	ui/desktop/src/components/Layout/AppLayout.tsx
zanesq added a commit that referenced this pull request Jan 27, 2026
…upport

* origin/main: (79 commits)
  fix[format/openai]: return error on empty msg. (#6511)
  Fix: ElevenLabs API Key Not Persisting (#6557)
  Logging uplift for model training purposes (command injection model) [Small change] (#6330)
  fix(goose): only send agent-session-id when a session exists (#6657)
  BERT-based command injection detection in tool calls (#6599)
  chore: [CONTRIBUTING.md] add Hermit to instructions (#6518)
  fix: update Gemini context limits (#6536)
  Document r slash command (#6724)
  Upgrade GitHub Actions to latest versions (#6700)
  fix: Manual compaction does not update context window. (#6682)
  Removed the Acceptable Usage Policy (#6204)
  Document spellcheck toggle (#6721)
  fix: docs workflow cleanup and prevent cancellations (#6713)
  Docs: file bug directly (#6718)
  fix: dispatch ADD_ACTIVE_SESSION event before navigating from "View All" (#6679)
  Speed up Databricks provider init by removing fetch of supported models (#6616)
  fix: correct typos in documentation and Justfile (#6686)
  docs: frameDomains and baseUriDomains for mcp apps (#6684)
  docs: add Remotion video creation tutorial (#6675)
  docs: export recipe and copy yaml (#6680)
  ...

# Conflicts:
#	ui/desktop/src/hooks/useChatStream.ts
katzdave added a commit that referenced this pull request Jan 27, 2026
…ovider

* 'main' of github.com:block/goose:
  fix: Manual compaction does not update context window. (#6682)
  Removed the Acceptable Usage Policy (#6204)
  Document spellcheck toggle (#6721)
  fix: docs workflow cleanup and prevent cancellations (#6713)
  Docs: file bug directly (#6718)
  fix: dispatch ADD_ACTIVE_SESSION event before navigating from "View All" (#6679)
  Speed up Databricks provider init by removing fetch of supported models (#6616)
  fix: correct typos in documentation and Justfile (#6686)
  docs: frameDomains and baseUriDomains for mcp apps (#6684)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants