PiyAPI Memory for Grok
io.github.negentro-ai/piyapi
Long-term memory for AI agents: store, search and ask over each user's memories.
client:Grok
transport:stdio
runtime:npm
Install PiyAPI Memory in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"piyapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@piyapi/mcp-server"
],
"env": {
"PIYAPI_API_KEY": "<PIYAPI_API_KEY>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs