No-as-a-Service (NoaaS)

No-as-a-Service (NoaaS)

Provides over 1,000 creative ways to decline requests across four categories (polite, humorous, professional, and creative). The MCP server wraps a REST API to help users craft professional rejections through natural language interactions.

Category
访问服务器

README

No-as-a-Service

npm version CI License: MIT

Because saying "no" apparently requires an API now.

Like this project? Give it a ⭐ on GitHub!

An API service providing 1,000+ creative ways to decline requests. For those who find saying "no" requires more architectural complexity than it deserves, or who simply appreciate the precision of professionally crafted rejection.

What Is This?

NoaaS is a REST API service with an MCP server wrapper that provides creative rejection responses across four categories:

Two Components:

  • REST API (primary) - Public HTTP API anyone can call directly
  • MCP Server (wrapper) - Bridges Claude Desktop to the REST API via stdio transport

Architecture

                     REST API (Primary Service)
    +-------------+  +-------------+  +-------------+
    |   Express   |  | Cloudflare  |  |   Docker    |
    |  (Node.js)  |  |   Workers   |  |  Container  |
    +-------------+  +-------------+  +-------------+
            |              |              |
            +--------------+--------------+
                           |
                     reasons.json
                   (1000+ responses)
                           |
         +-----------------+-----------------+
         |                 |                 |
       HTTP              HTTP              HTTP
         |                 |                 |
    +----+----+      +-----+-----+     +-----+-----+
    |Web Apps |      |curl/fetch |     |MCP Server |
    | Mobile  |      |  Python   |     |  (stdio)  |
    +---------+      +-----------+     +-----+-----+
                                             |
                                           stdio
                                             |
                                    +-----------------+
                                    | Claude Desktop  |
                                    | Cursor IDE      |
                                    +-----------------+

Key Points:

  • REST API is the primary service with all business logic
  • MCP Server is a thin stdio wrapper that bridges AI assistants to the REST API
  • Works with Claude Desktop, Cursor, and other MCP-compatible clients

