If your tool speaks MCP, you can try Belcore's memory and emotion-state chat without writing any code. @belcore/mcp is a small MCP server that exposes it as a tool.
{
"mcpServers": {
"belcore": {
"command": "npx",
"args": ["-y", "@belcore/mcp"],
"env": { "BELCORE_API_KEY": "<your-api-key>" }
}
}
}
In Claude Desktop this goes in claude_desktop_config.json; in Cursor, in ~/.cursor/mcp.json. Restart the client.
Two tools:
belcore_chat: answers from the conversation history you send. It picks the relevant turns from the whole history and returns an updated emotion state.belcore_export_memory: exports memory.
I ran the server directly over MCP's stdio transport against the live API and sent one call:
messages:
user: My cat is named Miso and she hates the vacuum.
assistant: Noted!
user: What is my cat's name?
reply: Your cat's name is Miso!
memory: recent degraded: false
Server info reported belcore 0.1.2, and tools/list returned the two tools above. I did not click through Claude Desktop or Cursor for this post, only the protocol itself.
Belcore does not store conversation text from API calls. You keep the history and send it with each call. With MCP that means the client (your model) has to pass the messages it wants considered, and pass the emotion state back on the next call. This is a good way to try the engine and see what it returns. For a real app that keeps its own conversation database, the libraries are a better fit:
@belcore/ai-sdk
langchain-belcore
memory in the response is "recent" for short conversations and "long-term" when context was selected by searching the whole history.
Drafted with AI assistance; the server was run against the live API before publishing.