akeyless_mcp 3.0.1

The purpose of this application is to provide access to Akeyless API.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::path::PathBuf;

#[derive(Debug, thiserror::Error)]
pub enum AkeylessMcpError {
    #[error("HTTP request failed: {0}")]
    Request(#[from] reqwest::Error),

    #[error("API returned {status}: {body}")]
    Api { status: u16, body: String },

    #[error("JSON parse error: {0}")]
    Json(#[from] serde_json::Error),

    #[error("API key not found -- set --api-key, AKEYLESS_MCP_API_KEY, or create {path}")]
    NoApiKey { path: PathBuf },
}

pub type Result<T> = std::result::Result<T, AkeylessMcpError>;