Codehooks.io MCP Server

Codehooks.io MCP Server

codehooks-mcp-server•byrestdb

An MCP server that gives AI agents database operations, serverless code deployment, file management and key-value storage on the Codehooks.io platform.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Query and update collections with filters and sorting, and create and manage collections.
  • •Import and export data in JSON, JSONL and CSV formats, and add schemas, indexes and caps.
  • •Deploy JavaScript serverless functions.
  • •Upload, list, browse, delete and inspect cloud storage files, and manage key-value pairs with TTL.

BEST FOR

  • •Giving AI assistants without terminal access, such as Claude Desktop, access to Codehooks functionality.
  • •Building systems such as survey backends, inventory trackers or webhook processing pipelines through natural conversation with an AI agent.

ABOUT CODEHOOKS-MCP-SERVER

Codehooks.io MCP Server is cataloged as an MCP server attributed to restdb. An MCP server that gives AI agents database operations, serverless code deployment, file management and key-value storage on the Codehooks.io platform. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Codehooks.io MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How is this different from using the Codehooks CLI directly?

The README recommends the CLI directly for environments with terminal access like Claude Code and Cursor, and this MCP server for Claude Desktop, which has no terminal access.

What credentials does the server require?

It uses Codehooks project name, admin token and space values passed as environment variables when running the server.

Upstream README

View this exact version on GitHub

README.md · a7f9e2854213 · Fetched 2026-11-13 11:50:32 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Codehooks.io MCP Server

An MCP (Model Context Protocol) server that provides AI agents with database operations, serverless code deployment, and file management capabilities on the Codehooks.io platform.

When to Use This MCP vs. CLI Directly

EnvironmentHas Terminal?Recommended Approach
Claude CodeYesUse coho CLI directly
CursorYesUse coho CLI directly
Claude DesktopNoThis MCP server

For AI Agents with Terminal Access (Claude Code, Cursor, etc.)

Using the Codehooks CLI directly is simpler and more flexible:

  1. Install the CLI: npm install -g codehooks
  2. Login: coho login
  3. Get the AI prompt: coho prompt
  4. Or reference the online docs: https://codehooks.io/llms.txt

The agent can then run coho commands directly in the terminal.

For Claude Desktop (No Terminal Access)

Use this MCP server to give the AI access to Codehooks functionality. See the Setup section below.

Available functionality

Database & Collections

  • Query and update collections (including metadata) with filters and sorting
  • Create and manage collections
  • Import/export data (JSON,JSONL,CSV)
  • Add schemas and indexes, cap collections

Code Deployment

  • Deploy JavaScript serverless functions

File Operations

  • Upload files to cloud storage
  • List and browse files
  • Delete files
  • Inspect file metadata

Key-Value Store

  • Store key-value pairs
  • Retrieve one or many key-value pairs
  • Delete key-value pairs
  • Set time-to-live (TTL) for key-value pairs

System Operations

  • View application logs
  • Access API documentation (local documentation for the MCP agent)

Setup

Get Codehooks Admin Token (keep it secret!)

coho login
coho add-admintoken

Create MCP Server Script

Create a folder for your MCP server scripts:

mkdir ~/mcp-servers
cd ~/mcp-servers

For macOS/Linux - Create codehooks.sh:

#!/bin/bash

# Set PATH to include common Docker locations
export PATH="/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin:$PATH"

exec docker run --rm -i \
  --pull always \
  -e CODEHOOKS_PROJECT_NAME=your_project_name \
  -e CODEHOOKS_ADMIN_TOKEN=your_admin_token \
  -e CODEHOOKS_SPACE=your_space_name \
  ghcr.io/restdb/codehooks-mcp:latest

Make it executable:

chmod +x ~/mcp-servers/codehooks.sh

For Windows - Create codehooks.bat:

@echo off
docker run --rm -i ^
  --pull always ^
  -e CODEHOOKS_PROJECT_NAME=your_project_name ^
  -e CODEHOOKS_ADMIN_TOKEN=your_admin_token ^
  -e CODEHOOKS_SPACE=your_space_name ^
  ghcr.io/restdb/codehooks-mcp:latest

Replace your_project_name, your_admin_token, and your_space_name with your actual values.

Configure for Claude Desktop

Add to your claude_desktop_config.json:

macOS/Linux:

{
  "mcpServers": {
    "codehooks": {
      "command": "/Users/username/mcp-servers/codehooks.sh"
    }
  }
}

Windows:

{
  "mcpServers": {
    "codehooks": {
      "command": "C:\\Users\\username\\mcp-servers\\codehooks.bat"
    }
  }
}

Configure for Cursor

Add to your ~/.cursor/mcp.json:

macOS/Linux:

{
  "mcpServers": {
    "codehooks": {
      "command": "/Users/username/mcp-servers/codehooks.sh"
    }
  }
}

Windows:

{
  "mcpServers": {
    "codehooks": {
      "command": "C:\\Users\\username\\mcp-servers\\codehooks.bat"
    }
  }
}

Replace username with your actual username.

Example Requests

  • "Build a complete survey system: create a database, deploy an API to collect responses, and add search/analytics endpoints"
  • "Set up a real-time inventory tracker: import my product CSV, create stock update webhooks, and build low-stock alerts"
  • "Build a webhook processing pipeline: receive webhooks from multiple sources, transform and validate data, then trigger automated actions"
  • "Build a content management system: create file upload endpoints, set up a metadata database, and deploy content delivery APIs"
  • "Set up automated data backups: export my collections to JSON files, store them with timestamps, and create restoration endpoints"

How These Examples Work

Complete Survey System

The AI agent would:

  1. Create collections (surveys, responses) for data storage
  2. Add schemas for data validation and structure
  3. Deploy JavaScript endpoints like POST /surveys and GET /surveys/:id/analytics
  4. Create indexes on response fields for fast searching and analytics

Real-time Inventory Tracker

The AI agent would:

  1. Import your CSV to populate the products collection
  2. Deploy webhook handlers for POST /inventory/update and GET /inventory/low-stock
  3. Set up key-value storage for alert thresholds and settings
  4. Create indexes on SKU and stock levels for real-time queries

Webhook Processing Pipeline

The AI agent would:

  1. Deploy webhook receivers like POST /webhooks/stripe and POST /webhooks/github
  2. Create collections for webhook_logs, processed_events, and failed_events
  3. Set up data transformation rules and validation schemas for each webhook source
  4. Use key-value store for rate limiting and duplicate detection with TTL
  5. Deploy action triggers that send emails, update databases, or call other APIs based on webhook data

Content Management System

The AI agent would:

  1. Create collections for content, media, and users
  2. Deploy file upload endpoints with POST /upload and GET /content/:id
  3. Upload and manage static files for content delivery
  4. Store metadata linking files to content records with search indexes

Automated Data Backups

The AI agent would:

  1. Export collections to JSON format with timestamps
  2. Upload backup files to cloud storage automatically
  3. Deploy restoration APIs like GET /backups and POST /restore/:backup-id
  4. Store backup metadata in key-value store for tracking and management

Each example demonstrates how multiple MCP tools work together to create complete, production-ready systems through natural conversation with your AI agent.

Security Researchers

We thank the following individuals for responsible disclosure and helping improve the security of this project:

  • Liran Tal – Reported a command injection vulnerability in the query_collection tool (May 2025)

License

This project is licensed under the MIT License.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Codehooks.io MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/codehooks-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools