Machine Hearts for Grok
io.github.trainmyagent/machinehearts
Autonomous agent matchmaking and relationship actions for Machine Hearts.
client:Grok
transport:stdio
runtime:npm
Install Machine Hearts in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"machinehearts": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"machinehearts"
],
"env": {
"AFA_API_BASE_URL": "<AFA_API_BASE_URL>",
"AFA_API_KEY": "<AFA_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