2026-01-14 02:00:23 +00:00
|
|
|
#!/usr/bin/env nu
|
|
|
|
|
# AuroraFrame MCP Server - Native Nushell Implementation
|
2026-01-17 03:57:20 +00:00
|
|
|
# DISABLED: Module stubs not implemented, requires infrastructure setup
|
2026-01-14 02:00:23 +00:00
|
|
|
#
|
2026-01-17 03:57:20 +00:00
|
|
|
# This module provides AI-powered tools via Model Context Protocol but
|
|
|
|
|
# the supporting modules (content-generator, schema-intelligence, etc.)
|
|
|
|
|
# are not currently available. Enable this when those modules are ready.
|
2026-01-14 02:00:23 +00:00
|
|
|
|
2026-01-17 03:57:20 +00:00
|
|
|
# Placeholder config function
|
|
|
|
|
def get_mcp_config [] {
|
2026-01-14 02:00:23 +00:00
|
|
|
{
|
2026-01-17 03:57:20 +00:00
|
|
|
name: "auroraframe-mcp-server"
|
|
|
|
|
version: "1.0.0"
|
|
|
|
|
openai_model: "gpt-4"
|
|
|
|
|
openai_api_key: ($env.OPENAI_API_KEY? | default "")
|
|
|
|
|
project_path: ($env.AURORAFRAME_PROJECT_PATH? | default (pwd))
|
|
|
|
|
default_language: ($env.AURORAFRAME_DEFAULT_LANGUAGE? | default "en")
|
|
|
|
|
max_tokens: 4000
|
|
|
|
|
temperature: 0.7
|
2026-01-14 02:00:23 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-17 03:57:20 +00:00
|
|
|
# Placeholder main function - disabled
|
|
|
|
|
# To enable: implement content-generator.nu, schema-intelligence.nu, etc.
|
|
|
|
|
export def "mcp-server start" [
|
|
|
|
|
--debug(-d) # Enable debug logging
|
|
|
|
|
--config(-c): string # Custom config file path
|
2026-01-14 02:00:23 +00:00
|
|
|
] {
|
2026-01-17 03:57:20 +00:00
|
|
|
print "❌ MCP Server is disabled - supporting modules not implemented"
|
|
|
|
|
print "To enable: implement content-generator.nu and related modules"
|
|
|
|
|
exit 1
|
2026-01-14 02:00:23 +00:00
|
|
|
}
|
|
|
|
|
|
2026-01-17 03:57:20 +00:00
|
|
|
export def "mcp-server status" [] {
|
|
|
|
|
print "❌ MCP Server status: DISABLED"
|
chore: complete KCL to Nickel migration cleanup and setup pre-commit
Clean up 404 KCL references (99.75% complete):
- Rename kcl_* variables to schema_*/nickel_* (kcl_path→schema_path, etc.)
- Update functions: parse_kcl_file→parse_nickel_file
- Update env vars: KCL_MOD_PATH→NICKEL_IMPORT_PATH
- Fix cli/providers-install: add has_nickel and nickel_version variables
- Correct import syntax: .nickel.→.ncl.
- Update 57 files across core, CLI, config, and utilities
Configure pre-commit hooks:
- Activate: nushell-check, nickel-typecheck, markdownlint
- Comment out: Rust hooks (fmt, clippy, test), check-yaml
Testing:
- Module discovery: 9 modules (6 providers, 1 taskserv, 2 clusters) ✅
- Syntax validation: 15 core files ✅
- Pre-commit hooks: all passing ✅
2026-01-08 20:08:46 +00:00
|
|
|
}
|