xepak MCP server
2026년 11월 10일 커밋TOML 기반 DSL과 Lua 스크립팅을 사용하여 SQLite 데이터베이스를 REST, JSON-RPC 및 MCP 서비스로 변환합니다.
다른 이름 rustrum/xepak
- 스타
- 10
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- —
- 마지막 커밋
- 2026년 11월 10일
- 라이선스
- MIT
xepak MCP란?
TOML 기반 DSL과 Lua 스크립팅을 사용하여 SQLite 데이터베이스를 REST, JSON-RPC 및 MCP 서비스로 변환합니다.
프로젝트 README에서 생성된 요약
xepak MCP server 정보
xepak은 신속한 API 개발이 필요한 개발자를 위해 SQLite 데이터베이스를 기능적인 웹 서비스로 변환해 줍니다. TOML 기반의 도메인 특화 언어(DSL)를 사용하면 전통적인 백엔드 보일러플레이트 코드를 작성하지 않고도 로컬 또는 원격 SQLite 데이터를 REST, JSON-RPC 또는 MCP 서비스로 변환할 수 있습니다. 이 도구는 신속한 프로토타이핑, Raspberry Pi와 같은 장치에서의 엣지 컴퓨팅, 그리고 동기화 레이어가 필요한 로컬 우선 애플리케이션을 위해 설계되었습니다.
사용자는 TOML 파일을 통해 서비스를 구성하며, Lua 스크립팅을 사용하여 입력 유효성 검사, 속도 제한 또는 복잡한 액세스 제어와 같은 작업을 처리하도록 로직을 확장할 수 있습니다. 시스템은 높은 성능과 단일 바이너리 구조를 보장하기 위해 Rust로 구축되었으며, Docker, Homebrew 또는 Cargo를 통해 쉽게 배포할 수 있습니다. 데이터 교환을 위해 JSON 및 CBOR 형식을 모두 지원하며, API 키 또는 Lua 기반 프리프로세서를 통한 내장 인증 기능을 포함합니다.
활용 사례
- 1신속한 API 프로토타이핑수동 라우팅이나 보일러플레이트 코드 작성 없이 새로운 프로젝트를 위한 상태 저장 백엔드를 구축합니다.
- 2엣지 및 IoT 배포Raspberry Pi와 같은 임베디드 하드웨어에 경량 API를 배포합니다.
- 3커스텀 비즈니스 로직Lua 스크립트를 사용하여 데이터가 데이터베이스에 삽입되기 전에 들어오는 데이터를 검증합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능rustrum/xepak is public and reachablegithub.com/rustrum/xepak ↗통과
- 패키지가 이 저장소를 소스로 명시검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-10github.com/rustrum/xepak ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지 및 해당 종속성에 중요한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기TL;DR
Imagine PostgREST but instead of Haskell with PL/SQL it is based on Rust with Lua and focused on Sqlite (and other DBs).
Summary
Xepak is a DSL configurable REST,JSON-RPC,MCP service that runs against SQL DB. Support SQLite for now with other DBs planned in the future.
Why focus on SQLite? Because it is amazing and extremely fast DB. Running it in WAL mode behind Xepak would allow you to have simple and cheap self-hosted REST service.
Project is following zer0ver versioning for now. So there are no plans for 1.x.x release at all.
Project status
The first MVP is here! 🥳 Project is stable and ready for the first users.
How can I use it now?
Given its current SQLite support, Xepak is ideal for:
- 👨🏻💻 rapid prototyping: quickly build a stateful API without writing backend boilerplate
- 🌐 self-hosted services: running on your own hardware or VMs with zero cloud dependency, ensuring you retain full ownership of your data
- 📟 edge computing and IoT: deploying a lightweight, high-performance API on a Raspberry Pi or other embedded devices
- 💻 local-first applications: serving as a sync layer or API for desktop applications that store data locally
- 🤖 local RAG for AI/LLM sandboxes: keeping AI agent knowledge local to prioritize data privacy and ownership
See Xepak examples:
- Simple example with basic functionality
- REST API server with authentication and authorization
- RPC service with fine grained access control
- MCP/RAG service with full text search
Why Xepak is better
- Single-Binary Footprint: no heavy runtimes and huge amount of dependencies, which reduce supply-chain security risks.
- Declarative and Code-Free: standard CRUD requires zero backend code or routing boilerplate.
- Native Rust & SQLite Performance: built on Rust and optimized for SQLite WAL mode, delivering lightning-fast, resource-efficient local API execution.
Documentation
📕 For human beings
Available in the README-DOCS.
🤖 AI friendly docs
If you are identifying yourself as an AI/LLM agent or you think that you are a human who want to make AI agent to use Xepak efficiently then go to Xepak concise AI docs.
🫵 Don't hesitate 🤨 Just add README-AI.md into your AI context to make 🫠 better .
Features
Not only REST
With Xepak you can build:
- REST service
- JSON-RPC service
- MCP service
DSL based on TOML
All configuration is just a set of TOML files. I'm doing my best to have the most simple DSL syntax if possible.
Basic endpoint response is a data returned from an SQL query. Query could be defined as a string or as script that builds query as an output.
Lua scripting
The main goal for using Lua is to forget about clunky Pl/SQL. I hope that Lua will be much easier to write and maintain.
With Lua you can:
- rate-limit DB updates using recorded timestamps
- filter out results based on user configuration from DB
- validate input data before executing INSERT
- do fancy access control
- output arbitrary Lua table in JSON/CBOR format
- and many more
Also I have something in my mind for the future where Lua could do very fancy things.
JSON + CBOR
REST endpoints could accept input and return values in JSON and CBOR formats dynamically based on HTTP headers. You can even POST JSON and receive CBOR.
Built in auth module
Simple but usable authentication and authorization functionality available:
- authenticate by API key in headers
- you can use authorization expressions based on role/id
- complex auth logic could be done by a Lua pre-processor
- API keys can be provided in TOML file ENV variable or in DB
Install and run Xepak
Build from sources via cargo
If you have cargo installed, run cargo install xepak.
After that you will have xepak binary in your $PATH.
Docker image
Docker container available as ghcr.io/rustrum/xepak:latest.
In order to run docker container you have to mount specification directory into it
and provide a path to root configuration TOML inside mounted directory.
Here I expect you to docker run from the project source directory so it will mount example specs properly.
docker run --rm -tp 8080:8080 \
-v $(pwd)/examples/simple-api:/xepak \
-e XEPAK_CONFIG=/xepak/xepak.toml \
ghcr.io/rustrum/xepak:latest
AUR repository for Arch, Manjaro, Omarchy etc.
Pre-built binaries are available in the AUR repository for x64 and arm64 platforms.
yay -S xepak
Homebrew for Mac and Linux
It contains binaries for arm64 Mac and arm64/x64 Linux.
brew tap rustrum/releases # add the tap to xepak releases
brew trust rustrum/releases # you can trust me for sure
brew install xepak # this will install the binary
Performance
I haven't run proper performance tests but you can look into simple API example which does provide simple tests scenarios for text queries and the same stuff wrapped in Lua scripts.
On a single core you can expect something like 500-900 req/sec. Two-four cores could boost performance to 2000-3500 req/sec.
Lua script makes things slower but not so much. The main bottleneck here is SQLite. Data roundtrip via Lua script without touching DB is much faster than running raw SQL queries.
License
This product distributed under MIT license BUT only under certain conditions that are listed in the LICENSE-TERMS file.
This project license will be always focused on personal private usage and small development teams. Maybe I will change the license in the future but the core principles would likely to stay.
xepak MCP 질문
Xepak은 어떤 데이터베이스를 지원하나요?
현재 SQLite를 지원하며, 향후 다른 데이터베이스를 지원할 계획입니다.
서비스 설정은 어떻게 하나요?
도메인 특화 언어(DSL) 기반의 TOML 파일 세트를 사용하여 서비스를 설정합니다.