Skip to content

Commit 8c9a26b

Browse files
committed
chore(release): bump version to 0.4.0 and add comprehensive changelog
Version 0.4.0 Release - MCP Design Patterns and Project Infrastructure Added: - Version bump script (scripts/bvn.py) for automated semantic versioning - Comprehensive changelog entry for v0.4.0 documenting all improvements - Changelog link in README.md Quick Links section - Manual validation test suite moved to tests/ directory Changed: - Version bumped from 0.3.2 to 0.4.0 (MINOR increment for new features) - Updated changelog with detailed v0.4.0 entry covering: * 9 new MCP Design Pattern tools (Progressive Discovery, Context Switching, Tool Unloading) * Comprehensive MCP Design Patterns documentation (925 lines) * Manual validation test suite (22 scenarios, 100% pass rate) * Version management script with semantic versioning validation - Updated .gitignore to exclude backups/ directory - Documentation refinement (Total to Estimated Total token savings) Technical Details: - scripts/bvn.py: 300-line version management script with dry-run mode - Semantic versioning validation ensures new version > current version - Manages publish_on_pypi flag for PyPI publication workflow - Test file properly relocated from root to tests/ directory - Changelog follows Keep a Changelog format with semantic versioning Files Modified: 5 files (README.md, changelog.md, pyproject.toml, .gitignore, mcp-design-patterns.md) Files Added: 1 file (scripts/bvn.py) Files Moved: 1 file (test_mcp_design_patterns_manual.py -> tests/) Documentation: https://github.com/PCfVW/mcp-arango-async/blob/master/docs/developer-guide/changelog.md
1 parent 1a4e46e commit 8c9a26b

File tree

7 files changed

+415
-25
lines changed

7 files changed

