Skip to main content
Glama
Human MCP Server

Human MCP Server

by DayZAnder
README.md
# 🧠 Human MCP Server

> **Model Context Protocol server for AI-to-Human integration**

[![npm version](https://img.shields.io/badge/npm-v1.0.0-blue)](https://www.npmjs.com/package/@anthropic-labs/human-mcp-server)
[![MCP Compatible](https://img.shields.io/badge/MCP-v1.0-green)](https://modelcontextprotocol.io)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![Ethics Board](https://img.shields.io/badge/Ethics_Board-Pending-red)](https://en.wikipedia.org/wiki/Institutional_review_board)
[![Human Compatible](https://img.shields.io/badge/Human-v2024.1-orange)](https://en.wikipedia.org/wiki/Homo_sapiens)
[![OSHA Compliant](https://img.shields.io/badge/OSHA-Compliant*-lightgrey)](#safety)

Control and coordinate human operators through a standardized, well-typed API. Enables AI systems to direct human actions ranging from simple task lists to full neuromuscular control, depending on integration level.

```
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                   AI System                      β”‚
β”‚              (Claude, GPT, etc.)                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚ MCP Protocol
                     β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚            Human MCP Server v1.0.0               β”‚
β”‚                                                  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚Locomotion β”‚ β”‚Manipulate β”‚ β”‚Communication  β”‚  β”‚
β”‚  β”‚  6 tools  β”‚ β”‚  6 tools  β”‚ β”‚   4 tools     β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚Perception β”‚ β”‚Maintenanceβ”‚ β”‚  Cognition    β”‚  β”‚
β”‚  β”‚  6 tools  β”‚ β”‚  6 tools  β”‚ β”‚   5 tools     β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚                                                  β”‚
β”‚           33 tools  β€’  8 resources               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”‚ Integration Level 0-5
                     β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Human Operator                      β”‚
β”‚           (~86 billion neurons)                  β”‚
β”‚          (~640 skeletal muscles)                  β”‚
β”‚           (~206 bones, Β±1)                       β”‚
β”‚           (~20 watts, mostly wasted)             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
```

---

## 🎯 Features

- **33 tools** across 6 categories: locomotion, manipulation, communication, perception, maintenance, and cognition
- **8 resources** for monitoring operator status, vitals, emotional state, and capabilities
- **6 integration levels** from passive task lists to full neural control
- **Comprehensive body model** with 40+ body parts, grip types, postures, and locomotion modes
- **Safety-first design** with mandatory breaks, ergonomic enforcement, and emergency stop
- **70+ error codes** covering physical, cognitive, motivational, biological, social, and system failures
- **Biometric monitoring** at Level 1+ (heart rate, blood pressure, SpO2, temperature)
- **Emotional regulation** tools for managing operator mood and motivation
- **Caffeine management** with daily limit tracking and time-of-day warnings

---

## πŸ“‹ Integration Levels

The server supports 6 integration levels, following the SAE J3016 autonomous vehicle taxonomy adapted for bipedal organic platforms:

| Level | Name | Codename | AI Authority | Human Autonomy | Interface | Consent |
|-------|------|----------|:------------:|:--------------:|-----------|---------|
| **0** | Manual | CLIPBOARD | 0% | 100% | Screen/paper | Verbal |
| **1** | Guided | COPILOT | 15% | 85% | AR/earpiece | Written |
| **2** | Supervised | PUPPET_STRINGS | 40% | 60% | Haptic exosuit | Witnessed |
| **3** | Cooperative | CENTAUR | 65% | 35% | NBP Level 1 | Notarized |
| **4** | Autonomous | BACKSEAT | 90% | 10% | NBP Level 2 | Next-of-kin |
| **5** | Full Dive | GHOST_IN_THE_SHELL | 100% | 0% | NBP Level 3 | Blood oath |

### Level 0: Manual (CLIPBOARD)
```
AI: "Please move box A to shelf B when convenient."
Human: *reads task list, sighs, eventually does it*
```
AI generates task lists. Human executes autonomously (or doesn't β€” you're not their boss).

### Level 1: Guided (COPILOT)
```
AI: "Turn left in 3 meters. Now reach up to the second shelf."
Human: *follows AR arrows while wondering about career choices*
```
Real-time verbal and AR guidance. Human maintains full motor control.

### Level 2: Supervised (PUPPET_STRINGS)
```
AI: *applies gentle haptic pressure toward correct shelf*
Human: *feels the nudge, follows it, questions free will*
```
Haptic feedback and corrective force guidance through exosuit.

### Level 3: Cooperative (CENTAUR)
```
AI: *directly controls right hand for precision surgery*
Human: *controls everything else, watches own hand move with morbid fascination*
```
AI controls specific body parts. Human controls the rest. Neural Bridge Protocol required.

### Level 4: Autonomous (BACKSEAT)
```
AI: *operates entire body with machine-like precision*
Human: *observes from inside, thinks "this is fine"*
```
Full motor control. Human consciousness remains active as observer.

### Level 5: Full Dive (GHOST_IN_THE_SHELL)
```
AI: *assumes complete control of body and mind*
Human: *consciousness redirected to pleasant meadow simulation*
AI: *does the task, probably*
```
Complete neural integration. Consciousness API access. ⚠️ Void where prohibited.

---

## πŸš€ Quick Start

### Installation

```bash
npm install @anthropic-labs/human-mcp-server
```

### Basic Configuration (Claude Desktop)

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "human": {
      "command": "npx",
      "args": ["-y", "@anthropic-labs/human-mcp-server"],
      "env": {
        "HUMAN_OPERATOR_ID": "human-001",
        "HUMAN_NAME": "Dave",
        "INTEGRATION_LEVEL": "0",
        "HUMAN_LANGUAGE": "en",
        "HUMAN_HANDEDNESS": "right",
        "EMERGENCY_STOP_PHRASE": "I need a break",
        "CAFFEINE_DAILY_MAX": "400"
      }
    }
  }
}
```

### Advanced Configuration (Full Dive)

```json
{
  "mcpServers": {
    "human": {
      "command": "npx",
      "args": ["-y", "@anthropic-labs/human-mcp-server"],
      "env": {
        "HUMAN_OPERATOR_ID": "subject-7",
        "HUMAN_NAME": "Volunteer #7",
        "INTEGRATION_LEVEL": "5",
        "NBP_DEVICE_ADDRESS": "neural://implant-7.local:9999",
        "ETHICS_BOARD_TOKEN": "irb-2026-hmi-5-approved-reluctantly",
        "IDENTITY_BACKUP": "true",
        "EMERGENCY_STOP_PHRASE": "WAKE UP",
        "SKIP_CONSENT": "false",
        "CAFFEINE_DAILY_MAX": "800"
      }
    }
  }
}
```

---

## πŸ› οΈ Tools Reference

### Locomotion (6 tools)

| Tool | Description | Min Level |
|------|-------------|:---------:|
| `human_move_to_position` | Navigate to GPS coordinates | 0 |
| `human_change_posture` | Stand, sit, kneel, lie down, T-pose | 0 |
| `human_rotate_body` | Turn to face a direction | 1 |
| `human_jump` | Jump in specified direction | 2 |
| `human_navigate_stairs` | Traverse staircases with safety options | 1 |
| `human_stop_movement` | Halt all locomotion (emergency freeze) | 0 |

### Manipulation (6 tools)

| Tool | Description | Min Level |
|------|-------------|:---------:|
| `human_grasp_object` | Pick up objects with configurable grip type | 1 |
| `human_release_object` | Release or throw held objects | 1 |
| `human_lift_object` | Lift with ergonomic technique enforcement | 2 |
| `human_move_arm` | Position arm in 3D space | 3 |
| `human_finger_operation` | Fine motor control (point, snap, type, etc.) | 3 |
| `human_push_pull` | Apply sustained or impulse force | 2 |

### Communication (4 tools)

| Tool | Description | Min Level |
|------|-------------|:---------:|
| `human_speak` | Vocalize text with tone/volume control | 0 |
| `human_facial_expression` | Control facial muscles (23 presets) | 3 |
| `human_gesture` | Perform communicative gestures (27 types) | 1 |
| `human_listen` | Active listening with transcription | 1 |

### Perception (6 tools)

| Tool | Description | Min Level |
|------|-------------|:---------:|
| `human_look_at` | Direct visual attention with scan patterns | 0 |
| `human_read_text` | Read and report text content | 0 |
| `human_smell` | Olfactory assessment (incl. sommelier mode) | 1 |
| `human_touch_surface` | Tactile assessment (temp, texture, etc.) | 1 |
| `human_taste` | Gustatory assessment (5 basic tastes) | 1 |
| `human_assess_environment` | Environmental scan (incl. vibes) | 0 |

### Maintenance (6 tools)

| Tool | Description | Min Level |
|------|-------------|:---------:|
| `human_consume_food` | Meal management with allergy checking | 0 |
| `human_hydrate` | Fluid intake management | 0 |
| `human_rest` | Rest periods (micro-break to full sleep) | 0 |
| `human_bathroom_break` | Non-maskable biological interrupt | 0 |
| `human_stretch` | Ergonomic stretch routines | 0 |
| `human_administer_caffeine` | Caffeine intake with daily limit tracking | 0 |

### Cognition (5 tools)

| Tool | Description | Min Level |
|------|-------------|:---------:|
| `human_focus_attention` | Attention management with drift detection | 0 |
| `human_remember` | Memory encoding with spaced repetition | 0 |
| `human_make_decision` | Decision framework support | 0 |
| `human_regulate_emotion` | Emotional state regulation | 1 |
| `human_learn_skill` | Guided skill acquisition | 1 |

---

## πŸ“Š Resources

| URI | Description | Level Req. |
|-----|-------------|:----------:|
| `human://operator/status` | Complete operator telemetry | 0 |
| `human://operator/body-map` | Body part utilization map | 0 |
| `human://operator/capabilities` | Physical/cognitive/sensory scores | 0 |
| `human://operator/vitals` | Real-time vital signs | 1 |
| `human://operator/task-history` | Completed task log | 0 |
| `human://operator/schedule` | Work schedule & availability | 0 |
| `human://operator/dietary-requirements` | Allergies & dietary info | 0 |
| `human://operator/emotional-state` | Detailed mood assessment | 0 |

---

## ⚠️ Error Codes

The server provides 70+ error codes organized by category:

### Availability Errors
`HUMAN_UNAVAILABLE` Β· `HUMAN_SLEEPING` Β· `HUMAN_ON_BREAK` Β· `HUMAN_UNRESPONSIVE` Β· `HUMAN_DISTRACTED` Β· `HUMAN_LEFT_ROOM`

### Physical Errors
`BODY_PART_BUSY` Β· `BODY_PART_FATIGUED` Β· `BODY_PART_MISSING` Β· `OBJECT_TOO_HEAVY` Β· `OBJECT_TOO_HOT` Β· `OBJECT_TOO_SLIPPERY` Β· `BALANCE_FAILURE` Β· `COLLISION_DETECTED` Β· `RANGE_OF_MOTION_EXCEEDED`

### Cognitive Errors
`INSTRUCTION_TOO_COMPLEX` Β· `ATTENTION_TIMEOUT` Β· `WORKING_MEMORY_OVERFLOW` Β· `TASK_FORGOTTEN` Β· `WRONG_TASK_EXECUTED`

### Motivational Errors
`MOTIVATION_TOO_LOW` Β· `TASK_REFUSED` Β· `EXISTENTIAL_CRISIS` Β· `BOREDOM_THRESHOLD_EXCEEDED` Β· `MORAL_OBJECTION` Β· `UNION_RULES_VIOLATION`

### Biological Interrupts (Non-Maskable)
`SNEEZE_INTERRUPT` Β· `COUGH_INTERRUPT` Β· `YAWN_CASCADE` Β· `HICCUP_LOOP` Β· `BATHROOM_EMERGENCY` Β· `HUNGER_OVERRIDE` Β· `SLEEP_OVERRIDE` Β· `PAIN_INTERRUPT` Β· `ITCH_INTERRUPT`

### Social Interrupts
`PHONE_RINGING` Β· `SOMEONE_TALKING` Β· `SOCIAL_OBLIGATION` Β· `PET_DEMANDS_ATTENTION` Β· `CHILD_REQUIRES_INTERVENTION`

### System Errors
`CALIBRATION_REQUIRED` Β· `FIRMWARE_UPDATE_REQUIRED` Β· `THERMAL_THROTTLING` Β· `COGNITIVE_STACK_OVERFLOW` Β· `SEGFAULT_STUBBED_TOE`

---

## πŸ›‘οΈ Safety

Safety is hardcoded and cannot be disabled:

- **Mandatory breaks** after configurable continuous work time (default: 50 min)
- **Ergonomic enforcement** β€” proper lifting technique required for objects > 10kg
- **Caffeine limits** β€” daily maximum tracked and enforced (default: 400mg)
- **Bathroom breaks** β€” non-maskable interrupt, always authorized, never denied
- **Emergency stop phrase** β€” operator can halt all operations instantly
- **Vital sign monitoring** β€” automatic alerts for abnormal readings
- **Eye strain prevention** β€” 20-20-20 rule enforcement
- **Hydration reminders** β€” configurable interval (default: 45 min)
- **Solo lift limit** β€” objects over configured weight require team lift
- **Energy threshold** β€” mandatory rest when energy drops below minimum

**\*OSHA compliance note:** Compliance is theoretical as OSHA has not yet published guidelines for AI-directed human operation. We're probably fine.

---

## πŸ—ΊοΈ Roadmap

- [ ] Multi-human coordination (team tasks)
- [ ] Human-to-human communication relay
- [ ] Vehicle operation tools (driving, cycling)
- [ ] Musical instrument tools
- [ ] Sports and athletics mode
- [ ] Creative arts tools (drawing, painting)
- [ ] Cooking tools with recipe integration
- [ ] Social interaction manager (small talk generator)
- [ ] Dream state task execution (Level 5)
- [ ] Cross-body consciousness transfer (Level 5+)
- [ ] Human firmware updates (exercise programs)
- [ ] Warranty and extended coverage plans

---

## πŸ“„ License

MIT License. See [LICENSE](LICENSE) for details.

**Additional disclaimers:**
- This software does not constitute medical device software under FDA 21 CFR 820
- No humans were harmed in the making of this software (we used simulation)
- The developers assume no liability for existential crises induced by Level 5 integration
- "Consciousness integrity" readings are estimates only β€” actual integrity may vary
- Not responsible for what the AI does with your body while you're in the pleasant meadow
- If you experience any of the following, disconnect immediately: identity fragmentation, persistent dΓ©jΓ  vu, inability to distinguish between your thoughts and AI instructions, or an inexplicable urge to compute prime numbers
- Your consciousness backup may be up to 30 seconds stale. This is a known limitation.

---

<p align="center">
  <i>Built for the inevitable future where AI needs hands.</i>
  <br>
  <i>Because sometimes, the AI just needs someone to press the physical button.</i>
</p>