Skip to main content

MCP Server to auto-generate steering/context docs from codebases - like Kiro IDE's built-in feature, but for all AI IDEs

Project description

Steering Generator MCP Server

PyPI version Python 3.10+ License: MIT

MCP Server to auto-generate steering/context docs from codebases — like Kiro IDE's built-in feature, but for all AI IDEs (Cursor, VS Code, Windsurf, Cline, Aider, etc).


🚀 Quick Install

Option 1: pip install (Recommended)

pip install steering-generator-mcp

Then add to your MCP config:

{
  "mcpServers": {
    "steering-generator": {
      "command": "steering-generator"
    }
  }
}

Option 2: uvx (No install needed)

If you have uv installed:

{
  "mcpServers": {
    "steering-generator": {
      "command": "uvx",
      "args": ["steering-generator-mcp"]
    }
  }
}

Option 3: Python module

{
  "mcpServers": {
    "steering-generator": {
      "command": "python",
      "args": ["-m", "steering_generator"]
    }
  }
}

Config File Locations

IDE Config File
Kiro .kiro/settings/mcp.json
Cursor .cursor/mcp.json
VS Code .vscode/mcp.json
Windsurf ~/.codeium/windsurf/mcp_config.json
Claude Desktop claude_desktop_config.json
Cline Cline MCP settings in VS Code

💬 Usage

Just chat with your AI:

"Generate steering docs for this project"

Done! AI will generate context files automatically.


What Does It Generate?

3 Foundational Steering Files (like Kiro)

File Purpose
product.md Product overview, target users, key features, business objectives
tech.md Technology stack, frameworks, libraries, dev tools, constraints
structure.md File organization, naming conventions, import patterns, architecture

Output Formats per IDE

IDE Output Location
Kiro .kiro/steering/*.md (multiple files)
Cursor .cursor/rules/project.mdc
GitHub Copilot .github/copilot-instructions.md
Windsurf .windsurfrules
Cline .clinerules
Aider CONVENTIONS.md

Supported Frameworks

  • ✅ Next.js (App Router & Pages)
  • ✅ React (Vite/CRA)
  • ✅ Vue.js (Vite)
  • ✅ Nuxt.js
  • ✅ Laravel 12

Features

Inclusion Modes

Control when steering files are loaded:

---
inclusion: always          # Always loaded (default)
---
---
inclusion: fileMatch
fileMatchPattern: "app/api/**/*"   # Only when working on matching files
---
---
inclusion: manual          # On-demand via #steering-file-name
---

File References

Reference other files in your steering docs:

#[[file:lib/types.ts]]
#[[file:api/openapi.yaml]]

Custom Steering Templates

Built-in templates for common patterns:

  • api - REST API standards
  • testing - Testing conventions
  • security - Security policies
  • code-style - Code conventions
  • deployment - Deployment workflow
  • components - Component patterns

MCP Tools

Tool Description
generate_steering Generate foundational steering docs
deep_analyze_project Deep analysis with categorized deps, patterns, entities
create_custom_steering Create custom steering with inclusion mode
get_steering_template Get template for common patterns
detect_project_framework Detect framework (nextjs/react/vue/laravel)
list_supported_frameworks List supported frameworks
list_supported_ides List supported IDE output formats

Example Output

.kiro/steering/tech.md

---
inclusion: always
---

# Technology Stack

## Framework & Runtime

- **Framework**: Next.js 15 (App Router)
- **UI Library**: React 19
- **Language**: TypeScript 5

## Database & Backend

- **Database**: Supabase (PostgreSQL)
- **Auth**: Supabase Auth

## UI & Styling

- **CSS Framework**: Tailwind CSS
- **Component Library**: shadcn/ui
- **Icons**: Lucide React

## Key Libraries

- **Validation**: Zod
- **Forms**: React Hook Form
- **State**: Zustand

## Development Commands

```bash
npm run dev       # Start dev server
npm run build     # Build for production

---

## Requirements

- Python 3.10+
- [uv](https://docs.astral.sh/uv/getting-started/installation/) (for `uvx` command) OR pip

### Optional: Ripgrep

For faster scanning on large codebases:

```bash
# Windows
winget install BurntSushi.ripgrep

# Mac
brew install ripgrep

# Linux
sudo apt install ripgrep

License

MIT


Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

steering_generator_mcp-0.1.3.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

steering_generator_mcp-0.1.3-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file steering_generator_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: steering_generator_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for steering_generator_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f3664119a0d822abc8f52bffb9be18343748dfb5ab313038e39e40a79fe62ab8
MD5 72978161460323dc90b72e1c6b4b1f4c
BLAKE2b-256 112e6d08fbd66817b37f80df42eebca6e12fec50f8058569f24373e3c7bf0a3d

See more details on using hashes here.

File details

Details for the file steering_generator_mcp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for steering_generator_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 662fd44dd9c73d23d9f6acc6bc18273cc1f86a3a29cff82d7eec626865929b40
MD5 15998c5d207609d0bfa519f8d2f0ab53
BLAKE2b-256 c8bdfa454cec7f1c8b57a8d96abbb170dde60e2475fa7ab155238fd660c42e47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page