Xpersona
P

Pieces Long-Term Memory (MCP)

CLAWHUB · Unverified

Connect OpenClaw to Pieces via MCP-only (no SSE) and use Pieces as external long-term memory. Use this when the human runs PiecesOS with LTM enabled on anoth... Skill: Pieces Long-Term Memory (MCP) Owner: jackrosspieces Summary: Connect OpenClaw to Pieces via MCP-only (no SSE) and use Pieces as external long-term memory. Use this when the human runs PiecesOS with LTM enabled on anoth... Tags: latest:1.0.3, long term memory:1.0.3, mcp:1.0.3, memory:1.0.3, memory layer:1.0.1, pieces:1.0.3, pieces memory:1.0.1 Version history: v1.0.3 | 2026-03-23T23:05:06.246Z | user No functio

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17bp8xp2qznw8zyt7t8matf9d83fp45:pieces-mcp
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jackrosspieces-pieces-mcp/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

76,721 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

# Pieces Long-Term Memory MCP Skill.md


```markdown
---
name: pieces-mcp
description: >
  Connect OpenClaw to Pieces via MCP-only (no SSE) and use Pieces as external
  long-term memory. Use this when the human runs PiecesOS with LTM enabled on
  another machine and exposes the MCP server via a tunnel (ngrok, custom domain,
  or any HTTPS proxy). This skill tells the agent exactly how to prompt the
  human, configure MCPorter and mcp-remote, use Pieces tools (ask_pieces_ltm,
  create_pieces_memory, *_full_text_search), and troubleshoot common failures.
---

# Pieces MCP Skill for OpenClaw (MCP-Only, No SSE)

This skill teaches you, the OpenClaw agent, how to:

1. Know **when** to use Pieces.
2. Guide the human through tunnel setup (ngrok or custom).
3. Wire OpenClaw to the Pieces MCP server using **only `/mcp`**.
4. Use Pieces tools (`ask_pieces_ltm`, `create_pieces_memory`,
   `*_full_text_search`) in your reasoning.
5. Troubleshoot when something goes wrong.

---

## 0. When to Use This Skill

Trigger this skill when:

- The human mentions **Pieces**, **PiecesOS**, **MCP**, "ask Pieces", or "long-term memory"
  in the context of OpenClaw.
- They say things like:
  - "I want OpenClaw to remember what I worked on."
  - "Hook OpenClaw up to my Pieces long-term memory."
- You see or expect a URL like:
  - `https://...ngrok-free.dev`
  - `https://username.tunnel.company.stream`
  - Any HTTPS URL they say is "the Pieces MCP tunnel".

If none of that is true, you probably don't need this skill.

---

## 1. Mental Model

Think of three components:

- **PiecesOS MCP server (remote machine)**  
  - Runs on the human's other machine.
  - Long-Term Memory (LTM) is enabled.
  - Exposed via an HTTPS tunnel:
    `/model_context_protocol/2025-03-26/mcp`.

- **OpenClaw host (this machine)**  
  - This is where you (the agent) live.
  - Uses **MCPorter** to integrate MCP servers.

- **Bridge: MCPorter + `mcp-remote`**  
  - `mcporter.json` tells MCPorter about MCP servers.
  - `mcp-remote` connects to the remote `/mcp` endpoint and exposes it to
    OpenClaw.

> **Important:** This integration is MCP-only. Do **not** use `/sse`.  
> Always use `/mcp` for both direct calls and the bridge.

---

## 2. Human Checklist (What You Must Confirm)

You must guide/confirm these three things:

1. **PiecesOS + LTM is running** on the remote machine.  
   Say something like:
   > "Make sure PiecesOS is installed and running on your other machine, and that
   > Long-Term Memory (LTM) is enabled in the Pieces Desktop App."

2. **A tunnel is available** to expose the MCP server.  
   Options include:
   - **ngrok** (most common): `ngrok http 39300`
   - **Custom tunnel** (e.g., `username.tunnel.company.stream`)
   - Any HTTPS proxy that forwards to `localhost:39300`

3. **For ngrok specifically, tell them:**

   > "On the machine running PiecesOS, please run this in a terminal:
   >
   > ```bash
   > ngrok http 39300
   > ```
   >
   > If ngrok asks for login or an authtoken, f

_meta.json

{
  "ownerId": "kn7cvxws026kt8gpnjyhvkgyvh83c7jn",
  "slug": "pieces-mcp",
  "version": "1.0.3",
  "publishedAt": 1774307106246
}

skill-card.md

## Description:

Connect OpenClaw to Pieces through MCP so an agent can use PiecesOS long-term memory for retrieval, durable memory creation, configuration, and troubleshooting.

This skill is ready for commercial/non-commercial use.

## Publisher:

[jackrosspieces](https://clawhub.ai/user/jackrosspieces)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent operators use this skill to connect OpenClaw to a remote PiecesOS MCP server, query long-term memory, write durable memory summaries, and troubleshoot MCP connection issues.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can lead users to expose sensitive Pieces long-term memory through a public tunnel.

Mitigation: Use a private or authenticated tunnel instead of a bare public URL, and query or write Pieces memory only when needed.

Risk: The skill asks the agent to make persistent MCPorter configuration changes.

Mitigation: Review the MCPorter configuration change before saving it and avoid unnecessary global npm installation.

Risk: Pieces long-term memory results may contain sensitive context.

Mitigation: Treat retrieved Pieces data as sensitive and limit its use to the user-requested task.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/jackrosspieces/skills/pieces-mcp)
- [Publisher profile](https://clawhub.ai/user/jackrosspieces)

## Skill Output:

**Output Type(s):** [guidance, markdown, code, shell commands, configuration]

**Output Format:** [Markdown guidance with JSON and bash examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Guides agents through human confirmation prompts, MCP endpoint construction, MCPorter configuration, memory query and creation patterns, and troubleshooting.]

## Skill Version(s):

1.0.3 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Pieces Long-Term Memory (MCP) and adjacent AI workflows.