Response Categories:

  • Polite - For when you want them to think you actually considered their request
  • Humorous - Because adding a joke makes rejection feel less like rejection (it doesn't)
  • Professional - Corporate-approved ways to say no while sounding like you care (you don't)
  • Creative - For people who think being clever makes them more interesting (debatable)

Note: Original responses were generated by AI. The 252 professional corporate jargon responses and complete categorization system were authored and organized by Claude (Anthropic). So if they're occasionally weird, nonsensical, or sound like a robot trying too hard to be human, that's why. We've kept them anyway. Quality control is overrated.

Quick Start

Use the Public Service

Just call the API. No installation, no signup, no nonsense.

curl -X POST https://api.mcp-for-no.com/v1/tools/call \
  -H "Content-Type: application/json" \
  -d '{"method":"getRandomNo","params":{"category":"humorous"}}'

Response:

{
  "jsonrpc": "2.0",
  "result": {
    "response": "I'd love to say yes, but my calendar is allergic to that date."
  }
}

Deploy Your Own

Want to run your own instance? We respect your trust issues.

Recommended: Cloudflare Workers (Free)

Zero maintenance, global edge network, automatic scaling. The sensible choice.

npm install
# Copy wrangler config template
cp deployment/wrangler.toml.example deployment/wrangler.toml
npx wrangler login --config deployment/wrangler.toml
npx wrangler kv:namespace create "REASONS_KV" --config deployment/wrangler.toml
npx wrangler kv:namespace create "RATE_LIMIT_KV" --config deployment/wrangler.toml
# Update deployment/wrangler.toml with the KV namespace IDs from the output above
npm run worker:kv:upload
npm run worker:deploy

See: docs/deployment/QUICKSTART_WORKERS.md for detailed instructions.

Alternative: Docker (Enterprise/Self-Hosted)

For when you have trust issues with cloud providers or compliance requirements.

# Docker Compose (recommended)
npm run docker:up

# Or plain Docker
npm run docker:build
docker run -d -p 3000:3000 \
  -e NODE_ENV=production \
  -e CORS_ORIGIN=https://your-domain.com \
  noaas

Advanced: Node.js/Express

Direct deployment on VPS, PM2, or systemd. You know what you're doing.

npm install
cp .env.example .env
# Edit .env with your configuration
npm start

See: docs/guides/SECURITY.md for security configuration and best practices.

Use with Claude Desktop (MCP)

NoaaS includes a native MCP server with stdio transport. Unfortunately, Claude Desktop requires local installation because it cannot connect directly to web services.

Why Local Installation?

Claude Desktop spawns local processes via stdio (stdin/stdout) for MCP servers. It cannot connect to HTTP endpoints directly, even though the actual data comes from our REST API. The local MCP server acts as a thin wrapper that bridges Claude Desktop to the REST API.

Prerequisites

You need Node.js (v18+) and Git installed:

  • macOS: brew install node git
  • Windows: Download from nodejs.org
  • Linux: Use your package manager (e.g., apt install nodejs git)

Installation

1. Clone and build the MCP server:

cd ~
git clone https://github.com/Koneisto/no-as-a-service.git
cd no-as-a-service
npm install
npm run mcp:build

This creates build/mcp-server.js in the cloned directory.

2. Get the absolute path:

While still in the no-as-a-service directory, run:

pwd

This shows your full path, something like: /Users/yourname/no-as-a-service

📝 Write this down - you'll need it in the next step.

Claude Desktop Configuration

1. Find your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Edit the file and add this configuration:

Replace /YOUR/PATH/HERE with the path from the pwd command above:

{
  "mcpServers": {
    "noaas": {
      "command": "node",
      "args": [
        "/YOUR/PATH/HERE/no-as-a-service/build/mcp-server.js"
      ],
      "env": {
        "API_BASE_URL": "https://api.mcp-for-no.com"
      }
    }
  }
}

⚠️ Important:

  • Use forward slashes (/) even on Windows
  • Replace /YOUR/PATH/HERE with your actual path from step 2
  • One typo and it won't work - paths are case-sensitive

3. Restart Claude Desktop:

Close Claude Desktop completely (quit the application, not just close the window), then reopen it.

4. Test it:

Ask Claude:

  • "Give me a polite way to decline this meeting"
  • "How many different ways to say no do you have?"

If it doesn't work, check your config file for typos.

Available Tools

  • getRandomNo - Get a creative rejection (optional category: polite, humorous, professional, creative)
  • getNoCount - Get the total count (1,021)

Troubleshooting

Config file errors?

Path wrong?

  • Run ls build/mcp-server.js in the repo directory to verify the file exists

Still not working?

  • Check logs at ~/Library/Logs/Claude/mcp*.log (macOS)
  • Ensure Node.js is installed: node --version
  • Ensure you restarted Claude Desktop completely

Use with Cursor IDE (MCP)

Cursor also supports MCP servers. Same local installation requirement, different config file.

Prerequisites

Same as Claude Desktop - Node.js (v18+) and Git. If you already cloned the repo for Claude Desktop, skip to Configuration.

Installation

If you haven't already:

cd ~
git clone https://github.com/Koneisto/no-as-a-service.git
cd no-as-a-service
npm install
npm run mcp:build
pwd

Note the path from pwd - you'll need it.

Cursor Configuration

1. Find or create your config file:

  • Global (all projects): ~/.cursor/mcp.json
  • Project-specific: <project-root>/.cursor/mcp.json

2. Add the MCP server configuration:

Replace /YOUR/PATH/HERE with your actual path:

{
  "mcpServers": {
    "noaas": {
      "command": "node",
      "args": [
        "/YOUR/PATH/HERE/no-as-a-service/build/mcp-server.js"
      ],
      "env": {
        "API_BASE_URL": "https://api.mcp-for-no.com"
      }
    }
  }
}

3. Restart Cursor

Close and reopen Cursor. The MCP server should now be available.

Available Tools

Same as Claude Desktop:

  • getRandomNo - Get a creative rejection (optional category: polite, humorous, professional, creative)
  • getNoCount - Get the total count (1,021)

API Usage (Direct HTTP)

You can also use the REST API directly:

# Get a random rejection
curl -X POST https://api.mcp-for-no.com/v1/tools/call \
  -H "Content-Type: application/json" \
  -d '{"method":"getRandomNo","params":{"category":"humorous"}}'

# Get count
curl -X POST https://api.mcp-for-no.com/v1/tools/call \
  -H "Content-Type: application/json" \
  -d '{"method":"getNoCount"}'

See examples/usage-examples.md for code examples in various languages.

Features

  • No Authentication - No credit card, no signup, no value proposition
  • Fast Response Times - Because waiting to say no is apparently unacceptable
  • Global Distribution - Say no from anywhere in the world, instantly
  • No Tracking - We don't care enough to track you
  • Rate Limited - 30 requests per minute. One every 2 seconds. Still generous.
  • MCP Compatible* - *Via a local stdio wrapper because SSE transport would make too much sense
  • 1,000+ Responses - Because apparently 100 ways to say no wasn't excessive enough
  • No Authentication - Just send requests. We're too lazy to implement OAuth.

API Reference

Get Random Rejection

POST /v1/tools/call
Content-Type: application/json

{
  "method": "getRandomNo",
  "params": {
    "category": "polite"  // optional: polite, humorous, professional, creative
  }
}

Get Count

POST /v1/tools/call
Content-Type: application/json

{
  "method": "getNoCount"
}

Health Check

GET /health

Full API docs: TECHNICAL.md

Project Structure

no-as-a-service/
├── src/
│   ├── index.js            # Node.js/Express server
│   └── worker.js           # Cloudflare Workers server
├── data/
│   └── reasons.json        # 921 rejection messages
├── deployment/
│   ├── Dockerfile          # Docker deployment
│   ├── docker-compose.yml  # Docker Compose config
│   └── wrangler.toml       # Cloudflare Workers config
├── docs/
│   ├── deployment/
│   │   ├── QUICKSTART_WORKERS.md
│   │   ├── WORKERS_DEPLOYMENT.md
│   │   ├── CLOUDFLARE_DEPLOY.md
│   │   └── PAGES_DEPLOYMENT.md
│   ├── guides/
│   │   ├── SECURITY.md     # Security best practices
│   │   └── DAILY_LIMIT_GUIDE.md
│   └── TECHNICAL.md        # Full API reference
├── examples/
│   ├── usage-examples.md   # Code examples
│   └── mcp-client-config.json
├── .env.example            # Environment variables template
├── .gitignore              # Git ignore rules
├── package.json            # Dependencies
├── README.md               # You are here
└── LICENSE

Deployment Options

Method Cost Setup Time Best For
Cloudflare Workers $0/month 5 minutes Everyone (seriously)
Docker 🐳 Variable 10 minutes Enterprise, self-hosted, K8s
Node.js/Express $5-12/month 15 minutes VPS, custom deployments
Cloudflare Tunnel $0/month 15 minutes Behind firewalls

Recommended: Cloudflare Workers (free tier, 100k requests/day, global edge network, zero maintenance)

When to use Docker: Compliance requirements, airgapped environments, existing container infrastructure, or trust issues with cloud providers (understandable).

Documentation

Deployment Guides

Configuration & Security

Technical Reference

Examples

JavaScript

const response = await fetch('https://noaas.your-deployment.workers.dev/v1/tools/call', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    method: 'getRandomNo',
    params: { category: 'professional' }
  })
});

