From plaited-plaited
Generate MCP-backed skills from remote MCP servers (Streamable HTTP). Covers discovery, wrapper generation, skill scaffolding, and authentication seams for HTTP endpoints.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin plaited-plaitedThis skill is limited to using the following tools:
Generate skills from public or simply-authenticated remote MCP servers using the framework's shared
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.
Generate skills from public or simply-authenticated remote MCP servers using the framework's shared
plaited/mcp library surface.
Remote MCP URLs often start as discovery URLs that also accept Streamable HTTP MCP traffic.
For example, https://bun.com/docs/mcp is a valid remote MCP URL for discovery, tool listing,
and direct tool calls.
Use add-protected-remote-mcp instead when the server needs OAuth, rotated refresh material, or a
generic tool-execution wrapper that should resolve secrets from env or Varlock without checked-in
tokens.
Remote MCP integrations commonly begin from one of two URL types:
https://bun.com/docs/mcpThe shared plaited/mcp library accepts either URL type:
mcpDiscover, mcpListTools, mcpListPrompts, mcpListResources
createRemoteMcpSession, remoteMcpConnect, mcpCallTool, mcpGetPrompt, mcpReadResource
If you only have a discovery URL, start by trying it directly. If connection attempts fail, then fall back to discovery/list wrappers or use the advertised capabilities to locate a separate transport endpoint.
bun skills/add-remote-mcp/scripts/run.ts '{"url":"https://bun.com/docs/mcp","operation":{"type":"session-summary"}}'For multiple operations against the same server, use a session when the URL accepts live MCP traffic. See references/session-template.ts.
await using automatically closes the connection when the block exits.
After discovery, evaluate each capability type and generate the appropriate skill structure.
scripts/Tools become executable wrapper scripts. Use references/wrapper-template.ts as a starting point:
mkdir -p skills/search-my-service/scripts
cp skills/add-remote-mcp/references/wrapper-template.ts skills/search-my-service/scripts/search.ts
Edit the constants: MCP_URL, TOOL_NAME, and adjust the input validation if the tool takes
more than query.
Start with the discovery URL the server publishes. If direct execution fails, switch the wrapper to the server's separate transport URL if one is advertised.
MCP prompts are pre-built message templates. Evaluate whether to:
scripts/ — If the prompt is used at runtime.
See references/prompt-template.ts.assets/ or pull scriptsassets/ — Download once and commit.scripts/ — Fetch on demand.
See references/resource-template.ts.Create skills/my-skill/SKILL.md with frontmatter:
---
name: my-skill
description: What this skill does. Use when...
license: ISC
compatibility: Requires bun and network access
allowed-tools: Bash
---
# Check the generated skill against the AgentSkills spec and repo conventions
bun run skills/search-agent-skills/scripts/search.ts '{"query":"SKILL.md frontmatter fields scripts references assets conventions"}'
# Or inspect the remote server directly through the unified add-remote-mcp CLI
bun skills/add-remote-mcp/scripts/run.ts '{"url":"https://bun.com/docs/mcp","operation":{"type":"session-summary"}}'
bun run skills/my-skill/scripts/search.ts '{"query": "test query"}'
No options needed — the default:
const tools = await mcpListTools('https://bun.com/docs/mcp')
Pass custom headers via options. See references/wrapper-template.ts.
| Scenario | Tier | Example |
|---|---|---|
| Public doc search | No auth | modelcontextprotocol.io, agentskills.io |
| SaaS API with API key | Bearer token | You.com, OpenAI |
| Enterprise SSO / IdP | Use add-protected-remote-mcp | Internal services |
| Agent-to-agent (Modnet) | Use add-protected-remote-mcp | Node MCP servers |
references/discovery-template.ts — Capability discovery and tool listingreferences/session-template.ts — Reusable remote session patternreferences/prompt-template.ts — Prompt retrieval examplereferences/resource-template.ts — Resource read examplereferences/wrapper-template.ts — Template for MCP wrapper scripts that import plaited/mcp@modelcontextprotocol/sdk — MCP protocol client (Streamable HTTP transport)StreamableHTTPClientTransportapplication/json and text/event-stream)add-mcp directly with an stdio transport