Skip to main content
Glama
rxolve
by rxolve

artscii

npm

大语言模型不会画画,但这个 MCP 可以。

ASCII 艺术、颜文字、动画、图表、图像转换及程序化角色——专为 AI 智能体设计的 11 种核心工具。

81 种精选艺术 × 12 种动作 = 972 种终端动画。仅凭一个种子即可生成 153,600 个独特的程序化角色。此外还有 100 个颜文字、11 种图表类型、FIGlet 横幅以及支持盲文模式的图像转 ASCII 功能。

     .::-::.         .:-::.        --- apple (16w) ---
  .=#%@@@@@%#=:  .=*%@@@@@%#+:           +:
 -%@@@@@@@@@@@%*+%@@@@@@@@@@@%+      :--:#*.--:
.%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@-    -#@@@@#%@@@@%=
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*   :@@@%****+#%@@@:
.%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@=   -@%%%+*@@+*@%%@-
 =@@@@@@@@@@@@@@@@@@@@@@@@@@@@*     *@@%+*+#=#%@@#
  -#@@@@@@@@@@@@@@@@@@@@@@@@%=       +%@@@#@@@@%+
    =%@@@@@@@@@@@@@@@@@@@@%*.         .-+**=*+=.
      =#@@@@@@@@@@@@@@@@%+.
        =#@@@@@@@@@@@@%+.    ʕ•ᴥ•ʔ  (◕‿◕)  (╯°□°)╯︵ ┻━┻
          -#@@@@@@@@%+.
            -#@@@@%=.
              -*#=

安装

Claude Code — 一条命令:

claude mcp add artscii -- npx -y artscii

Claude Desktop — 添加到 claude_desktop_config.json

{ "mcpServers": { "artscii": { "command": "npx", "args": ["-y", "artscii"] } } }

Cursor — 添加到 .cursor/mcp.json

{ "mcpServers": { "artscii": { "command": "npx", "args": ["-y", "artscii"] } } }

VS Code — 在扩展面板中搜索 @mcp artscii,或添加到 settings.json

{ "mcp": { "servers": { "artscii": { "command": "npx", "args": ["-y", "artscii"] } } } }

Related MCP server: Ascii Art AI MCP

MCP 工具

工具

参数

描述

search

query?, type?, random?, mode?

搜索艺术 + 颜文字。省略查询词以列出全部

get

id

通过 ID 获取艺术

kaomoji

query?, category?

按情绪获取颜文字。省略则随机获取

banner

text, font?

渲染大型 ASCII 文本(FIGlet,5 种字体)

frame

text, style?, padding?, align?, title?

在文本周围绘制边框/框架(5 种样式)

chart

type, ...

数据可视化:进度条、迷你图、热力图

animate

art, motion, output?

组合艺术 + 动作 → 终端动画

character

seed, species?, eyes?, mouth?, hat?, accessory?, mood?, size?

从种子生成独特的 ASCII 角色

compose

blocks, mode?, gap?, align?

并排或堆叠组合文本块

convert

url?, base64?, mode?, size?, ...

图像 → ASCII(ascii 或盲文模式)

diagram

type, ...

生成 ASCII 图表(11 种类型)

边框框架

使用 5 种样式为任何文本绘制边框:

┌───────┐   ╔═══════╗   ╭───────╮   ┏━━━━━━━┓   +-------+
│ hello │   ║ hello ║   │ hello │   ┃ hello ┃   | hello |
└───────┘   ╚═══════╝   ╰───────╯   ┗━━━━━━━┛   +-------+
 single      double      rounded       bold        ascii

选项:padding(内边距)、align(左/中/右对齐)、title(顶部边框标题)。

图表

统一的 chart 工具,支持 3 种类型:进度条 (progress)迷你图 (sparkline)热力图 (heatmap)

Progress:   ███████████████░░░░░ 75%
Sparkline:  ▁▂▃▄▅▆▇█▇▅▃▁
Heatmap:     A B C
           X ░▒█
           Y ▓░▒

动画

将任何艺术(名词)与动作(动词)组合,创建终端动画。81 种艺术 × 12 种动作 = 972 种组合。 也支持自定义文本。

animate("apple", "bounce")     → bouncing apple
animate("trophy", "progress")  → trophy rides a progress bar 0→100%
animate("lock", "reveal")      → line-by-line reveal
animate("GAME OVER", "blink")  → blinking custom text

动作:bounce(弹跳)、shake(摇晃)、blink(闪烁)、slide(滑动)、reveal(显示)、fade(淡入淡出)、pulse(脉冲)、rain(下雨)、progress(进度)、wave(波浪)、jump(跳跃)、talk(说话)

输出:script(用于终端播放的 bash 脚本)或 frames(原始数据)

角色

程序化 ASCII 角色生成器。一个种子 → 一个独特的角色。153,600 种标准组合(16 种物种 × 10 种眼睛 × 8 种嘴巴 × 10 种帽子 × 12 种配饰)。

character("alice")                   character("bob", mood: "happy")

   ____                                  /\_/\
  ]==== )                                ( ^ ^ )
  _____                                  ( u )
 / * * \                                  \_^_/
|   u   |
 \_____/
  |||||
   ~~o=o~~

物种:blob(水滴)、cat(猫)、bear(熊)、robot(机器人)、bird(鸟)、bunny(兔)、ghost(鬼)、alien(外星人)、fox(狐狸)、frog(青蛙)、penguin(企鹅)、octopus(章鱼)、dragon(龙)、mushroom(蘑菇)、cactus(仙人掌)、skull(骷髅)

