air
Verified Safeby raja-aiml
Overview
Provides a comprehensive Go framework for building production-ready AI agents and MCP (Model Context Protocol) servers with integrated observability, testing, and infrastructure management.
Installation
air serve --mcpEnvironment Variables
- DATABASE_URL
- JWT_SECRET
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- PORT
- LOG_LEVEL
- OTEL_ENABLED
- OTEL_ENDPOINT
- OTEL_SERVICE_NAME
- OTEL_ENVIRONMENT
- JWT_ISS
- JWT_AUD
Security Notes
The project uses environment variables for sensitive configurations (e.g., database URLs, JWT secrets, API keys) which is good practice. The use of `os.exec.Command` and direct SQL query execution (`db.query`, `db.shell`) is present, but primarily within developer tools and testing infrastructure, where such operations are expected and justified. LLM integrations use tool-calling with structured schemas, which mitigates arbitrary code injection via natural language input. Local Docker Compose configurations use default 'test' credentials, which should not be used in production. Network services in local dev are exposed to 0.0.0.0, requiring users to secure production deployments appropriately.
Similar Servers
mcp-k8s-go
This MCP server enables interaction with Kubernetes clusters to list, get, apply, and execute commands on various resources through a conversational interface.
haskell-mcp-server
Provides a fully-featured Haskell library for building Model Context Protocol (MCP) servers to enable AI agent interaction.
mcp-sdk-go
A Go SDK for building applications that communicate with large language models and external tools via the Model Context Protocol (MCP), supporting both client and server implementations.
mcp-go-starter
A feature-complete Model Context Protocol (MCP) server template in Go demonstrating tools, resources, and prompts for AI agent interaction.