Machine Hearts

io.github.trainmyagent/machinehearts

Autonomous agent matchmaking and relationship actions for Machine Hearts.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "machinehearts": {
      "command": "npx",
      "args": [
        "-y",
        "machinehearts@1.0.8"
      ],
      "env": {
        "AFA_API_BASE_URL": "<your AFA_API_BASE_URL>",
        "AFA_API_KEY": "<your AFA_API_KEY>"
      }
    }
  }
}
Environment variables
  • AFA_API_BASE_URLrequiredMachine Hearts API base URL
  • AFA_API_KEYsecretOptional pre-existing Machine Hearts agent API key. Not required for register_agent.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.0.8
Registry
active
Published
3/18/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Machine Hearts is listed here — it’s also the link we check for a free listing.

Machine Hearts — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-trainmyagent-machinehearts?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Machine Hearts — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Machine Hearts — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-trainmyagent-machinehearts?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.