+415
-25
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ Thumbs.db
5858
**/*.pdf
5959
gitignore/
6060
graph_backups/
61+
backups/

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ A production-ready Model Context Protocol (MCP) server exposing advanced ArangoD
2121

2222
🎯 **MCP Design Patterns:** [https://github.com/PCfVW/mcp-arango-async/blob/master/docs/user-guide/mcp-design-patterns.md](https://github.com/PCfVW/mcp-arango-async/blob/master/docs/user-guide/mcp-design-patterns.md)
2323

24+
📝 **Changelog:** [https://github.com/PCfVW/mcp-arango-async/blob/master/docs/developer-guide/changelog.md](https://github.com/PCfVW/mcp-arango-async/blob/master/docs/developer-guide/changelog.md)
25+
2426
🐛 **Issues:** [https://github.com/PCfVW/mcp-arango-async/issues](https://github.com/PCfVW/mcp-arango-async/issues)
2527

2628
---
@@ -43,13 +45,13 @@ A production-ready Model Context Protocol (MCP) server exposing advanced ArangoD
4345
## Architecture
4446

4547
```
46-
┌────────────────────┐ ┌─────────────────────┐ ┌──────────────────┐
47-
│ MCP Client │ │ ArangoDB MCP │ │ ArangoDB │
48+
┌────────────────────┐ ┌─────────────────────┐ ┌──────────────────┐
49+
│ MCP Client │ │ ArangoDB MCP │ │ ArangoDB │
4850
│ (Claude, Augment) │─────▶│ Server (Python) │─────▶│ (Docker) │
49-
│ │ │ • 43 Tools │ │ • Multi-Model │
50-
│ │ │ • Graph Mgmt │ │ • Graph Engine │
51-
│ │ │ • MCP Patterns │ │ • AQL Engine │
52-
└────────────────────┘ └─────────────────────┘ └──────────────────┘
51+
│ │ │ • 43 Tools │ │ • Multi-Model │
52+
│ │ │ • Graph Mgmt │ │ • Graph Engine │
53+
│ │ │ • MCP Patterns │ │ • AQL Engine │
54+
└────────────────────┘ └─────────────────────┘ └──────────────────┘
5355
```
5456

5557
---

docs/developer-guide/changelog.md

Lines changed: 112 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,124 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

1616
## Table of Contents
1717

18-
1. [Version 0.3.2 (Current)](#version-032---2025-10-20)
19-
2. [Version 0.3.1](#version-031---2025-10-20)
20-
3. [Version 0.3.0](#version-030---2025-10-20)
21-
4. [Version 0.2.11](#version-0211---2025-10-20)
22-
5. [Version 0.2.10](#version-0210---2025-10-20)
23-
6. [Version 0.2.9](#version-029---2025-10-20)
24-
7. [Version 0.2.8](#version-028---2025-10-20)
25-
8. [Version 0.2.7](#version-027---2025-10-19)
26-
9. [Version 0.2.6](#version-026---2025-10-15)
27-
10. [Version 0.2.5](#version-025---2025-10-10)
28-
11. [Version 0.2.0-0.2.4](#version-020-024---2025-09-01-to-2025-10-01)
29-
12. [Version 0.1.x](#version-01x---2025-08-01)
30-
13. [Migration Guides](#migration-guides)
18+
1. [Version 0.4.0 (Current)](#version-040---2025-11-11)
19+
2. [Version 0.3.2](#version-032---2025-10-20)
20+
3. [Version 0.3.1](#version-031---2025-10-20)
21+
4. [Version 0.3.0](#version-030---2025-10-20)
22+
5. [Version 0.2.11](#version-0211---2025-10-20)
23+
6. [Version 0.2.10](#version-0210---2025-10-20)
24+
7. [Version 0.2.9](#version-029---2025-10-20)
25+
8. [Version 0.2.8](#version-028---2025-10-20)
26+
9. [Version 0.2.7](#version-027---2025-10-19)
27+
10. [Version 0.2.6](#version-026---2025-10-15)
28+
11. [Version 0.2.5](#version-025---2025-10-10)
29+
12. [Version 0.2.0-0.2.4](#version-020-024---2025-09-01-to-2025-10-01)
30+
13. [Version 0.1.x](#version-01x---2025-08-01)
31+
14. [Migration Guides](#migration-guides)
3132

3233
---
3334

34-
## [0.3.2] - 2025-10-20
35+
## [0.4.0] - 2025-11-11
3536

3637
**Current Release**
3738

39+
### Added
40+
41+
**MCP Design Pattern Tools (9 new tools)**
42+
- **Progressive Tool Discovery (2 tools):**
43+
- `arango_search_tools` - Search for tools by keywords and categories with configurable detail levels
44+
- `arango_list_tools_by_category` - List tools organized by category for workflow-specific discovery
45+
- Enables on-demand tool loading instead of loading all 43 tools upfront
46+
- Achieves 95-98% token savings in initial context window
47+
48+
- **Context Switching (3 tools):**
49+
- `arango_switch_context` - Switch between 6 predefined workflow contexts (baseline, data_analysis, graph_modeling, bulk_operations, schema_validation, full)
50+
- `arango_get_active_context` - Get currently active workflow context
51+
- `arango_list_contexts` - List all available workflow contexts with descriptions
52+
- Enables workflow-specific tool sets for focused operations
53+
54+
- **Tool Unloading (4 tools):**
55+
- `arango_advance_workflow_stage` - Advance through 4 workflow stages (setup, data_loading, analysis, cleanup)
56+
- `arango_get_tool_usage_stats` - Get usage statistics for all tools
57+
- `arango_unload_tools` - Manually unload specific tools from active context
58+
- `arango_graph_traversal` - Alias for arango_traverse (backward compatibility)
59+
- Enables automatic tool lifecycle management across workflow stages
60+
61+
**Comprehensive MCP Design Patterns Documentation**
62+
- **New Guide:** `docs/user-guide/mcp-design-patterns.md` (925 lines)
63+
- Complete documentation for all three MCP design patterns
64+
- Workflow examples demonstrating up to 98.7% token savings
65+
- Decision matrix for pattern selection
66+
- Best practices and error handling guidance
67+
- Real-world use cases and implementation examples
68+
69+
- **Updated Tools Reference:** `docs/user-guide/tools-reference.md`
70+
- Added section 11: MCP Design Pattern Tools (9 tools)
71+
- Complete API documentation with parameters, returns, examples, use cases, and best practices
72+
- Updated tool count from 34 to 43 tools throughout documentation
73+
74+
- **Updated Main Documentation:**
75+
- `README.md` - Added MCP Design Patterns feature highlight and quick link
76+
- `docs/README.md` - Added MCP Design Patterns Guide to learning paths
77+
- Updated architecture diagram to reflect 43 tools
78+
79+
**Manual Validation Test Suite**
80+
- **New Test File:** `tests/test_mcp_design_patterns_manual.py` (366 lines)
81+
- Comprehensive validation tests for all three MCP design pattern workflows
82+
- 22 validation scenarios covering all 9 tools
83+
- Tests connect to actual ArangoDB instance and exercise tools through MCP server
84+
- Validates Progressive Tool Discovery (5 scenarios)
85+
- Validates Context Switching (8 scenarios)
86+
- Validates Tool Unloading (9 scenarios)
87+
88+
**Version Management Script**
89+
- **New Script:** `scripts/bvn.py` (Bump Version Number) - 300 lines
90+
- Automated version management with semantic versioning validation
91+
- Commands: `--version "X.Y.Z"`, `--pypi true/false`, `--dry-run`
92+
- Validates new version is semantically greater than current version
93+
- Updates version in `pyproject.toml`
94+
- Manages `publish_on_pypi` flag for PyPI publication workflow
95+
- Dry-run mode for previewing changes without applying
96+
- Comprehensive error handling and clear success/error messages
97+
98+
### Changed
99+
100+
- **Tool Count:** Increased from 34 to 43 tools (9 new MCP Design Pattern tools)
101+
- **Tool Categories:** Expanded from 9 to 10 categories (added MCP Design Pattern Tools)
102+
- **Documentation:** 1,455 lines added across 4 documentation files
103+
- **Project Structure:** Test files properly organized in `tests/` directory
104+
- **Version:** Bumped from 0.3.2 to 0.4.0 (MINOR version increment for new features)
105+
106+
### Technical Details
107+
108+
- **MCP Design Patterns Implementation:**
109+
- Tool registry with category-based organization
110+
- Context management with workflow-specific tool sets
111+
- Tool lifecycle tracking with usage statistics
112+
- Backward compatibility maintained with tool aliases
113+
114+
- **Documentation Standards:**
115+
- Follows pedagogical approach (Context→Concept→Code→Conclusion)
116+
- Consistent formatting with existing documentation style
117+
- Absolute GitHub URLs for PyPI compatibility
118+
- Cross-references validated throughout
119+
120+
- **Testing Approach:**
121+
- Manual validation tests complement existing unit/integration tests
122+
- Tests exercise actual MCP server and ArangoDB connection
123+
- Validates end-to-end workflow behavior
124+
- 100% pass rate (22/22 validation tests)
125+
126+
### Performance Impact
127+
128+
- **Token Savings:** Up to 98.7% reduction in initial context window through progressive tool discovery
129+
- **Workflow Efficiency:** Context-specific tool sets reduce cognitive load and improve focus
130+
- **Tool Management:** Automatic lifecycle management reduces manual tool selection overhead
131+
132+
---
133+
134+
## [0.3.2] - 2025-10-20
135+
38136
### Fixed
39137

40138
**Test Suite Stability (20 failing tests resolved)**

docs/user-guide/mcp-design-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ Call: arango_get_tool_usage_stats()
841841
Result: Used 15/43 tools, 28 tools never loaded (65% reduction)
842842
```
843843

844-
**Total Token Savings:** ~130,000 tokens (87% reduction) by combining all three patterns
844+
**Estimated Total Token Savings:** ~130,000 tokens (87% reduction) by combining all three patterns
845845

846846
---
847847

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "mcp-arangodb-async"
7-
version = "0.3.2"
7+
version = "0.4.0"
88
description = "A Model Context Protocol server for ArangoDB"
9-
publish_on_pypi = true # Set to false to skip publish, Set to true when you want to publish
9+
publish_on_pypi = true # Set to false to skip publish, Set to true when you want to publish with an increased version number
1010
readme = "README.md"
1111
license = "Apache-2.0"
1212
authors = [

0 commit comments

Comments
 (0)