systemprompt-api 0.15.0

Axum-based HTTP server and API gateway for systemprompt.io AI governance infrastructure. Exposes governed agents, MCP, A2A, and admin endpoints with rate limiting and RBAC.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! MCP registry routes.
//!
//! [`registry_router`] mounts the read-only MCP server registry endpoint backed
//! by [`registry::handle_mcp_registry`].

pub mod registry;

use axum::Router;
use axum::routing::get;
use systemprompt_runtime::AppContext;

pub fn registry_router(ctx: &AppContext) -> Router {
    Router::new()
        .route("/", get(registry::handle_mcp_registry))
        .with_state(ctx.clone())
}