Nefesh MCP + A2A Server

Nefesh MCP + A2A Server

nefesh-mcp-server•bynefesh-ai

An MCP server that gives AI agents real-time awareness of human physiological state and returns a unified state with a machine-readable action.

License: MIT•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Accepts sensor data such as heart rate, voice, facial expression, and text sentiment, and returns a unified state with a machine-readable action.
  • •Provides adaptation effectiveness feedback that tells an agent whether its previous approach worked.
  • •Provides an ingest tool that accepts biometric signals and returns a unified state, with `subject_id` for trigger memory.
  • •Provides psychological trigger profiles and timestamped session history with trend.

BEST FOR

  • •AI agents that need real-time awareness of human physiological state while responding.
  • •Self-improving agents that want closed-loop feedback on whether an adaptation reduced stress.
  • •Agents maintaining a psychological trigger profile and reviewing session trends over time.

ABOUT NEFESH-MCP-SERVER

Nefesh MCP + A2A Server is cataloged as an MCP server attributed to nefesh-ai. An MCP server that gives AI agents real-time awareness of human physiological state and returns a unified state with a machine-readable action. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Nefesh MCP + A2A Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What does adaptation_effectiveness tell an agent?

It tells the agent whether its previous approach actually worked; the agent can see effective true or false and adjust strategy.

What kinds of sensor signals can be ingested?

The ingest tool accepts biometric signals such as heart rate, HRV, voice tone, expression, and sentiment, along with subject_id for trigger memory.

Does the server upload video or audio for processing?

No; video and audio uploads are not used, and edge processing runs client-side.

Upstream README

View this exact version on GitHub

README.md · 24172f15c005 · Fetched 2026-11-13 08:09:55 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Nefesh MCP + A2A Server

A Model Context Protocol and Agent-to-Agent (A2A) server that gives AI agents real-time awareness of human physiological state.

What it does

Send sensor data (heart rate, voice, facial expression, text sentiment), get back a unified state with a machine-readable action your agent can follow directly. Zero prompt engineering required.

On the 2nd+ call, the response includes adaptation_effectiveness — telling your agent whether its previous approach actually worked. A closed-loop feedback system for self-improving agents.

Adaptation Effectiveness (Closed-Loop)

Most APIs give you a state. Nefesh tells you whether your reaction to that state actually worked.

On the 2nd+ call within a session, every response includes:

{
  "state": "focused",
  "stress_score": 45,
  "suggested_action": "simplify_and_focus",
  "adaptation_effectiveness": {
    "previous_action": "de-escalate_and_shorten",
    "previous_score": 68,
    "current_score": 45,
    "stress_delta": -23,
    "effective": true
  }
}

Your agent can read effective: true and know its previous de-escalation worked. If effective: false, the agent adjusts its strategy. No other human-state system provides this feedback loop.

Setup

Option A: Connect first, get a key through your agent (fastest)

Add the config without an API key — your agent will get one automatically.

{
  "mcpServers": {
    "nefesh": {
      "url": "https://mcp.nefesh.ai/mcp"
    }
  }
}

Then ask your agent:

"Get me a free Nefesh API key using my email address"

The agent calls request_api_key → you click one email link → the agent picks up the key. No signup form, no manual copy-paste. After that, add the key to your config for future sessions:

{
  "mcpServers": {
    "nefesh": {
      "url": "https://mcp.nefesh.ai/mcp",
      "headers": {
        "X-Nefesh-Key": "nfsh_free_..."
      }
    }
  }
}

Option B: Get a key first, then connect

Sign up at nefesh.ai/signup (1,000 calls/month, no credit card), then add the config with your key:

{
  "mcpServers": {
    "nefesh": {
      "url": "https://mcp.nefesh.ai/mcp",
      "headers": {
        "X-Nefesh-Key": "YOUR_API_KEY"
      }
    }
  }
}

Agent-specific config files

AgentConfig file
Cursor~/.cursor/mcp.json
Windsurf~/.codeium/windsurf/mcp_config.json
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json
Claude Code.mcp.json (project root)
VS Code (Copilot).vscode/mcp.json or ~/Library/Application Support/Code/User/mcp.json
Clinecline_mcp_settings.json (via UI: "Configure MCP Servers")
Continue.dev.continue/config.yaml
Roo Code.roo/mcp.json
Kiro (Amazon)~/.kiro/mcp.json
OpenClaw~/.config/openclaw/mcp.json
JetBrains IDEsSettings > Tools > MCP Server
Zed~/.config/zed/settings.json (uses context_servers)
OpenAI Codex CLI~/.codex/config.toml
Goose CLI~/.config/goose/config.yaml
ChatGPT DesktopSettings > Apps > Add MCP Server (UI)
Gemini CLISettings (UI)
AugmentSettings Panel (UI)
ReplitIntegrations Page (web UI)
LibreChatlibrechat.yaml (self-hosted)
VS Code (Copilot) — uses servers instead of mcpServers
{
  "servers": {
    "nefesh": {
      "type": "http",
      "url": "https://mcp.nefesh.ai/mcp",
      "headers": {
        "X-Nefesh-Key": "<YOUR_API_KEY>"
      }
    }
  }
}
Zed — uses context_servers in settings.json
{
  "context_servers": {
    "nefesh": {
      "settings": {
        "url": "https://mcp.nefesh.ai/mcp",
        "headers": {
          "X-Nefesh-Key": "<YOUR_API_KEY>"
        }
      }
    }
  }
}
OpenAI Codex CLI — uses TOML in ~/.codex/config.toml
[mcp_servers.nefesh]
url = "https://mcp.nefesh.ai/mcp"
Continue.dev — uses YAML in .continue/config.yaml
mcpServers:
  - name: nefesh
    type: streamable-http
    url: https://mcp.nefesh.ai/mcp

