Skip to main content

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

Metadata

Release files for steering-generator-mcp 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for steering-generator-mcp 0.1.3
File Size Uploaded
steering_generator_mcp-0.1.3.tar.gz 24.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for steering-generator-mcp 0.1.3
File Interpreter ABI Platform
steering_generator_mcp-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 53.6 kB

Release files / steering_generator_mcp-0.1.3.tar.gz

Download URL steering_generator_mcp-0.1.3.tar.gz
Size 24.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f3664119a0d822abc8f52bffb9be18343748dfb5ab313038e39e40a79fe62ab8
BLAKE2b-256 checksum
How to use checksums
112e6d08fbd66817b37f80df42eebca6e12fec50f8058569f24373e3c7bf0a3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / steering_generator_mcp-0.1.3-py3-none-any.whl

Download URL steering_generator_mcp-0.1.3-py3-none-any.whl
Size 28.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
662fd44dd9c73d23d9f6acc6bc18273cc1f86a3a29cff82d7eec626865929b40
BLAKE2b-256 checksum
How to use checksums
c8bdfa454cec7f1c8b57a8d96abbb170dde60e2475fa7ab155238fd660c42e47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page