seren

mcp
Security Audit
Warn
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Pass
  • Code scan — Scanned 9 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested
Purpose
This project provides an official Rust SDK, CLI, and MCP server for SerenDB, a serverless Postgres platform. It allows AI assistants to interact with and manage databases via the Model Context Protocol.

Security Assessment
The overall risk is Low. The static code scan analyzed 9 files and found no dangerous patterns, hardcoded secrets, or requests for dangerous local permissions. Since this is an API integration tool, network requests to `serendb.com` are expected and required. It handles database management and includes an OAuth implementation for authentication. While database tools inherently deal with sensitive data, the repository is designed to interact strictly with the vendor's remote platform rather than executing arbitrary local shell commands.

Quality Assessment
The project is in excellent health and is actively maintained, with its most recent push happening today. It uses the permissive MIT license and includes clear, professional documentation with a structured build process. The only notable drawback is its extremely low community visibility—it currently has only 5 GitHub stars. Consequently, the codebase has not been broadly vetted by a large open-source audience, which is typical for newer or niche commercial SDKs.

Verdict
Safe to use, though keep in mind that the tool is primarily a commercial gateway and lacks extensive community vetting.
SUMMARY

Seren CLI & MCP

README.md

Seren

Official Rust SDK, CLI, and MCP server for SerenAI - the team behind SerenDB, a serverless Postgres platform with built-in agent commerce and micropayments.

Packages

Package Description Status
seren Rust SDK for the SerenAI API (SerenDB) crates.io
seren-cli Command-line interface Not published on crates.io yet
seren-mcp MCP server for AI assistants Not published on crates.io yet

Quick Start

MCP Server (AI Integration)

Connect Claude or other AI assistants to SerenAI:

# Claude Code (recommended - no local install needed)
claude mcp add --scope user --transport http seren https://mcp.serendb.com/mcp

Or configure manually for Claude Desktop:

{
  "mcpServers": {
    "seren": {
      "url": "https://mcp.serendb.com/mcp",
      "transport": "streamable-http"
    }
  }
}

See mcp/README.md for local server setup and all configuration options.

CLI

# Install from source (see Installation below)
cargo install --path cli

# Login and start managing databases
seren auth login
seren projects list
seren projects create --name my-project --region aws-us-east-1

Rust SDK

[dependencies]
seren = "0.5"
use seren::{Client, ClientConfig};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let config = ClientConfig::new("seren_your_api_key");
    let client = Client::from_config(&config)?;

    let projects = client.list_projects(None, None, None).await?;
    println!("Found {} projects", projects.into_inner().data.len());

    Ok(())
}

Installation

From Source

git clone https://github.com/serenorg/seren.git
cd seren

# Build all packages
cargo build --release

# Install CLI
cargo install --path cli

# Install MCP server
cargo install --path mcp

Pre-built Binaries

Download pre-built binaries from GitHub Releases (tagged versions): https://github.com/serenorg/seren/releases

Each release asset includes:

  • seren (CLI)
  • seren-mcp (MCP server)

Development

Prerequisites

  • Rust 1.85+ (edition 2024)
  • PostgreSQL (for MCP OAuth mode and integration tests)

Building

# Build all packages
cargo build --workspace

# Run tests
cargo test --workspace

# Lint
cargo clippy --all-targets -- -D warnings

# Format
cargo fmt --all

Project Structure

seren/
├── api/            # Rust SDK - OpenAPI-generated type-safe client
├── cli/            # CLI tool - clap-based database management
├── mcp/            # MCP server - stdio, HTTP, and OAuth modes
│   ├── oauth/      #   OAuth 2.1 + PKCE implementation
│   ├── wallet/     #   x402 crypto payment support
│   └── migrations/ #   Embedded SQL migrations
├── openapi/        # OpenAPI spec (source for SDK codegen)
├── docker/         # Dockerfiles
└── Cargo.toml      # Workspace configuration

Documentation

License

MIT License - see LICENSE for details.

Support

Reviews (0)

No results found