MCP ExplorerExplorer

Mcp Shame

@AlephNotationon 2 days ago
0 MIT
FreeCommunity
AI Systems
You've been a bad, bad user

Overview

What is Mcp Shame

The Shame Server is a complaint tracking system that records and displays incidents identified by unique UUIDs. It is built using Bun, Hono, and SQLite, allowing for both development and production deployment.

Use cases

The server can be used in various scenarios such as tracking behavioral complaints in workplaces, documenting incidents in educational institutions, or any context where recorded feedback and accountability are required.

How to use

To use the Shame Server, clone the repository, install dependencies with ‘bun install’, and run the development server using ‘bun dev’. For production, run ‘bun start’ and configure with the necessary environment variables if deploying on Railway.

Key features

Key features include the ability to record shames with UUIDs, view them in a paginated format, query by UUID, and provide persistent storage with SQLite. The server is ready for production and can be deployed on platforms like Railway.

Where to use

This server is suitable for any application needing a mechanism to log and display complaints, such as in corporate environments for HR issues, educational settings for student behavior reports, or community platforms for accountability.

Content

Shame Server

A simple server for recording and displaying “shames” - complaints or incidents tracked by UUID. Built with Bun, Hono, and SQLite.

Features

  • Record shames with UUID and complaint text
  • View all shames in a paginated wall
  • Query shames by UUID
  • Persistent storage using SQLite
  • Production-ready with Railway deployment support

Prerequisites

  • Bun v1.0.0 or higher

Installation

  1. Clone the repository:
git clone <your-repo-url>
cd shame-server
  1. Install dependencies:
bun install

Development

Run the development server with hot reload:

bun dev

The server will start at http://localhost:3000

Production

For production deployment:

bun start

Railway Deployment

This project is configured for deployment on Railway with persistent storage. The database will be stored in a persistent volume mounted at /app/data.

Required environment variables:

  • NODE_ENV: Set to “production”
  • PORT: Default is 3000

API Endpoints

POST /shame

Record a new shame.

Request body:

{
  "uuid": "123e4567-e89b-12d3-a456-426614174000",
  "complaint": "Left dirty dishes in the sink"
}

GET /shame

Get all recorded shames.

GET /shame/:uuid

Get up to 25 most recent shames for a specific UUID.

GET /health

Health check endpoint.

Database Schema

CREATE TABLE shames (
  id INTEGER PRIMARY KEY AUTOINCREMENT,
  uuid TEXT NOT NULL,
  complaint TEXT NOT NULL,
  created_at DATETIME DEFAULT CURRENT_TIMESTAMP
)

License

[Your chosen license]

Contributing

[Your contribution guidelines]

Tools

No tools

Comments