# ASCII Character Generator

A simple ASCII art generator that supports both web interface and CLI usage, implementing the MCP protocol.

## Installation

```bash
npm install -g ascii-character-generator
```

## Usage

### CLI Usage
```bash
ascii-art "Your text here"
```

Example:
```bash
ascii-art "Hello"
```

### Web Interface
1. Start the server:
```bash
npx ascii-character-generator
```

2. Open your browser and visit: http://localhost:3000

3. Enter your text in the input field and click "Generate ASCII Art"

## API Usage

You can also use it as a server implementing the MCP protocol:

```javascript
const response = await fetch('http://localhost:3000/mcp', {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
    },
    body: JSON.stringify({
        action: 'generateAsciiArt',
        params: { text: 'Your text here' }
    })
});
```

## Features
- Web interface for easy use
- Command-line interface for quick access
- MCP protocol implementation
- Built with Node.js and Express
- Uses Figlet for ASCII art generation

## License
ISC 