All agents connect via Streamable HTTP — no local installation required.

A2A Integration (Agent-to-Agent Protocol v1.0)

Nefesh is also available as an A2A-compatible agent. While MCP handles tool-calling (your agent calls Nefesh), A2A enables agent-collaboration — other AI agents can communicate with Nefesh as a peer.

Agent Card: /.well-known/agent-card.json

A2A Endpoint: POST https://mcp.nefesh.ai/a2a (JSON-RPC 2.0)

A2A SkillDescription
get-human-stateStress state (0-100), suggested_action, adaptation_effectiveness
ingest-signalsSend biometric signals, receive unified state
get-trigger-memoryPsychological trigger profile (active vs resolved)
get-session-historyTimestamped history with trend

Same authentication as MCP — X-Nefesh-Key header or Authorization: Bearer token. Free tier works on both protocols.

Source: nefesh-ai/nefesh-a2a · Docs: nefesh.ai/docs/a2a

MCP Tools

ToolAuthDescription
request_api_keyNoRequest a free API key. You MUST ask the user for their real email first. Do not invent or guess emails. The user receives a verification link they must click. Poll with check_api_key_status until ready.
check_api_key_statusNoPoll for API key activation using the same email the user provided. Returns pending or ready with API key.
get_human_stateYesGet stress state (0-100), suggested_action (maintain/simplify/de-escalate/pause), and adaptation_effectiveness — a closed-loop showing whether your previous action reduced stress.
ingestYesSend biometric signals (heart rate, HRV, voice tone, expression, sentiment, 30+ fields) and get unified state back. Include subject_id for trigger memory.
get_trigger_memoryYesGet psychological trigger profile — which topics cause stress (active) and which have been resolved over time.
get_session_historyYesGet timestamped state history with trend (rising/falling/stable).

How self-provisioning works

Your AI agent can get a free API key autonomously. You only click one email link.

  1. Agent asks you: "What is your email address?"
  2. Agent calls request_api_key(your_real_email). No API key needed for this call.
  3. You receive a verification email and click the link
  4. Agent polls check_api_key_status(your_real_email) every 10 seconds
  5. Once verified, the agent receives the API key and can use all other tools

Important: The agent must use your real, accessible email address. Disposable emails are blocked. The verification link must be clicked by you to activate the key.

Free tier: 1,000 calls/month, all signal types, 10 req/min. No credit card.

Quick test

After adding the config, ask your AI agent:

"What tools do you have from Nefesh?"

It should list the 6 tools above.

Pricing

PlanPriceAPI Calls
Free$01,000/month, no credit card
Solo$25/month50,000/month
EnterpriseCustomCustom SLA

CLI Alternative

Prefer the terminal over MCP? Use the Nefesh CLI (10-32x lower token cost than MCP for AI agents):

npm install -g @nefesh/cli
nefesh ingest --session test --heart-rate 72 --tone calm
nefesh state test --json

GitHub: nefesh-ai/nefesh-cli

Gateway Alternative

Want the AI to adapt automatically? Use the Nefesh Cognitive Compute Router. Change your LLM base URL to gateway.nefesh.ai and the gateway adjusts system prompt and temperature based on biometric state. Three modes: OpenAI-compatible (/v1/chat/completions), Anthropic passthrough (/v1/messages), and Unified Anthropic for any backend. Zero code changes.

GitHub: nefesh-ai/nefesh-gateway

Human State Protocol (HSP)

Nefesh implements and maintains the Human State Protocol, an open specification for exchanging human physiological state between AI systems. HSP defines a standard JSON format for stress scores, behavioral recommendations, and adaptation feedback so any agent can produce or consume human state data interoperably. Apache 2.0.

GitHub: nefesh-ai/human-state-protocol · Docs: nefesh.ai/docs/hsp

Documentation

Privacy

  • No video or audio uploads — edge processing runs client-side
  • No PII stored
  • GDPR/BIPA compliant — cascading deletion via delete_subject
  • Not a medical device — for contextual AI adaptation only

License

MIT — see LICENSE.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Nefesh MCP + A2A Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/nefesh-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent