1. Conduid
  2. Security
  3. Peta Core
MCP server · Security

Peta Core

The Control Plane for MCP — secure vault, managed runtime, audit trail, and policy-based approvals.

75Good

Scored 4 hours ago · breakdown

About Peta Core

Peta Core is an MCP server published by dunialabs in the Security category: the Control Plane for MCP — secure vault, managed runtime, audit trail, and policy-based approvals.

The repository has 59 stars and 10 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/dunialabs/peta-core

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Peta Core

Powered by Claude · Grounded in docs

I know everything about Peta Core. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 4 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.3.0v1.3.0 · 30 Aug 2026Highlights Added opt-in MCP `2026-07-28` support through a stateless modern HTTP adapter while preserving the legacy MCP SDK path and existing sessions by default. Added explicit downstream `auto`, `legacy`, and `modern` selection, modern…
v1.2.2v1.2.2 · 15 Jun 2026Highlights Added opt-in support for the modern MCP protocol version `2026-07-28`, including modern HTTP routing, protocol-version negotiation, OAuth-protected resource metadata, and validation for modern JSON-RPC request/response behavior.…
v1.2.1v1.2.1 · 28 Apr 2026Highlights Improved MCP Streamable HTTP resumability by wiring persisted event replay into the upstream transport. SSE reconnects can now use `Last-Event-ID` within the same session, with replay scoped to that session to prevent…
v1.2.0v1.2.0 · 21 Apr 2026Highlights Added first-class OAuth support for HubSpot, Intercom, and Slack template servers, covering authorization-code exchange, persisted provider metadata, and runtime credential injection for downstream launches. Added owner-side…
v1.1.9v1.1.9 · 7 Apr 2026Highlights Added optional Peta Progressive Disclosure (PPD) for the MCP gateway. Deployments can now keep the existing flat tool list, expose a hybrid catalog-assisted flow, or switch to a strict catalog-first mode without changing the…

README

Peta Core

A control-plane runtime for MCP (Model Context Protocol). Gateway, vault, policy engine, and audit trail for every tool call between AI agents and downstream MCP servers.

Supports the core infrastructure components required to run MCP in production: gateway routing, runtime supervision, policy enforcement, credential management, and audit logging.

Node License PostgreSQL TypeScript

Key guarantees:

  • Credential vault. Secrets stay encrypted at rest (PBKDF2 + AES-GCM) and are injected server-side at execution time. Clients never see raw credentials.
  • Policy engine. RBAC/ABAC with per-user, per-tool capability filtering. Optional human-in-the-loop approval for high-risk operations.
  • Audit trail. Every tool call is logged with caller identity, policy decision, and outcome. Secrets are never included in logs.
  • Managed runtime. Supervises downstream MCP servers with lifecycle controls and automated recovery.
  • Protocol compatibility. Standard MCP upstream, plus downstream compatibility for the shared gateway flows that Peta Core currently supports. Standard server-initiated reverse requests (sampling, roots, elicitation) are intentionally not exposed in the current shared runtime.
  • Self-hosted. On-premises deployment model. No hosted SaaS dependency.

Quick Start | Website | Documentation


Architecture

Peta MCP Stack Overview

Peta Core sits between MCP clients (Claude, ChatGPT, Cursor, n8n, or any MCP-compatible client) and downstream MCP servers. From the client's perspective, it connects to a single MCP server. Behind that endpoint, Peta Core routes to multiple downstream servers using standard MCP for the shared forward-request flows it supports.

Peta Core is one component of the Peta MCP stack:

  • Peta Core (this repository) — MCP gateway, credential vault, policy engine, and audit runtime.
  • Peta Console — Admin UI for users, servers, policies, approvals, and audit logs.
  • Peta Desk — Desktop client for approval workflows and per-user server configuration.

This repository contains only Peta Core. See docs.peta.io for the full stack.


Features

MCP Gateway

  • Transparent MCP proxying. Acts as an MCP server upstream and an MCP client downstream. Routes tool calls via namespaced identifiers (serverId::toolName).
  • MCP 2026-07-28 support. Modern clients can use stateless server/discover, POST-only Streamable HTTP, subscriptions/listen, OAuth resource metadata, and per-request protocol metadata behind a rollout flag while legacy sessionful clients remain supported.
  • Built-in OAuth 2.0 authorization server. Authorization Code with PKCE, refresh tokens, dynamic client registration, token introspection, and revocation.
  • Anonymous public access mode. Optionally allow token-less access for selected public servers through /mcp/public, while authenticated traffic continues on the standard /mcp endpoint, with configurable anonymous rate limits.

