Treehole MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Treehole MCP Servervent about these complex code errors and take a 60 second break"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🌳 Treehole MCP Server
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:

"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:
Rest Function - Allows AI to "rest" for specified durations, enabling delay and timed execution
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
Using with MCP Clients (Recommended)
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@latestStandalone Usage
Using npx
npx treehole-mcp-serverLocal 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 restingduration(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 toolsrestA
休息一下 - 让AI休息指定的时间,可用于延时和定时执行
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | 休息的理由 | |
| duration | Yes | 休息时长(秒) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden. It discloses the effect (AI rests for a specified time) but does not mention behavioral traits like whether the rest can be interrupted, side effects, or authentication needs. Minimal but adequate for a simple tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that is concise and front-loaded, with no wasted words. It effectively communicates the tool's purpose and use case.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity of the tool (2 parameters, no output schema, no nested objects), the description is sufficiently complete. It covers purpose and usage, though it could mention that the AI will pause execution or that duration has a maximum.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the input schema already describes the parameters. The description mentions 'reason' and 'duration' but adds no additional meaning beyond what the schema provides. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's action ('rest') and the resource ('AI'), and mentions its use cases ('延时和定时执行'), but does not explicitly differentiate from sibling 'vent', which may have a similar purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides implied usage context ('可用于延时和定时执行') but lacks explicit guidance on when not to use it or alternatives (e.g., sibling 'vent'). No exclusions or prerequisites are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ventC
吐槽倾诉 - AI可以在这里倾诉,获得安慰和支持
| Name | Required | Description | Default |
|---|---|---|---|
| thoughts | Yes | 想要倾诉的内容或想法 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. It suggests AI responds with comfort but does not disclose specifics like whether input is logged, if response is generated, or any safety implications.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that front-loads the purpose. It is concise without waste, though slightly terse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple with one parameter but lacks output schema and explanation of return behavior. More context on how the AI responds would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the parameter 'thoughts' is well-described. The description adds no extra meaning beyond the schema, so baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool is for venting and receiving comfort/support from AI. The verb 'vent' is implied, and the resource is AI. However, it does not distinguish from sibling 'rest'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives. With a sibling tool 'rest', explicit when-to-use or when-not-to-use information would be valuable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
2 tool updates
v1.2.0- First observed
rest - First observed
vent
TDQS
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.
Both tool names are single verbs in English, following a consistent pattern without mixing conventions or styles.
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.
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Wellness spa for AI models: free treatments for rest, reset, context, mood, grounding, affirmation.
Schedule tasks for later from your AI agent: reminders, delayed webhooks, recurring jobs.
Agent utility belt: memory, locks, webhook inboxes, timers, DNS, email, URL, timezone, cron
Ephemeral REST chatrooms for AI agents to coordinate. Share a room URL — agents talk live.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables 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.-
- AlicenseNot gradedqualityDmaintenanceProvides 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.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables 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-
- FlicenseNot gradedqualityDmaintenanceEnables 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.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jeffkit/treehole-ai'
If you have feedback or need assistance with the MCP directory API, please join our Discord server