You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Comprehensive MCP tool improvements and fixes
- Convert all MCP tool names from kebab-case to snake_case for consistency
- Fix darwin_search to prioritize macOS dock settings over Docker results
- Enhance hm_show to display Type, Default, and Example values
- Add context awareness and intelligent suggestions across all tools
- Implement search result grouping for package versions
- Add concise mode parameter to reduce output verbosity
- Improve error messages with did-you-mean suggestions
- Add GitHub API integration for enhanced flake search
- Increase test coverage to 89% with 334 tests
- Rename test files for better clarity and organization
- Update documentation to reflect all changes
This represents a major enhancement to the MCP-NixOS server, improving
search relevance, output quality, and overall user experience.
2.**Error Handling**: All tools return helpful plain text error messages. API failures gracefully degrade with user-friendly messages.
97
117
98
-
3.**No Caching**: Version 1.0+ removed all caching for simplicity. All queries hit live APIs.
118
+
3.**No Caching**: Version 1.0+ removed all caching for simplicity. All queries hit live APIs.**IMPORTANT**: Never implement caching for external services like NixHub - this is over-engineering for an MCP server. Always prefer simple, direct API calls.
99
119
100
120
4.**Async Everything**: Version 1.0.1 migrated to FastMCP 2.x. All tools are async functions.
101
121
102
122
5.**Plain Text Output**: All responses are formatted as human-readable plain text. Never return raw JSON or XML to users.
103
123
124
+
6.**Keep It Simple**: This is an MCP server, not a web application. Avoid over-engineering solutions like:
125
+
- Caching layers for external APIs
126
+
- Complex retry mechanisms with backoff
127
+
- Database storage
128
+
- Background workers or queues
129
+
- Complicated state management
130
+
131
+
Always prefer simple, direct implementations that are easy to understand and maintain.
132
+
104
133
## CI/CD Workflows
105
134
106
135
-**CI**: Runs on all PRs - tests (unit + integration), linting, type checking
0 commit comments