Skip to main content
Glama
Nyantify

Nyantify

Official
by ArtrixTech
README.md
<div align="center">

# ๐Ÿ”ฎ Nyantify

**Let AI do the work. Nyantify will call you when it's done.**

[![npm version](https://img.shields.io/npm/v/mcp-server-nyantify.svg)](https://www.npmjs.com/package/mcp-server-nyantify)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.0-3178C6?logo=typescript)](https://www.typescriptlang.org/)
[![MCP](https://img.shields.io/badge/MCP-Protocol-orange)](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

A3.6/5.0

Scored across 2 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count3/5

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.

Completeness3/5

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.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues