YM

yiaany/mekka

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

22 stars 0 forks 质量 71 趋势 30NOASSERTION

实验性源代码可用的SQLite/libSQL后端,支持人工和代理原生工作流,支持Studio和有范围的MCP访问。

概览

类型数据 API ·本地认证 ·对象存储 ·实时原语 ·Studio ·有范围的 MCP 访问。 为快速本地迭代和人工与代理原生工作流打造,支持本地SQLite和认证的远程libSQL配置文件。 下载、安装、构建、启动后端,并在 http://127.0.0.1:8082. 处打开 Studio。 Mekka 探索了一个紧凑的后端表面,供同一应用的人员和代理使用。当前版本运行于 Bun 上,支持两种兼容 SQLite 的数据配置文件:本地 Bun SQLite 数据库用于开发,以及认证的远程 libSQL 主数据库用于自托管部署。同一仓库中还有类型化数据 API、Studio、认证、策略、迁移、存储、实时原语和有范围的 MCP 访问文件。 该项目处于实验性阶段,目标是受控的本地开发和自架测试版测试。它不声称完全兼容 Supabase 或 PostgreSQL。 远程配置文件不会默默退回项目的 .sqlite 文件。

概述(AI 翻译)

SQLite和libSQL的实验性源代码后端。

类型数据 API ·本地认证 ·对象存储 ·实时原语 ·Studio ·有范围的 MCP 访问。

为快速本地迭代和人工与代理原生工作流打造,支持本地SQLite和认证的远程libSQL配置文件。

下载、安装、构建、启动后端,并在 http://127.0.0.1:8082 处打开 Studio。

· 今天运行的内容 ·  运行它  ·  请求路径  ·  内部 内容 ·  代理访问  ·  API 表面  ·  安全  ·  状态  ·  许可    

为什么梅卡存在

Mekka 探索了一个紧凑的后端表面,供同一应用的人员和代理使用。当前版本运行于 Bun 上,支持两种兼容 SQLite 的数据配置文件:本地 Bun SQLite 数据库用于开发,以及认证的远程 libSQL 主数据库用于自托管部署。同一仓库中还有类型化数据 API、Studio、认证、策略、迁移、存储、实时原语和有范围的 MCP 访问文件。

该项目处于实验性阶段,目标是本地受控开发和自架测试版评估。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Why Mekka exists

Mekka explores a compact backend surface for people and agents working on the same application. The current release runs on Bun and supports two SQLite-compatible data profiles: a local Bun SQLite database for development and an authenticated remote libSQL primary for self-hosted deployments. A typed data API, Studio, Auth, policy, migrations, Storage, Realtime primitives, and scoped MCP access ship in the same repository.

The project is experimental and targets controlled local development and self-hosted beta evaluation. It does not claim full Supabase or PostgreSQL compatibility.

What runs today

Surface Local profile Self-hosted libSQL profile
User data Bun SQLite in the project data directory Authenticated remote libSQL over HTTPS
Studio Table Editor, restricted SQL Editor, Authentication, Agent Access The same supported Studio surface; unsupported upstream routes redirect away
Schema and rows Manifest-backed table, column, index, row, and restricted SQL APIs The same contracts through the selected remote engine; no local user-data fallback
MCP metadata inspect_schema, migrations, policy summary, constrained query explanation The same tools against remote libSQL
MCP row data Explicit opt-in query_rows with mcp:data:read Explicit opt-in query_rows against remote libSQL
在 GitHub 查看完整 README

安装

npx mekka
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mekka": { "type": "http", "url": "https://mekka.example.com/mcp", "headers": { "Authorization": "Bearer <temporary-agent-access-token>" } } } }