From 7c2461b321ad090731b9f755b1e917f79a9032d5 Mon Sep 17 00:00:00 2001 From: Beon de Nood Date: Tue, 12 May 2026 18:39:05 -0400 Subject: [PATCH] refactor: update docs for CapiscioMCPServer.connect() API rename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - langchain.md: MCPServerIdentity.from_env() → CapiscioMCPServer.connect() - ephemeral-deployment.md: same rename in env var reference section --- docs/how-to/integrations/langchain.md | 2 +- docs/how-to/security/ephemeral-deployment.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/how-to/integrations/langchain.md b/docs/how-to/integrations/langchain.md index c74ccd7..3b826e2 100644 --- a/docs/how-to/integrations/langchain.md +++ b/docs/how-to/integrations/langchain.md @@ -116,7 +116,7 @@ guard = CapiscioGuard( ### `from_env()` class method -Mirrors `CapiscIO.from_env()` and `MCPServerIdentity.from_env()`: +Mirrors `CapiscIO.connect()` and `CapiscioMCPServer.connect()`: ```python guard = CapiscioGuard.from_env(mode="log") diff --git a/docs/how-to/security/ephemeral-deployment.md b/docs/how-to/security/ephemeral-deployment.md index 8abcf04..5ed65a7 100644 --- a/docs/how-to/security/ephemeral-deployment.md +++ b/docs/how-to/security/ephemeral-deployment.md @@ -258,7 +258,7 @@ See [Key Rotation](key-rotation.md) for more advanced patterns. | `CAPISCIO_DEV_MODE` | No | Enable dev mode | | `CAPISCIO_AGENT_PRIVATE_KEY_JWK` | No | Ed25519 private JWK (JSON string) | -### MCP Guard (`MCPServerIdentity.from_env()`) +### MCP Guard (`CapiscioMCPServer.connect()`) | Variable | Required | Description | |----------|----------|-------------|