Skip to main content

Kilo Code

Kilo Code is a VS Code extension enhanced by MCP (Model Context Protocol) support, enabling direct code generation, debugging, and project management within the editor.

Features

  • Code Generation: Generate code from natural language descriptions
  • Database Analysis: Analyze database structures and relationships
  • SQL Optimization: Generate and optimize SQL queries
  • Project Management: Manage and organize project files
  • Refactoring: Improve code quality and structure
  • Documentation: Create documentation for your codebase

Installation

Step 1: Install Extension

  1. Launch VS Code
  2. Open the Extensions Marketplace (left sidebar)
  3. Search for "Kilo Code"
  4. Click Install
  5. Trust the developer when prompted

Step 2: Configure API Key

After installation, select "Use your own API key" option to configure custom API settings.

Configure Apertis API

API Provider Setup

  1. Open Kilo Code settings
  2. Select OpenAI Compatible as the API Provider
  3. Enter the Base URL: https://api.apertis.ai/v1
  4. Enter your API Key (obtain from Apertis Dashboard)
  5. Select a model from the Model List

Configuration Summary

SettingValue
API ProviderOpenAI Compatible
Base URLhttps://api.apertis.ai/v1
API KeyYour Apertis API key
ModelSee model list below

Available Models

ModelName to Enter
Claude Sonnet 4.5claude-sonnet-4.5
Claude Haiku 4.5claude-haiku-4.5
GPT-4ogpt-4.1
GPT-4o minigpt-4.1-mini
Gemini 3 Flashgemini-3-flash-preview

Capabilities

Once configured, Kilo Code can assist with:

  • Database Structure Analysis: Understand and document database schemas
  • Statistical Calculations: Perform data analysis and calculations
  • SQL Query Generation: Create optimized SQL queries
  • Code Generation: Generate code based on requirements
  • Project Analysis: Analyze and document project structure
  • Refactoring: Suggest and implement code improvements

MCP Integration

Kilo Code supports MCP (Model Context Protocol) for enhanced functionality:

  • Vision Server: Analyze images and visual content
  • Web Search Server: Search the web for information
  • Web Reader Server: Extract content from web pages

Troubleshooting

Connection Issues

  • Verify your API key at Apertis Dashboard
  • Ensure the Base URL is https://api.apertis.ai/v1
  • Check that the model name matches the Model List exactly

Extension Not Working

  • Restart VS Code after configuration changes
  • Check the Output panel for error messages
  • Ensure you selected "Use your own API key" option