About Pieces MCP Net
A C# MCP server that uses Pieces Long-Term Memory to answer questions about the past seven days. It is intended for setups with Pieces installed and its LTM engine enabled, and is built with the Pieces C# SDK.
Key features
- 01Answer questions using Pieces LTM
- 02Access memory from the past seven days
- 03Build as a self-contained single executable
Use cases
- 01Ask questions about recent activity stored in Pieces LTM
- 02Register Pieces memory access in Claude for Desktop
MCP support
Provides an MCP tool that answers questions using Pieces Long-Term Memory for the past seven days.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEPieces 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 -r <platform>
Replace <platform> with the RID of your platform of choice.
This will create a single executable in the Release/net9.0/<platform>/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": "<location>PiecesMCPNet"
}
}
}
Replace <location> 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 LTM <question>
You will need to allow Pieces for the chat or single message in Claude for Desktop.

Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.