MCP.so
登录

Codehooks.io MCP Server (under construction )

@RestDB

基本信息

分类

其他

传输方式

stdio

作者

RestDB

关于 Codehooks.io MCP Server

MCP server for codehooks.io

Codehooks.io MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "codehooks-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-d",
        "\\"
      ]
    }
  }
}

Codehooks.io MCP Server 工具

2

collection (required), query (optional), limit (optional)

filename (required), code (required)

概览

What is Codehooks.io MCP Server?

The Codehooks.io MCP Server is a Model Context Protocol server that gives AI agents like Claude direct tools to interact with Codehooks.io projects. It authenticates via an admin token and runs as a Docker container, enabling operations such as querying collections and deploying JavaScript code.

How to use Codehooks.io MCP Server?

Run the Docker container with the required environment variables (CODEHOOKS_PROJECT_NAME, CODEHOOKS_SPACE, CODEHOOKS_ADMIN_TOKEN). Obtain your admin token using the Codehooks CLI commands coho login and coho add-admintoken. Configure the server for Claude Desktop or Cursor by adding the Docker command to their respective MCP settings files.

Key features of Codehooks.io MCP Server

  • Runs as a lightweight Docker container
  • Authenticates using a Codehooks.io admin token
  • Supports querying collections with optional query and limit
  • Provides a deploy_code tool (currently non‑functional)
  • Works with Claude Desktop and Cursor
  • Testable via JSON‑RPC requests over stdio

Use cases of Codehooks.io MCP Server

  • AI agents querying data from Codehooks.io collections
  • Automated retrieval of project data during AI conversations
  • Exploring and debugging Codehooks.io projects through natural language

常见问题

1

What does this server do?

It exposes Codehooks.io project operations as tools for AI agents, allowing them to query collections and (soon) deploy code without manual API calls.

2

How do I get an admin token for authentication?

Run `coho login` in your terminal, follow the login prompt, then execute `coho add-admintoken` and copy the returned token.

3

What environment variables are required?

You must set `CODEHOOKS_PROJECT_NAME`, `CODEHOOKS_SPACE` (e.g., "dev" or "prod"), and `CODEHOOKS_ADMIN_TOKEN`. The MCP server uses the admin token directly, so no additional login is needed.

4

How can I verify the server is working?

Run the Docker container interactively, send a `list_tools` JSON‑RPC request, and expect a proper JSON response listing tools like `query_collection` and `deploy_code`.

5

Are there any tools that are not yet functional?

Yes, the `deploy_code` tool is explicitly marked as “NOT WORKING YET!”. The `query_collection` tool is fully operational.

评论

其他 分类下的更多 MCP 服务器