- Enhanced `ARCHITECTURE.md` with details on LLM models for work (Llama 3.1 70B Q4) and family agents (Phi-3 Mini 3.8B Q4). - Introduced new documents: - `ASR_EVALUATION.md` for ASR engine evaluation and selection. - `HARDWARE.md` outlining hardware requirements and purchase plans. - `IMPLEMENTATION_GUIDE.md` for Milestone 2 implementation steps. - `LLM_CAPACITY.md` assessing VRAM and context window limits. - `LLM_MODEL_SURVEY.md` surveying open-weight LLM models. - `LLM_USAGE_AND_COSTS.md` detailing LLM usage and operational costs. - `MCP_ARCHITECTURE.md` describing the Model Context Protocol architecture. - `MCP_IMPLEMENTATION_SUMMARY.md` summarizing MCP implementation status. These updates provide comprehensive guidance for the next phases of development and ensure clarity in project documentation.
58 lines
1.4 KiB
Python
Executable File
58 lines
1.4 KiB
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Verify that all tools are registered correctly.
|
|
"""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Add current directory to path
|
|
sys.path.insert(0, str(Path(__file__).parent))
|
|
|
|
from tools.registry import ToolRegistry
|
|
|
|
def main():
|
|
print("=" * 50)
|
|
print("MCP Server Tool Verification")
|
|
print("=" * 50)
|
|
|
|
registry = ToolRegistry()
|
|
tools = registry.list_tools()
|
|
|
|
print(f"\n✓ Total tools registered: {len(tools)}")
|
|
print("\nTools:")
|
|
for i, tool in enumerate(tools, 1):
|
|
print(f" {i}. {tool['name']}")
|
|
print(f" {tool['description'][:60]}...")
|
|
|
|
expected_tools = [
|
|
'echo',
|
|
'weather',
|
|
'get_current_time',
|
|
'get_date',
|
|
'get_timezone_info',
|
|
'convert_timezone'
|
|
]
|
|
|
|
actual_names = [t['name'] for t in tools]
|
|
|
|
print("\n" + "=" * 50)
|
|
if len(tools) == 6:
|
|
print("✓ All 6 tools are registered correctly!")
|
|
else:
|
|
print(f"⚠ Expected 6 tools, found {len(tools)}")
|
|
|
|
missing = set(expected_tools) - set(actual_names)
|
|
if missing:
|
|
print(f"⚠ Missing tools: {missing}")
|
|
else:
|
|
print("✓ All expected tools are present")
|
|
|
|
print("=" * 50)
|
|
print("\nIf server shows only 2 tools, restart it:")
|
|
print(" 1. Stop server (Ctrl+C)")
|
|
print(" 2. Run: ./run.sh")
|
|
|
|
if __name__ == "__main__":
|
|
main()
|