Labsco
MCP SERVER

Codehooks.io

by RestDB

Give an assistant a backend it can build — collections, schemas and indexes, deployed JavaScript endpoints, file storage and a key-value store on Codehooks.io.

PaaS Deployment & App HostingVerified
Summary
If your client has a terminal, the README tells you not to use this.

For Claude Code or Cursor the maintainers point you at the `coho` CLI instead — install it, log in, run `coho prompt`, and let the agent use the command line, which is simpler and covers more. This server exists for Claude Desktop and anything else without shell access. Within that niche it is unusually complete: deploying code, not just reading and writing rows, is what lets an assistant produce a working endpoint rather than a database someone else has to wire up.

What it is

An MCP server for the Codehooks.io platform, aimed at clients without a terminal. It covers the whole backend surface: a document database with collections, schemas and indexes; deployment of JavaScript serverless functions; file storage; a key-value store with TTL; and application logs — so an assistant can stand up a working API from a conversation.

What you get
  • Collections queried and updated with filters and sorting, including their metadata, and created and managed as needed
  • Data imported and exported in JSON, JSONL or CSV, so an existing spreadsheet becomes a collection
  • Schemas added for validation and indexes added for query speed, with collections capped where you want a bounded log
  • JavaScript serverless functions deployed — the endpoints themselves, not just the data behind them
  • Files uploaded to cloud storage, listed, inspected for metadata and deleted
  • A key-value store for settings, thresholds and deduplication, with values set, read one at a time or in batches, deleted, and given a time to live
  • Application logs read, and the platform's API documentation available locally to the agent
Requirements

A Codehooks.io account and an admin token, created with `coho login` followed by `coho add-admintoken`. Three values go to the server: `CODEHOOKS_PROJECT_NAME`, `CODEHOOKS_ADMIN_TOKEN` and `CODEHOOKS_SPACE`. It ships as a container at `ghcr.io/restdb/codehooks-mcp`, launched through a small shell or batch script that your client runs — the README gives both. The npm package name is `codehooks-mcp-server` (0.3.1). The admin token is what it sounds like: keep it out of anything you commit.

Setup effort

One command plus a key — npx -y github:RestDB/codehooks-mcp-server, then supply credentials