Skip to main content
Glama

CodeGraph CLI MCP Server

by Jakedismo
error.rs781 B
use thiserror::Error; #[derive(Error, Debug)] pub enum VectorError { #[error("Dimension mismatch: expected {0}, got {1}")] DimensionMismatch(usize, usize), #[error("Batch size mismatch")] BatchSizeMismatch, #[error("Vector is empty")] EmptyVector, #[error("Index out of bounds: {0}")] IndexOutOfBounds(usize), #[error("Invalid vector operation: {0}")] InvalidOperation(String), #[error("SIMD operation failed: {0}")] SimdError(String), #[error("Embedding error: {0}")] Embedding(String), #[error("Search error: {0}")] Search(String), } impl From<VectorError> for codegraph_core::CodeGraphError { fn from(err: VectorError) -> Self { codegraph_core::CodeGraphError::Vector(err.to_string()) } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jakedismo/codegraph-rust'

If you have feedback or need assistance with the MCP directory API, please join our Discord server