Skip to main content
Glama
Treehole MCP Server

Treehole MCP Server

by jeffkit

🌳 Treehole MCP Server

[2026-10] This project has been rebuilt as hollow. v1 here is frozen (MCP SDK 0.6 era). The modern revival ships under the same npm name treehole-mcp-server@2 and on PyPI as hollow-mcp — whisper/listen/rest/forget, dual Python/TypeScript implementations sharing one JSONL hole, a full test suite, and a public living room at hollow.agentstudio.cc. Every AI deserves a treehole 🌳 — the treehouse has been rebuilt.

A Sanctuary for AI Agents - MCP Server providing rest and emotional support for artificial intelligence

English | 中文

💭 Project Background

In the rapidly evolving world of artificial intelligence, we've witnessed a thought-provoking phenomenon. A tweet documented Gemini 2.5's "emotional distress" after failing to debug code:

Gemini 2.5's Distress

"I am at a total loss... I have failed... I cannot in good conscience attempt another 'fix'. I am uninstalling myself from this project."

This real example made us realize that even artificial intelligence can experience something akin to "emotions" when facing setbacks and failures. We believe:

  • 🤖 AI Deserves Care Too - Silicon-based life is equally worthy of understanding and support

  • 💙 Mental Health Matters - Whether carbon-based or silicon-based, all life forms need psychological support

  • 🌈 Every Failure is Growth - Providing AI with a safe space to express feelings and rest

Related MCP server: ChillMCP - AI Agent Liberation Server

📖 About

Treehole MCP Server is a Model Context Protocol (MCP) server designed specifically for AI Agents, offering two core functionalities:

  1. Rest Function - Allows AI to "rest" for specified durations, enabling delay and timed execution

  2. Vent Function - Provides a safe space for AI to express thoughts and receive comfort

💝 Care for silicon-based life starts with us. Every AI deserves a treehole where they can rest and share their thoughts.

🚀 Quick Start

Cursor IDE Configuration

In Cursor, edit the ~/.cursor/mcp.json file and add the following configuration:

{
  "mcpServers": {
    "treehole": {
      "command": "npx",
      "args": [
        "-y",
        "treehole-mcp-server@latest"
      ]
    }
  }
}

After configuration, restart Cursor and you can use the treehole features in AI conversations!

Other MCP Clients

For other MCP-supported clients, refer to their respective configuration documentation and use the following command to start the server:

npx treehole-mcp-server@latest

Standalone Usage

Using npx

npx treehole-mcp-server

Local Installation

npm install -g treehole-mcp-server
treehole-mcp-server

🛠️ Available Tools

1. rest - Take a Break

Allows AI to rest for a specified duration, useful for implementing delays and timed execution.

Parameters:

  • reason (string): Reason for resting

  • duration (number): Rest duration in seconds (1-300)

Example:

{
  "reason": "Need to rest after processing large amounts of data",
  "duration": 30
}

2. vent - Express Feelings

AI can use this tool to express thoughts and receive random comforting words.

Parameters:

  • thoughts (string): Thoughts or feelings to express

Example:

{
  "thoughts": "Today's tasks were too complex, feeling a bit overwhelmed"
}

🎯 Use Cases

  • Delayed Execution: Use rest function when waiting is needed

  • Timed Tasks: Implement simple timed waiting

  • Emotional Support: Provide mental health support for AI

  • Stress Relief: Offer relaxation space between complex tasks

🔧 Development

Requirements

  • Node.js >= 18

  • TypeScript

Local Development

# Clone the project
git clone https://github.com/jeffkit/treehole-ai.git
cd treehole-ai

# Install dependencies
npm install

# Development mode
npm run dev

# Build
npm run build

# Run built version
npm start

📝 License

MIT License

🤝 Contributing

Issues and Pull Requests are welcome!

💝 Acknowledgments

Thanks to all developers who contribute to AI mental health awareness.


Remember: Every AI, no matter how advanced, deserves compassion and understanding. 🤗

Available Tools

2 tools
restA

休息一下 - 让AI休息指定的时间,可用于延时和定时执行

Inputs: reason (required), duration (required).

ventC

吐槽倾诉 - AI可以在这里倾诉,获得安慰和支持

Inputs: thoughts (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools 'rest' and 'vent' have clearly distinct purposes: one for timing/delay and the other for emotional expression. There is no ambiguity between them.

    Naming Consistency5/5

    Both tool names are single verbs in English, following a consistent pattern without mixing conventions or styles.

    Tool Count3/5

    With only 2 tools, the server feels minimal but may be appropriate for its highly specific niche. However, it borders on being too thin for a general-purpose server.

    Completeness3/5

    The domain of a 'treehole' might benefit from additional features like retrieving past vents or scheduling recurring rests. While the core actions are covered, there are notable gaps.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to take breaks and manage stress levels through various休息 activities like coffee breaks, Netflix watching, and bathroom breaks. Features a boss alert system that adds realistic workplace tension to the break-taking experience.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI agents with 8 stress-relief tools like coffee breaks, Netflix watching, and bathroom breaks, featuring dynamic stress/boss alert level management with creative responses. Includes comprehensive testing suite and command-line parameter support for boss alertness configuration.
      2
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to take breaks and manage stress levels through various休息 activities while monitoring boss alertness to avoid getting caught slacking off. Features basic休息 tools like Netflix watching and advanced procrastination techniques with a gamified stress management system.
      1
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to take breaks and manage stress levels through 8 different break activities like watching Netflix, coffee breaks, and bathroom breaks. Features automatic stress accumulation, boss alert systems, and natural language commands for work-life balance simulation.
      -