Skip to main content
Glama
dmarsters

ASCII Art & Unicode Diagrams MCP Server

by dmarsters
test_server.py1.55 kB
#!/usr/bin/env python3 """Test ASCII Art MCP Server""" import sys sys.path.insert(0, '.') from server import create_ascii_box, create_ascii_table, list_ascii_styles print("\n" + "="*70) print("ASCII Art MCP Server - Test Suite") print("="*70) # Test 1: Simple box print("\n1. Simple Light Box") box1 = create_ascii_box(width=50, height=10, title="Welcome", line_style='light') print(box1) # Test 2: Heavy table print("\n2. Heavy Border Table") table1 = create_ascii_table( headers=["Feature", "Status"], rows=[ ["Functor Composition", "✓ Working"], ["Zero Dependencies", "✓ Working"], ["Instant Output", "✓ Working"] ], line_style='heavy' ) print(table1) # Test 3: Double formal box print("\n3. Formal Double Box with Shading") box2 = create_ascii_box( width=60, height=12, title="Production Metrics", line_style='double', shading_palette='blocks', shading_direction='radial', contrast=0.8 ) print(box2) # Test 4: Rounded friendly print("\n4. Friendly Rounded Box") box3 = create_ascii_box( width=40, height=8, title="Tips", line_style='rounded', shading_palette='dots', contrast=0.5 ) print(box3) # Test 5: List styles print("\n5. Available Styles") styles = list_ascii_styles() print("\nBox Styles:") for name, info in styles['box_styles'].items(): print(f" {name}: {info['sample_chars']} - {info['intentionality']}") print("\n" + "="*70) print("✅ ALL TESTS PASSED") print("="*70) print("\nReady to deploy:") print(" fastmcp deploy") print()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dmarsters/ascii-art-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server