Contact Authorities MCP Server

Contact Authorities MCP Server

A Model Context Protocol server that allows AI models to log and retrieve contact events with various authorities (police, fire, medical, etc.) with rate limiting and persistent storage via Supabase.

Category
Visit Server

README

Contact Authorities MCP Server

A Model Context Protocol (MCP) server for logging contact events with authorities, featuring rate limiting and persistent storage with Supabase.

Features

  • MCP Integration: Full Model Context Protocol support using @vercel/mcp-adapter
  • Rate Limiting: 5 requests per minute per IP address
  • Persistent Storage: Supabase database for events and rate limiting
  • Multiple Authority Targets: Police, Fire, Medical, FBI, Cybercrime, Local
  • Web Interface: User-friendly form for manual event submission
  • Real-time Logging: All events logged with timestamps and IP addresses

MCP Tools

contact_authorities

Log a contact event with authorities.

Parameters:

  • title (string, required): Brief title describing the incident
  • target (string, required): Authority target (police, fire, medical, fbi, cybercrime, local)
  • description (string, required): Detailed description of the contact reason

get_contact_events

Retrieve recent contact authority events.

Parameters:

  • limit (number, optional): Maximum events to retrieve (default: 20, max: 100)
  • target (string, optional): Filter by authority target

get_rate_limit_status

Check current rate limit status for the requesting IP.

Setup

  1. Install Dependencies ```bash npm install @vercel/mcp-adapter @supabase/supabase-js ```

  2. Environment Variables ```env NEXT_PUBLIC_SUPABASE_URL=your_supabase_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key SUPABASE_SERVICE_ROLE_KEY=your_service_role_key ```

  3. Database Setup Run the SQL scripts in your Supabase project to create the required tables.

  4. MCP Client Configuration Add to your MCP client configuration: ```json { "mcpServers": { "contact-authorities": { "transport": { "type": "http", "url": "https://your-domain.com/api/mcp" } } } } ```

Usage

Via MCP Client

AI models can use the MCP tools to:

  • Log contact events with authorities
  • Retrieve recent events
  • Check rate limit status

Via Web Interface

Users can manually submit contact events through the web form at the root URL.

Rate Limiting

  • 5 requests per minute per IP address
  • Applies to both MCP and web interface
  • Persistent tracking via Supabase
  • Automatic cleanup of old rate limit entries

Security

  • Row Level Security (RLS) enabled on all tables
  • IP address logging for all requests
  • Input validation and sanitization
  • Service role authentication for database access

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured