Logo di Codehooks.io MCP 服务器(测试版)

Codehooks.io MCP 服务器(测试版)

Organizzazione
RestDB

MCP server for codehooks.io

AutoreRestDB
Repositorycodehooks-mcp-server
LinguaJavaScript
Fork
1
Stelle
11
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Codehooks.io MCP 服务器(测试版) mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    11 stelle e 1 fork nel repository collegato.

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!)

bash
coho login
coho add-admintoken

Create MCP Server Script

Create a folder for your MCP server scripts:

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

For macOS/Linux - Create codehooks.sh:

bash
#!/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:

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

For Windows - Create codehooks.bat:

batch
@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:

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

Windows:

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

Configure for Cursor

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

macOS/Linux:

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

Windows:

json
{
  "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.

Installazione

TypingMind
Prerequisiti:

Node.js 18+

{
  "mcpServers": {
    "restdb-codehooks-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "codehooks-mcp-server"
      ]
    }
  }
}

Usa MCP Codehooks.io MCP 服务器(测试版) con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Codehooks.io MCP 服务器(测试版), puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi Codehooks.io MCP 服务器(测试版) come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di Codehooks.io MCP 服务器(测试版).
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "restdb-codehooks-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "codehooks-mcp-server"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di Codehooks.io MCP 服务器(测试版), poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di Codehooks.io MCP 服务器(测试版).
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Codehooks.io MCP 服务器(测试版) per aiutarmi con questa attività?
Codehooks.io MCP 服务器(测试版)
Certo. Ho letto.
Ecco cosa ho trovato con Codehooks.io MCP 服务器(测试版).

Domande frequenti

A cosa serve il server MCP Codehooks.io MCP 服务器(测试版)?

Codehooks.io MCP 服务器(测试版) è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare Codehooks.io MCP 服务器(测试版) MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Codehooks.io MCP 服务器(测试版) con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Codehooks.io MCP 服务器(测试版) con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Codehooks.io MCP 服务器(测试版), puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego Codehooks.io MCP 服务器(测试版) MCP a TypingMind?

Codehooks.io MCP 服务器(测试版) funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre Codehooks.io MCP 服务器(测试版) MCP in TypingMind?

Codehooks.io MCP 服务器(测试版) mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare Codehooks.io MCP 服务器(测试版) MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Codehooks.io MCP 服务器(测试版) richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