{
  "name": "TextArtTools MCP Server",
  "description": "Unicode text styling and ASCII art generation API using Model Context Protocol (MCP)",
  "version": "1.1.0",
  "protocolVersion": "2024-11-05",
  "endpoints": {
    "mcp_sse": {
      "url": "/sse",
      "method": "POST",
      "transport": "Server-Sent Events",
      "description": "MCP JSON-RPC 2.0 endpoint for text styling and ASCII art generation",
      "content_type": "application/json"
    },
    "mcp_streamable": {
      "url": "/mcp",
      "method": "POST",
      "transport": "Streamable HTTP",
      "description": "MCP JSON-RPC 2.0 endpoint (alternative transport)",
      "content_type": "application/json"
    },
    "example_requests": {
      "unicode_styling": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "tools/call",
        "params": {
          "name": "unicode_style_text",
          "arguments": {
            "text": "Hello World",
            "style": "bold"
          }
        }
      },
      "text_banners": {
        "jsonrpc": "2.0",
        "id": 2,
        "method": "tools/call",
        "params": {
          "name": "ascii_art_text",
          "arguments": {
            "text": "Hello",
            "font": "Standard"
          }
        }
      }
    },
    "available_tools": {
      "unicode_tools": [
        "unicode_style_text",
        "list_available_styles",
        "preview_styles",
        "get_style_info"
      ],
      "text_banner_tools": [
        "ascii_art_text",
        "list_figlet_fonts",
        "preview_figlet_fonts"
      ]
    },
    "discovery_commands": {
      "get_all_styles": {
        "method": "tools/call",
        "params": {
          "name": "list_available_styles",
          "arguments": {}
        },
        "description": "Get complete list of available Unicode text styles"
      },
      "get_all_fonts": {
        "method": "tools/call",
        "params": {
          "name": "list_figlet_fonts",
          "arguments": {}
        },
        "description": "Get complete list of available figlet fonts for text banners"
      }
    },
    "health": {
      "url": "/health",
      "method": "GET",
      "description": "Server health check"
    }
  },
  "instructions_for_ai": [
    "Use POST method to /sse or /mcp endpoint (both support same JSON-RPC 2.0 protocol)",
    "Set Content-Type: application/json header",
    "Send JSON-RPC 2.0 formatted requests with method \"tools/call\"",
    "FIRST: Use list_available_styles to discover all Unicode text styles",
    "FIRST: Use list_figlet_fonts to discover all available text banner fonts",
    "For Unicode styling: use unicode_style_text with text and style parameters",
    "For text banners: use ascii_art_text with text and font parameters",
    "Use preview_styles and preview_figlet_fonts to compare options",
    "Use get_style_info for detailed Unicode style information",
    "Protocol version: 2024-11-05"
  ]
}