kodegen
Verified Safeby cyrup-ai
Overview
A Rust-native Model Context Protocol (MCP) server providing blazing-fast auto-coding and development tools for AI agents.
Installation
kodegenEnvironment Variables
- KODEGEN_SHUTDOWN_TIMEOUT_SECS
- KODEGEN_HTTP_TIMEOUT_SECS
- DATABASE_DSN
- DATABASE_READONLY
- DATABASE_MAX_ROWS
- SSH_HOST
- SSH_PORT
- SSH_USER
- SSH_KEY
- SSH_PASSWORD
Security Notes
The `kodegen claude` subcommand spawns the `claude` CLI process and passes through arbitrary arguments (`passthrough_args`) directly. This is a powerful feature intended for agent control, but it implies that `kodegen` allows `claude` CLI commands to be executed via its interface. If `kodegen` were exposed to untrusted input without proper sanitization at a higher level, this could be a vulnerability. The `StdioProxyServer` sends the current working directory (`X_KODEGEN_PWD`) and detected Git repository root (`X_KODEGEN_GITROOT`) as HTTP headers to backend MCP servers. This is a potential information leak if `--host` is configured to point to an untrusted endpoint. Credentials for database and SSH connections (`DATABASE_DSN`, `SSH_KEY`, `SSH_PASSWORD`) can be provided via environment variables or CLI arguments; their security depends on how the downstream category servers (to which `kodegen` proxies) handle and store them. The server itself does not perform deep validation of tool arguments, deferring this to backend services.
Similar Servers
rust-mcp-sdk
A high-performance, asynchronous Rust SDK for building Model Context Protocol (MCP) servers and clients, supporting various transports and authentication methods.
rust-docs-mcp
Provides AI agents with deep, cached access to Rust crate documentation, source code, and project structure for enhanced development.
rust-mcp-schema
Provides a type-safe Rust implementation of the Model Context Protocol (MCP) schema, enabling developers to build robust MCP servers and clients.
skrills
A versatile tool to manage, validate, analyze, and synchronize AI skills and agent configurations for Claude Code and Codex CLI, running as an MCP server.