- Home
- MCP servers
- Pieces MCP Net Server
Pieces MCP Net Server
- other
7
GitHub Stars
other
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"jimbobbennett-piecesmcpnet": {
"command": "<location>PiecesMCPNet",
"args": []
}
}
}Pieces MCP Net provides a C# implementation of the Model Context Protocol (MCP) that leverages Pieces Long-Term Memory to answer questions. It runs as a self-contained binary, enabling you to deploy an MCP server that can respond to queries using recent memory from the Pieces LTM engine (past 7 days).
How to use
You run the Pieces MCP Net server locally and connect to it from an MCP client. The server exposes a question‑answer tool that queries the Pieces Long-Term Memory to generate responses based on information from the past week. To invoke it, prompt your MCP client to send a question to the Pieces LTM MCP server and receive a structured answer. The tool is designed to be used as a single, self-contained executable that you register with your MCP client environment.
How to install
Prerequisites you need before installing: .NET 9 SDK installed, Pieces installed, and the LTM engine enabled.
Build and publish a self-contained single-file executable that you can call from your MCP server. Use the following command to publish for your platform:
dotnet publish -r <platform>
Replace <platform> with the RID that matches your operating system and architecture. This will produce a single executable named PiecesMCPNet in the Release/net9.0/<platform>/publish/ folder.
Register the MCP server with your MCP client (Claude for Desktop is shown in the example) by adding an entry to your claude_desktop_config.json file. Use the following snippet as the configuration:
{
"mcpServers": {
"PiecesLTM": {
"command": "<location>PiecesMCPNet"
}
}
}
Additional setup and usage notes
To invoke the MCP server once registered, prompt with: Ask Pieces LTM <question>.
You will need to allow Pieces for the chat or single message in Claude for Desktop for the invocation to work.
Notes on capabilities and limitations
This MCP tool uses the Pieces Long-Term Memory as its data source and has a hard-coded window of 7 days for memory access. The limit is currently fixed, but you can extend the implementation to make this configurable in a future update.
Example of the MCP command path and invocation
Start the server executable from your publish location, then reference it in your MCP client configuration and invoke it with a question using your client’s MCP interface.
Available tools
pieces_ltm_qa
Question-answering tool that uses the Pieces Long-Term Memory to respond to MCP queries based on information from the past 7 days.