Skip to content

v2.0.0: Focused Mode - AI-Optimized Tool Subset

Choose a tag to compare

@oisee oisee released this 04 Dec 17:32
· 991 commits to main since this release

🎯 What's New in v2.0.0

This major release introduces Focused Mode, an AI-optimized tool subset that dramatically reduces cognitive load and token overhead while maintaining full functionality for common workflows.

Key Features

Focused Mode (Default) - 19 Essential Tools

  • 58% tool reduction: From 45 tools down to 19 carefully curated essentials
  • 69% token savings: Tool definitions drop from ~6,500 to ~2,000 tokens
  • 73% workflow efficiency: Typical workflows use ~800 tokens instead of ~3,000
  • Clearer decisions: AI assistants choose from 19 tools instead of 45

Unified Tools

  • GetSource: Single tool replaces 7 granular read operations (GetProgram, GetClass, GetInterface, GetFunction, GetFunctionGroup, GetInclude, GetClassInclude)
  • WriteSource: Single tool replaces 4 write operations with auto-upsert (WriteProgram, WriteClass, CreateAndActivateProgram, CreateClassWithTests)
  • GrepObjects: Multi-object regex search (array of object URLs)
  • GrepPackages: Multi-package search with recursive subpackage support - enables namespace-wide searches (e.g., all Z* packages)

Clearer Naming

  • ImportFromFile (File → SAP): Renamed from DeployFromFile for clarity
  • ExportToFile (SAP → File): Renamed from SaveToFile for clarity

Expert Mode - Full Access

  • All 45 tools available with --mode=expert
  • Maintains backward compatibility for existing workflows
  • Includes all atomic operations and granular tools

Configuration

# Focused mode (default) - 19 essential tools
mcp-adt-go --url https://host:44300 --user admin --password secret

# Expert mode - all 45 tools
mcp-adt-go --url https://host:44300 --user admin --password secret --mode=expert

# Environment variable
SAP_MODE=expert mcp-adt-go

Tool Comparison

Aspect Focused Mode Expert Mode
Tools 19 45
Token overhead ~2,000 ~6,500
Use case AI assistants, common workflows Edge cases, debugging, atomic operations
Default ✓ Yes Via --mode=expert

Focused Mode Tools

Unified (2): GetSource, WriteSource
Search (3): GrepObjects, GrepPackages, SearchObject
Workflow (1): EditSource
Data (5): GetTable, GetTableContents, RunQuery, GetPackage, GetFunctionGroup, GetCDSDependencies
Code Intelligence (2): FindDefinition, FindReferences
Development (2): SyntaxCheck, RunUnitTests
File Operations (2): ImportFromFile, ExportToFile
Advanced (2): LockObject, UnlockObject

Breaking Changes

⚠️ Default mode changed to "focused"

  • Existing users may need to add --mode=expert to maintain all 45 tools
  • Alternatively, update workflows to use unified tools (GetSource, WriteSource)

Migration Guide

If you need the old behavior:

# Add --mode=expert flag
mcp-adt-go --mode=expert --url https://host:44300 ...

# Or via environment variable
SAP_MODE=expert mcp-adt-go

To adopt focused mode (recommended):

  • Replace GetProgram/GetClass/etc → GetSource(type, name)
  • Replace WriteProgram/WriteClass/etc → WriteSource(type, name, source, mode)
  • Replace GrepObject → GrepObjects([objectURLs])
  • Replace GrepPackage → GrepPackages([packages], include_subpackages)
  • Replace DeployFromFile → ImportFromFile
  • Replace SaveToFile → ExportToFile

📦 Downloads

Platform Architecture File
Linux x64 mcp-adt-go-linux-amd64
Linux ARM64 mcp-adt-go-linux-arm64
Linux x86 (32-bit) mcp-adt-go-linux-386
Linux ARM (32-bit) mcp-adt-go-linux-arm
macOS x64 (Intel) mcp-adt-go-darwin-amd64
macOS ARM64 (Apple Silicon) mcp-adt-go-darwin-arm64
Windows x64 mcp-adt-go-windows-amd64.exe
Windows ARM64 mcp-adt-go-windows-arm64.exe
Windows x86 (32-bit) mcp-adt-go-windows-386.exe

📝 Installation

# Download binary for your platform
# Make executable (Linux/macOS)
chmod +x mcp-adt-go-*

# Add to PATH or move to bin directory
sudo mv mcp-adt-go-linux-amd64 /usr/local/bin/mcp-adt-go

🔗 Full Changelog

v1.6.0 → v2.0.0

  • Add unified search tools: GrepObjects and GrepPackages (bf0c7fe)
  • Implement Focused Mode: AI-optimized 19-tool subset (c10df99)

See all commits


🤖 Built with Claude Code