From 78d1b4a990148bc8f021958d0fe5af7769a49088 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 13 Feb 2026 20:25:12 +0200 Subject: chore: deprecate hexai-mcp-server as experimental Add deprecation notices across hexai-mcp-server codebase and documentation. The MCP server is now considered experimental and not actively maintained, as prompts are managed through slash commands and meta-commands instead. Changes: - Add runtime deprecation warning to stderr on binary startup - Mark feature as deprecated in README.md - Add deprecation notices to all 8 MCP documentation files - Add deprecation log message to run.go - Update Magefile.go build comment The code remains fully functional but warns users of its experimental status. Co-Authored-By: Claude Sonnet 4.5 --- cmd/hexai-mcp-server/main.go | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'cmd/hexai-mcp-server') diff --git a/cmd/hexai-mcp-server/main.go b/cmd/hexai-mcp-server/main.go index acdb1d0..557172f 100644 --- a/cmd/hexai-mcp-server/main.go +++ b/cmd/hexai-mcp-server/main.go @@ -12,7 +12,33 @@ import ( "codeberg.org/snonux/hexai/internal/hexaimcp" ) +// printDeprecationWarning outputs a deprecation notice to stderr explaining +// that hexai-mcp-server is experimental and not actively maintained. +func printDeprecationWarning() { + warning := ` +⚠️ DEPRECATION NOTICE ⚠️ + +hexai-mcp-server is currently EXPERIMENTAL and NOT ACTIVELY MAINTAINED. + +The author does not have a real use case for this MCP server at this time. +Prompts are now managed through slash commands and meta-commands in the +main hexai agent system, making this MCP server's prompt management +functionality redundant. + +This code is kept in the repository for potential future enhancements +(possibly adding more useful functionality than prompt management), but +no guarantees are made about its stability or continued support. + +Use at your own risk. + +──────────────────────────────────────────────────────────────────────── +` + fmt.Fprintln(os.Stderr, warning) +} + func main() { + printDeprecationWarning() + defaultLog := defaultLogPath() logPath := flag.String("log", defaultLog, "path to log file (optional)") configPath := flag.String("config", "", "path to config file (optional)") -- cgit v1.2.3