piecesmcpnet
An MCP server to interact with Pieces LTM
Documentation
Pieces MCP Net
A C# implementation of MCP (Model context protocol) using Pieces Long-Term Memory powered by the Pieces C# SDK.
This contains an MCP tool that answers questions using the Pieces Long-Term Memory for the past 7 days. This limit is hard coded, but this code can be expanded to make this configurable.
Setup
This requires:
- .NET 9 SDK installed
- Pieces installed, and the LTM engine enabled
Build the code
It is easiest to build and publish a single binary that you can then call from your MCP server. This project is configured for a self-contained single file output.
To build and publish, use this command:
dotnet publish -rReplace `` with the RID of your platform of choice.
This will create a single executable in the `Release/net9.0//publish/` folder called `PiecesMCPNet`
Register with Claude for Desktop
To register this with Claude for Desktop, add the following to your `claude_desktop_config.json` file:
{
"mcpServers": {
"PiecesLTM": {
"command": "PiecesMCPNet"
}
}
}Replace `` with the path to this file.
You can now re-launch Claude for Desktop, and this tool will be registered.
To invoke it, prompt with:
Ask Pieces LTMYou will need to allow Pieces for the chat or single message in Claude for Desktop.

Frequently asked questions
What is piecesmcpnet?
piecesmcpnet is An MCP server to interact with Pieces LTM
How do I install piecesmcpnet?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is piecesmcpnet open source?
Yes — it is hosted on GitHub at https://github.com/jimbobbennett/PiecesMCPNet and has 6 stars.
Related MCP tools
An MCP server that allows MCP clients like Claude Desktop or Cursor to perform actions in the Unity Editor C#-based implementation.
Catalog of official Microsoft MCP (Model Context Protocol) server implementations for AI-powered data access and tool integration
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft. Trusted by 3500+ developers.
Model Context Protocol (MCP) plugin to connect with Unity Editor — designed for OpenAI, Gemini, Claude, Deepseek and Grok interoperability
Playwright MCP server TypeScript-based implementation. Trusted by 22000+ developers. Trusted by 22000+ developers. Trusted by 22000+ developers.
MCP Server for Ghidra Java-based implementation. Trusted by 6400+ developers. Trusted by 6400+ developers. Trusted by 6400+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP