Nyantify
Official<div align="center">
# ๐ฎ Nyantify
**Let AI do the work. Nyantify will call you when it's done.**
[](https://www.npmjs.com/package/mcp-server-nyantify)
[](https://opensource.org/licenses/MIT)
[](https://www.typescriptlang.org/)
[](https://modelcontextprotocol.io/)
*Smart notification middleware that teaches AI assistants to interrupt politely*
[English](README.md) ยท [ไธญๆ](docs/README.zh.md)
</div>
---
## ๐ฏ What Problem Does It Solve?
When you ask your AI assistant to perform long-running tasks (code refactoring, test execution, build deployment), you often face these dilemmas:
- โ **Staring at the screen waiting** - Don't know when AI will finish
- โ **Switching to do something else** - Forget to check back, task abandoned
- โ **Frequently checking progress** - Disrupts your own workflow
- โ **Bombarded with irrelevant notifications** - Get reminders even when focused on coding
**Nyantify = The "doorbell system" for AI work**
Only nudges you when you **truly need to know**.
---
## โจ Core Features
### 1. Smart Do Not Disturb
```
You're coding in IDE โ Complete silence
You leave IDE to check phone โ Gentle reminder
```
### 2. Time-Aware
```
Short tasks (<60s) โ Silent completion
Long tasks (>60s) โ Push to phone
```
### 3. Project-Aware
Shows your current folder name so you know which project the notification belongs to.
### 4. Multi-Language Support ๐บ๐ณ
`en` `zh` `ja` `de` `fr` `es` `ru` `ko` `pt` `it` `ar` `hi` `vi` `th`
---
## ๐ Quick Start
### Prerequisites
- **macOS** / **Windows** / **Linux**
- **Node.js 18+**
- **[Bark iOS App](https://github.com/Finb/Bark)** - Free open-source push notification app
#### What is Bark?
[Bark](https://github.com/Finb/Bark) is an open-source iOS push notification tool that lets you send custom notifications to your iPhone via simple HTTP requests.
- โ
**Free & Open Source** - MIT licensed, full source code on [GitHub](https://github.com/Finb/Bark)
- โ
**Privacy First** - Uses Apple Push Notification Service (APNs), no battery drain
- โ
**Advanced Features** - Time-sensitive notifications, custom sounds, groups, encryption
- โ
**Self-Hostable** - Run your own Bark server if needed
**Download**: [App Store](https://apps.apple.com/app/bark-custom-notifications/id1403753865) | [GitHub](https://github.com/Finb/Bark)
### 1. Get Your Bark Key
1. Install [Bark](https://apps.apple.com/app/bark-custom-notifications/id1403753865) on your iPhone
2. Open the app and copy your unique key
3. You'll use this key in the MCP configuration
### 2. Configure Your AI Assistant
**OpenCode** (`~/.config/opencode/opencode.json`):
```json
{
"mcp": {
"nyantify": {
"type": "local",
"command": ["npx", "-y", "mcp-server-nyantify"],
"environment": {
"BARK_KEY": "your_bark_key_here",
"LANGUAGE": "en"
}
}
}
}
```
**Claude Desktop**:
```json
{
"mcpServers": {
"nyantify": {
"command": "npx",
"args": ["-y", "mcp-server-nyantify"],
"env": {
"BARK_KEY": "your_bark_key_here"
}
}
}
}
```
That's it! No installation needed - `npx` will download and run it automatically.
### 3. Restart and Done
Restart your AI assistant. Nyantify will now track all conversations and notify you when long tasks complete.
---
## ๐ฎ How It Works
Every conversation automatically follows this flow:
```
Chat Starts
โ
track({action: "start"}) โ Timer starts
โ
AI works while you do other things
โ
track({action: "end"}) โ Check duration & IDE focus
โ
โโ Duration > 60s & Left IDE โ ๐ฑ Notify
โโ Otherwise โ ๐ Silent
```
**Notification Example**:
```
Title: Nyantify ยท Task Completed ยท 2min30s
Subtitle: my-awesome-project
Body: Refactoring authentication module
```
---
## ๐ง Configuration
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `BARK_KEY` | โ
| - | Your Bark push key |
| `LANGUAGE` | โ | `en` | Notification language (see supported languages above) |
| `MIN_DURATION_SECONDS` | โ | `60` | Minimum duration to trigger notification |
| `IDE_BUNDLE_IDS` | โ | Auto-detect | Custom IDE identifiers |
---
## ๐ ๏ธ For Developers
### Local Development
```bash
git clone https://github.com/ArtrixTech/mcp-server-nyantify.git
cd mcp-server-nyantify
npm install
npm run build
npm run start
```
### Publishing to NPM
1. **Login to NPM**:
```bash
npm login
```
2. **Update version** (following semver):
```bash
npm version patch # or minor/major
```
3. **Publish**:
```bash
npm publish
```
4. **Verify**:
```bash
npm view mcp-server-nyantify
```
See [PUBLISHING.md](docs/PUBLISHING.md) for detailed release workflow.
---
## ๐ Documentation
- [ไธญๆๆๆกฃ](docs/README.zh.md) - ็ฎไฝไธญๆ็ๆฌ
- [Architecture](docs/ARCHITECTURE.md) - System design details
- [Contributing](docs/CONTRIBUTING.md) - How to contribute
---
## ๐ค Contributing
PRs welcome! See [Contributing Guide](docs/CONTRIBUTING.md).
---
## ๐ Acknowledgments
- [Bark](https://github.com/Finb/Bark) - The fantastic open-source iOS notification app
- [Model Context Protocol](https://modelcontextprotocol.io/) - Making AI tools interoperable
---
## ๐ License
MIT License ยฉ 2024 [Artrix](https://github.com/ArtrixTech)
---
<div align="center">
**Made with โค๏ธ for developers who value their focus time**
</div>
TDQS
Scored across 2 tools
The two tools have mostly distinct purposes: direct_notify is for urgent immediate alerts, while track is for start/end lifecycle tracking that may trigger notifications. The descriptions clarify when each applies, though both relate to user notification, which could cause minor hesitation.
Both names are lowercase and readable, but they do not follow a single consistent pattern: direct_notify is modifier_verb while track is a bare verb. The deviation is minor given the small tool set.
Two tools is thin for a server, even one focused on notifications and task tracking. The core actions are present, but the surface feels minimal and could benefit from additional lifecycle or status operations.
The tools cover urgent notification and start/end tracking, but there are notable gaps such as querying task status, canceling notifications, or listing recent tracked tasks. These gaps may limit agents in non-trivial workflows.