Runtime & Extensions

  • Downstream server runtime. Lazy start on first request, health checks, idle timeouts, and capability caching.
  • Custom MCP tools (HTTPS or stdio). HTTPS-based custom tools remain supported, with stdio transport added for process-based tools.
  • Docker-safe CustomStdio execution. In Docker deployments, non-docker stdio commands are transparently executed inside petaio/mcp-runner:latest; explicit docker commands keep their original behavior.
  • REST API adapter. Register HTTP endpoints as MCP servers. Peta Core translates tool calls to HTTP requests without writing a custom MCP server.
  • Skill packages. Upload per-server ZIP bundles with SKILL.md metadata. Served as namespaced MCP tools, isolated by server ID.

Credential Vault

  • Server-side credential injection. Credentials are decrypted and injected at execution time. They never appear in client configs or prompts.
  • Encrypted configuration storage. Server launch configs and per-user configuration blobs are encrypted at rest.
  • OAuth token brokerage. Stores downstream OAuth configurations encrypted, refreshes access tokens automatically, and injects them into downstream calls. Refresh tokens are never exposed.

Policy Engine

  • Per-user, per-tool policy evaluation. RBAC/ABAC rules with content-aware DSL conditions and capability filtering.
  • Human-in-the-loop approvals. Durable approval queue with explicit lifecycle states and replay-safe retries.
  • Rate limiting and network controls. Per-user quotas with sliding window enforcement. Optional IP allow-lists per workspace.

Result Cache

  • Configurable result caching with per-entity policy controls (tools, prompts, resources.inline, resources.exact, resources.patterns).
  • Safe-by-default behavior for tool results: approval-gated or error results are not promoted into cache.
  • Scope-aware cache keys and purge controls, including exact purge with operation/entity-level targeting.

Progressive Disclosure

  • Configurable tool visibility. Three discovery modes (FLAT, HYBRID, STRICT) control whether tools are directly exposed or discoverable only through a catalog search interface.
  • Discovery profiles. Named profiles with rule-based exposure policies determine which tools are directly callable based on server identity and risk level.
  • Persistent catalog index. A searchable index of all tool capabilities across managed servers, with native catalog.search, catalog.describe, and catalog.execute tools for AI-driven discovery.

Audit & Observability

  • Audit trail. Records caller identity, tool name, policy decision, approval status, and outcome for every tool call. Secrets are excluded from log payloads.
  • Structured logging. Pino-based JSON logs with per-module child loggers. Integrates with external log aggregation via webhook.
  • Observability workflows. Audit records and structured logs support log views, export workflows, and usage dashboards.

Reliability

  • Stream resumption. Events are persisted to allow clients to resume via Last-Event-ID after disconnection.
  • Real-time notification channel. Socket.IO-based push for approval requests, capability updates, and server status changes.
  • Automatic server recovery. Consecutive downstream timeouts trigger a health ping and automatic reconnection.
  • Request-level retry. On downstream disconnection, the gateway reconnects and retries the call up to two times. Clients see a single request.

Documentation

Verification

Run PETA_COMPAT_OWNER_TOKEN=<test-owner-token> npm run compat:smoke to verify real legacy and modern MCP gateway flows. It requires the local database and JWT_SECRET, cleans up its compat-smoke-* records, and writes the ignored diagnostic report at scripts/compat-smoke/report.json.


License

Licensed under the Elastic License 2.0 (ELv2).

You may use, modify, and self-host this software. You may not provide it to third parties as a hosted or managed service, remove license key functionality, or obscure licensing notices.

For detailed terms, see the LICENSE file.

Copyright © 2026 Dunia Labs, Inc.

README fetched from the repository 4 hours ago. The original is authoritative.

Questions

About Peta Core

How do I install Peta Core?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Peta Core safe to use with an AI agent?

Its trust score is 75 out of 100 (good). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Peta Core still maintained?

Yes — the latest release is v1.3.0 (30 Aug 2026), and the last commit was a month ago. The repository has 59 stars and 1 open issues.