Crate codeprism_mcp_server

Source
Expand description

CodePrism MCP Server

This crate provides an MCP (Model Context Protocol) server implementation built on the official Rust SDK. It exposes CodePrism’s code analysis capabilities through the standardized MCP protocol.

§Architecture

The server is organized into several modules:

  • server: Core MCP server implementation
  • tools: MCP tool implementations (core, search, analysis, workflow)
  • config: Configuration management
  • error: Error types and handling

§Usage

The server can be run as a standalone binary or embedded in other applications. It supports stdio transport for communication with MCP clients.

Re-exports§

pub use config::Config;
pub use error::Error;
pub use error::Result;
pub use server::CodePrismMcpServer;

Modules§

config
Advanced Configuration System for CodePrism MCP Server
error
Error types for the CodePrism MCP Server
response
Response helpers for dual-format MCP responses
server
Core MCP server implementation using rust-sdk
tools
MCP tool parameter types for CodePrism

Constants§

MCP_VERSION
The MCP protocol version this server implements
SERVER_NAME
The name of the MCP server for identification
VERSION
The current version of the CodePrism MCP Server