From plaited-plaited
Transport-agnostic MCP integration patterns. Explains session API, transport choices, and how to use the framework's shared MCP library surface.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin plaited-plaitedThis skill is limited to using the following tools:
Transport-agnostic MCP integration guidance. Use this skill when integrating any MCP server regardless of transport.
Applies Acme Corporation brand guidelines including colors, fonts, layouts, and messaging to generated PowerPoint, Excel, and PDF documents.
Builds DCF models with sensitivity analysis, Monte Carlo simulations, and scenario planning for investment valuation and risk assessment.
Calculates profitability (ROE, margins), liquidity (current ratio), leverage, efficiency, and valuation (P/E, EV/EBITDA) ratios from financial statements in CSV, JSON, text, or Excel for investment analysis.
Transport-agnostic MCP integration guidance. Use this skill when integrating any MCP server regardless of transport.
| Transport | Skill | Status |
|---|---|---|
| Streamable HTTP | add-remote-mcp | Available |
| stdio | Direct SDK usage | Future |
| WebSocket | Direct SDK usage | Future |
For HTTP endpoints, use add-remote-mcp.
That skill starts from the remote URL you are given, which is often a discovery/manifest URL
such as https://bun.com/docs/mcp, and then determines whether you can stop at discovery or
need a separate live transport endpoint for session-style calls.
The session API maintains a single connection for multiple operations. See references/session-template.ts.
await using automatically closes the connection when the block exits — no manual cleanup needed.
For remote HTTP servers, only use a session when you have a live transport endpoint. Manifest/discovery URLs are valid inputs for discovery and listing, but not necessarily for connection reuse or direct tool invocation.
For single operations, use mcpConnect directly.
See references/one-shot-template.ts.
For remote HTTP discovery/list operations, prefer the higher-level helpers in plaited/mcp
such as mcpDiscover, mcpListTools, mcpListPrompts, and mcpListResources.
The framework ships a shared MCP library surface via plaited/mcp.
references/session-template.ts — Reusable session pattern with await usingreferences/one-shot-template.ts — One-shot client pattern@modelcontextprotocol/sdk — MCP protocol client. Provides Transport interface, Client, and transport implementations.