const data = await response.json();
console.log(data.result.response);

Python

import requests

response = requests.post(
    'https://noaas.your-deployment.workers.dev/v1/tools/call',
    json={'method': 'getRandomNo', 'params': {'category': 'polite'}}
)

print(response.json()['result']['response'])

More examples: examples/usage-examples.md

Contributing

Add New Rejection Messages

  1. Edit reasons.json
  2. Add your rejection to the appropriate category section
  3. Submit a PR

Categories are divided by array index:

  • Polite: 0-25%
  • Humorous: 25-50%
  • Professional: 50-75%
  • Creative: 75-100%

Report Issues

Found a bug? Open an issue.

Code Contributions

PRs welcome for:

  • Bug fixes
  • Documentation improvements
  • New features (please open an issue first)

FAQ

Q: What's the cost? A: There isn't one. Which should probably concern you, but we're confident you'll use it anyway.

Q: What are the rate limits? A: 30 requests per minute per IP. One every 2 seconds. If you need more than that, you're doing something wrong.

Q: Can I use this commercially? A: Of course. Personal or commercial, we don't discriminate. Just don't blame us when your users hate your app.

Q: Is there an SLA? A: Your expectations should be calibrated to match what you're paying for this.

Q: Why did you build this? A: Someone had to. And apparently, it was us. You're welcome, we suppose.

License

📄 MIT — do whatever, just don't say yes when you should say no. Attribution appreciated but not required.

Credits

  • Built by people with questionable priorities
  • Inspired by everyone who can't say no
  • Powered by Cloudflare Workers (probably)
  • Response categorization and 252 professional corporate responses authored by Claude (Anthropic)
  • Original 769 responses generated by AI

Links


NoaaS - Helping you waste everyone's time more efficiently since 2025.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选