AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Toolcapsule

mcp-rainsunme-toolcapsule · by RainSunMe

File-first, patchable Agent Skills for heavy MCP tools

No reviews yet
0 installs
6 views
0.0% view→install

Install

$ agentstack add mcp-rainsunme-toolcapsule

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-rainsunme-toolcapsule)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Toolcapsule? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

ToolCapsule

[](https://www.npmjs.com/package/toolcapsule) [](https://github.com/RainSunMe/toolcapsule/actions/workflows/ci.yml) [](LICENSE) [](https://github.com/RainSunMe/toolcapsule)

> Convert MCP servers into lazy Agent Skills. MCP stays the capability layer; Skills become the agent-facing workflow layer.

ToolCapsule takes a heavy MCP server, fetches its tool schemas, and generates a compact Agent Skill with everything the agent needs to call those tools through local files.

MCP server → tcap init → ~/.toolcapsule/profiles/.json + SKILL.md

Why

Large MCP servers bloat agent context: every tool description and schema is visible every turn, even when no tool call is needed. ToolCapsule moves that payload into a Skill the agent reads on demand, and moves call arguments into /tmp files instead of inline JSON.

| | Native MCP | ToolCapsule | |---|---|---| | Tool schemas | Visible every turn | Loaded on demand | | Call args | Inline JSON | /tmp file | | Failed calls | Regenerate everything | Edit file, re-run | | Profile storage | Host-dependent | ~/.toolcapsule/profiles/ |

Quick start

Install the ToolCapsule Skill into your agent:

npx skills add RainSunMe/toolcapsule --skill toolcapsule

The agent will read the Skill, install the CLI, and register your MCP servers. Or do it manually:

npm install -g toolcapsule
tcap init feishu --url https://mcp.feishu.cn/mcp/xxx --target claude

The tcap alias is equivalent to toolcapsule.

CLI

tcap init    --url  | --command  [--arg ] [--target ]
tcap call     '{"key":"value"}' | @/tmp/args.json
tcap tools   [--brief | --names | --json]
tcap schema  

Supported targets: agents (default), copilot, claude, opencode, all.

Workflow

# 1. Register an MCP server — creates profile + Skill
tcap init feishu --url https://mcp.feishu.cn/mcp/xxx --target claude

# 2. Agent reads .claude/skills/feishu-mcp/SKILL.md
#    → sees tool summaries, usage instructions

# 3. Look up details on demand
tcap tools feishu                # compact one-line list
tcap schema feishu create-doc    # compact schema for one tool

# 4. Call with inline JSON for simple args
tcap call feishu fetch-doc '{"doc_id":"https://mi.feishu.cn/docx/..."}'

#    Or call with args in /tmp file for larger payloads
tcap call feishu create-doc @/tmp/tcap-feishu-create-doc.json

# 5. If a file-based call fails — edit /tmp file and re-run step 4

What gets created

~/.toolcapsule/
  profiles/feishu.json          ← transport config (never commit)

.claude/skills/feishu-mcp/
  SKILL.md                      ← Agent Skill (safe to commit)

Auth

ToolCapsule detects authentication requirements automatically:

  • URL-embedded tokens (e.g. Feishu): just pass the full URL to init
  • Header tokens (e.g. API keys): edit ~/.toolcapsule/profiles/.json to add "headers": { "Authorization": "Bearer " }
  • OAuth (e.g. Figma): init auto-discovers the OAuth endpoint and shows the authorization URL

Who is it for

Heavy MCP servers that are:

  • schema-heavy (many tools, long descriptions)
  • document/workflow oriented
  • used occasionally rather than every turn
  • carrying large payloads

Examples: Feishu/Lark, Notion, Figma, Jira, Linear, Confluence, Google Docs, GitHub management tools, internal SaaS MCPs.

Documentation

  • [Concept](docs/concept.md)
  • [Architecture](docs/architecture.md)
  • [Comparison](docs/comparison.md)
  • [Releasing](docs/releasing.md)
  • [Release checklist](docs/release-checklist.md)
  • [Roadmap](ROADMAP.md)

License

MIT

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.