diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-13 20:25:12 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-13 20:25:12 +0200 |
| commit | 78d1b4a990148bc8f021958d0fe5af7769a49088 (patch) | |
| tree | cb669edb7c2dd21b6ded5d38e2cb3d7445cd8136 /cmd | |
| parent | 4e8ffa93d9c9b2be6fdb4519c8fe5a96cc135fef (diff) | |
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 <noreply@anthropic.com>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/hexai-mcp-server/main.go | 26 |
1 files changed, 26 insertions, 0 deletions
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)") |
