Jeremiah Lowin Claude commited on
Commit
2c2248b
·
unverified ·
1 Parent(s): 3e1c5ad

Add mirrored component support for proxy servers (#1105)

Browse files

* Add mirrored component support for proxy servers

Prevents enable/disable operations on mirrored components (tools, resources, prompts retrieved from proxy servers). Users must create local copies with .copy() and add them to their server to modify them. Local components take precedence over mirrored ones.

Closes #1102

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update proxy.mdx

---------

Co-authored-by: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. docs/servers/proxy.mdx +2 -0
docs/servers/proxy.mdx CHANGED
@@ -246,6 +246,8 @@ composite_proxy = FastMCP.as_proxy(config, name="Composite Proxy")
246
 
247
  ## Mirrored Components
248
 
 
 
249
  When you access tools, resources, or prompts from a proxy server, they are "mirrored" from the remote server. Mirrored components cannot be modified directly directly since they reflect the state of the remote server. For example, you can not simply "disable" a mirrored component.
250
 
251
  However, you can create a copy of a mirrored component and store it as a new locally-defined component. Local components always take precedence over mirored ones because the proxy server will check its own registry before it attempts to engage the remote server.
 
246
 
247
  ## Mirrored Components
248
 
249
+ <VersionBadge version="2.10.5" />
250
+
251
  When you access tools, resources, or prompts from a proxy server, they are "mirrored" from the remote server. Mirrored components cannot be modified directly directly since they reflect the state of the remote server. For example, you can not simply "disable" a mirrored component.
252
 
253
  However, you can create a copy of a mirrored component and store it as a new locally-defined component. Local components always take precedence over mirored ones because the proxy server will check its own registry before it attempts to engage the remote server.