情绪预设:happy(开心)、sad(难过)、angry(生气)、surprised(惊讶)、sleepy(困倦)、cool(酷)、love(爱)、silly(傻气)——通过一个参数设置眼睛+嘴巴。显式设置眼睛/嘴巴仍会覆盖预设。

迷你模式:用于聊天和状态行的 2 行内联角色。

mini blob: (^ ^)    mini cat: /^ ^\    mini robot: [^ ^]
            (u)                >u<                  [u]

相同的种子总是产生相同的角色。输出可直接与 animate 工具配合使用——尝试 wavejumptalk 动作。

组合 (Compose)

水平(并排)或垂直(堆叠)组合多个文本块:

┌───┐ ┌───┐         ┌───┐
│ A │ │ B │         │ A │
└───┘ └───┘         └───┘
 horizontal          ---
                    ┌───┐
                    │ B │
                    └───┘
                    vertical

选项:gap(间距)、align(顶部/中间/底部对齐)、separator(垂直模式下的分隔符)。

图像转换

将图像(URL 或 base64)转换为 ASCII 艺术。两种渲染模式:

  • ascii — 字符渐变( .:-=+*#%@),经典外观

  • braille — Unicode 盲文点(⠿),每个字符 8 倍分辨率

选项:size(16/32/64)、invert(反转)、contrast(对比度)、gamma(伽马)、threshold(盲文阈值)。

图表 (Diagrams)

11 种图表类型,支持 unicoderoundedascii 边框样式。

类型

必填字段

输出

flowchart

nodes

使用 连接符的垂直流程图

box

title, lines

标题 + 分隔符 + 内容

tree

root ({label, children?})

├── └── 层级结构

table

headers, rows

列对齐网格

sequence

actors, messages

带箭头的参与者生命线

timeline

events

垂直 事件列表

bar

items, maxWidth?

水平 条形图

class

classes

包含属性/方法的 UML 类图

er

entities, relationships

实体关系图

mindmap

root

水平思维导图树

gantt

tasks, unitLabel?

带时间轴的甘特图

┌─────────┐    ╭──────────╮    ┌──────┬───────┐    src
│  Start  │    │  Status  │    │ Name │ Score │    ├── index.ts
└────┬────┘    ├──────────┤    ├──────┼───────┤    └── diagram.ts
     │         │ Line 1   │    │ A    │ 95    │
     ▼         │ Line 2   │    │ B    │ 87    │
┌─────────┐    ╰──────────╯    └──────┴───────┘
│   End   │
└─────────┘
 flowchart       box              table              tree

类图

{ "type": "class", "classes": [
  { "name": "Animal", "properties": ["+ name: string"], "methods": ["+ speak(): void"] },
  { "name": "Dog", "properties": ["+ breed: string"], "methods": ["+ bark(): void"] }
]}
┌──────────────────┐
│      Animal       │
├──────────────────┤
│ + name: string   │
├──────────────────┤
│ + speak(): void  │
└──────────────────┘
         ▲
         │
┌──────────────────┐
│       Dog         │
├──────────────────┤
│ + breed: string  │
├──────────────────┤
│ + bark(): void   │
└──────────────────┘

甘特图

{ "type": "gantt", "tasks": [
  { "label": "Design", "start": 0, "duration": 3 },
  { "label": "Develop", "start": 2, "duration": 5 },
  { "label": "Test", "start": 5, "duration": 3 }
], "unitLabel": "weeks" }
            0   2   4   6   8 weeks
            ┼────────────────────
Design      ████████
Develop         █████████████████
Test                 ████████████

横幅 (Banner)

使用 FIGlet 字体将文本渲染为大型 ASCII 艺术:StandardSmallSlantBigMini

尺寸分级

每种艺术都以其最小可识别尺寸存储。

等级

尺寸

用途

16w

16 x 8

图标、符号、简单形状

32w

32 x 16

动物剪影、表情符号

64w

64 x 32

详细场景(罕见)

颜文字 (Kaomoji)

26 个类别中的 100 个精选条目。来源:kao.moji (MIT)。

类别

示例

happy

(◕‿◕) ◉‿◉ (≧◡≦)

sad

(ಥ﹏ಥ) ╥﹏╥ (;﹏;)

angry

ಠ_ಠ (¬_¬) 눈_눈

love

♡^▽^♡ (•ө•)♡ ✿♥‿♥✿

confused

¯\_(ツ)_/¯ ◔_◔ (・・?)

animals

ʕ•ᴥ•ʔ ฅ•ω•ฅ (•ㅅ•)

table-flip

(╯°□°)╯︵ ┻━┻ ┬─┬ノ(ಠ_ಠノ)

+ 19 更多

excited, greeting, celebrate, hug, surprised, sleepy, nervous, wink, magic, laughing, determined, eating, dancing, hopeful, jealous, ...

许可证

MIT。艺术图标来自 game-icons.net (CC BY 3.0, Lorc & Delapouite)。

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Machine-readable utilities and datasets for AI agents.

  • Generate images, video, music and voice from your CLI or AI agent. On-brand AI media toolkit.

  • Deterministic AI agent microtools, no accounts/API keys. fetch_extract: 98% token cut. 38 tools.

View all MCP Connectors

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/rxolve/artscii'

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