@first-ch/tools-mcp 0.4.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +132 -30
- package/aspect-ratio.mjs +706 -0
- package/base64.mjs +356 -0
- package/color.mjs +629 -0
- package/cron.mjs +633 -0
- package/diff.mjs +322 -0
- package/hash.mjs +234 -0
- package/html-escape.mjs +308 -0
- package/json-yaml.mjs +1693 -0
- package/jwt.mjs +639 -0
- package/lib.mjs +103 -0
- package/markdown-table.mjs +641 -0
- package/marp-theme.css +51 -0
- package/marp.mjs +219 -0
- package/package.json +132 -6
- package/px-rem.mjs +488 -0
- package/qr.mjs +744 -0
- package/server.mjs +942 -2
- package/sql-format.mjs +694 -0
- package/testdata.mjs +608 -0
- package/unixtime.mjs +505 -0
- package/url.mjs +415 -0
- package/user-agent.mjs +633 -0
- package/uuid.mjs +238 -0
- package/vendor/jsquash-webp/CHECKSUMS.sha256 +10 -0
package/marp-theme.css
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* First CH Tools — 和文スライドテーマ(firstch-design 準拠)
|
|
3
|
+
* トークン: 紙 #faf8f4 / 墨 #23282e / 朱 #c8501f / hairline #e2dccf
|
|
4
|
+
* フォント: IBM Plex Sans JP / IBM Plex Mono(未インストール環境では和文システムフォントへフォールバック)
|
|
5
|
+
* 影・角丸の羅列を避け、hairline 罫線+余白でグルーピングする方針。
|
|
6
|
+
*
|
|
7
|
+
* メタデータ(@auto-scaling / @size)は @import では継承されないため、default テーマと
|
|
8
|
+
* 同じものをここで宣言し直している。これが無いと `<!-- fit -->` の見出し自動縮小と
|
|
9
|
+
* `size: 4:3` 指示が効かない。
|
|
10
|
+
*
|
|
11
|
+
* @theme firstch
|
|
12
|
+
* @auto-scaling true
|
|
13
|
+
* @size 16:9 1280px 720px
|
|
14
|
+
* @size 4:3 960px 720px
|
|
15
|
+
*/
|
|
16
|
+
@import 'default';
|
|
17
|
+
|
|
18
|
+
section {
|
|
19
|
+
--fch-paper: #faf8f4;
|
|
20
|
+
--fch-ink: #23282e;
|
|
21
|
+
--fch-accent: #c8501f;
|
|
22
|
+
--fch-hairline: #e2dccf;
|
|
23
|
+
font-family: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
|
|
24
|
+
background: var(--fch-paper);
|
|
25
|
+
color: var(--fch-ink);
|
|
26
|
+
font-size: 28px;
|
|
27
|
+
line-height: 1.75;
|
|
28
|
+
letter-spacing: .02em;
|
|
29
|
+
padding: 72px 84px;
|
|
30
|
+
}
|
|
31
|
+
h1, h2, h3, h4 { color: var(--fch-ink); font-weight: 700; line-height: 1.35; }
|
|
32
|
+
h1 { font-size: 1.9em; border-bottom: 3px solid var(--fch-accent); padding-bottom: .28em; margin-bottom: .5em; }
|
|
33
|
+
h2 { font-size: 1.4em; border-bottom: 1px solid var(--fch-hairline); padding-bottom: .24em; }
|
|
34
|
+
h3 { font-size: 1.15em; }
|
|
35
|
+
a, strong { color: var(--fch-accent); }
|
|
36
|
+
ul, ol { padding-left: 1.1em; }
|
|
37
|
+
li { margin: .2em 0; }
|
|
38
|
+
blockquote { border-left: 4px solid var(--fch-accent); color: #5a5f66; padding-left: .8em; }
|
|
39
|
+
code { font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; }
|
|
40
|
+
pre { background: #23282e; border: 1px solid var(--fch-hairline); border-radius: 4px; }
|
|
41
|
+
pre code { color: #f3efe6; }
|
|
42
|
+
table { border-collapse: collapse; }
|
|
43
|
+
th, td { border: 1px solid var(--fch-hairline); padding: .3em .7em; }
|
|
44
|
+
th { background: #f0ebe0; }
|
|
45
|
+
|
|
46
|
+
/* タイトル/リードスライド: <!-- _class: lead --> */
|
|
47
|
+
section.lead { justify-content: center; text-align: center; }
|
|
48
|
+
section.lead h1, section.lead h2 { border-bottom: none; }
|
|
49
|
+
|
|
50
|
+
/* ページ番号(paginate: true のとき) */
|
|
51
|
+
section::after { color: #a89f8c; font-size: .5em; }
|
package/marp.mjs
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
// Marp Markdown → スライド レンダリング(MCPツール用・Node実行)
|
|
2
|
+
//
|
|
3
|
+
// marp-core(純JS・ブラウザ非依存)で Markdown → スライドHTML を生成する。
|
|
4
|
+
// HTMLはテーマCSSをインラインした完全自己完結ファイルで、そのままブラウザで閲覧でき、
|
|
5
|
+
// 印刷(Ctrl/Cmd+P)すると1スライド=1ページのPDFになる。
|
|
6
|
+
//
|
|
7
|
+
// PDF出力はローカルにインストール済みの Chrome / Chromium を headless で呼び出して
|
|
8
|
+
// HTMLから印刷する(puppeteer/Chromium を同梱しない=`npx -y` 導入を軽く保つ)。
|
|
9
|
+
// Chrome が見つからない場合は HTML のみ返し、PDFは skip して理由を添える。
|
|
10
|
+
//
|
|
11
|
+
// 和文テーマ firstch(firstch-design 準拠)を marp-theme.css として同梱し、
|
|
12
|
+
// Markdown が theme 指示を持たないときの既定テーマにする。
|
|
13
|
+
|
|
14
|
+
import { readFile, writeFile, rm } from 'node:fs/promises';
|
|
15
|
+
import { existsSync } from 'node:fs';
|
|
16
|
+
import { execFile } from 'node:child_process';
|
|
17
|
+
import { promisify } from 'node:util';
|
|
18
|
+
import { pathToFileURL } from 'node:url';
|
|
19
|
+
import path from 'node:path';
|
|
20
|
+
import os from 'node:os';
|
|
21
|
+
import { Marp } from '@marp-team/marp-core';
|
|
22
|
+
|
|
23
|
+
const execFileP = promisify(execFile);
|
|
24
|
+
const THEME_URL = new URL('./marp-theme.css', import.meta.url);
|
|
25
|
+
|
|
26
|
+
export const BUILTIN_THEMES = ['firstch', 'default', 'gaia', 'uncover'];
|
|
27
|
+
|
|
28
|
+
let themeCssCache;
|
|
29
|
+
async function firstchThemeCss() {
|
|
30
|
+
if (themeCssCache === undefined) themeCssCache = await readFile(THEME_URL, 'utf8');
|
|
31
|
+
return themeCssCache;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Chrome/Chromium を探す(env 優先 → プラットフォーム別の定番パス)。
|
|
35
|
+
// 見つからなければ null(PDFはスキップする)。
|
|
36
|
+
export function findChrome() {
|
|
37
|
+
const env = process.env.MARP_CHROME_PATH || process.env.CHROME_PATH;
|
|
38
|
+
if (env && existsSync(env)) return env;
|
|
39
|
+
const byPlatform = {
|
|
40
|
+
darwin: [
|
|
41
|
+
'/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
|
|
42
|
+
'/Applications/Chromium.app/Contents/MacOS/Chromium',
|
|
43
|
+
'/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge',
|
|
44
|
+
],
|
|
45
|
+
linux: [
|
|
46
|
+
'/usr/bin/google-chrome', '/usr/bin/google-chrome-stable',
|
|
47
|
+
'/usr/bin/chromium', '/usr/bin/chromium-browser', '/snap/bin/chromium',
|
|
48
|
+
],
|
|
49
|
+
win32: [
|
|
50
|
+
'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',
|
|
51
|
+
'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe',
|
|
52
|
+
'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe',
|
|
53
|
+
],
|
|
54
|
+
};
|
|
55
|
+
const candidates = byPlatform[process.platform] || [];
|
|
56
|
+
return candidates.find((p) => existsSync(p)) || null;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// スライド1枚の寸法(px)を取り出す。size 指示(4:3 等)にも追従する。
|
|
60
|
+
// 出力SVGの viewBox が実寸の正本。CSSから読むと、テーマ本体の `section{width:1280px…}` と
|
|
61
|
+
// size指示による上書き `section{width:960px;height:720px}` の2つが出るため先勝ちだと誤る。
|
|
62
|
+
// (site側 site/marp/app.js の slideSize と同じ処理・site側が正本)
|
|
63
|
+
function slideSize(html, css) {
|
|
64
|
+
const vb = html.match(/viewBox="0 0 ([\d.]+) ([\d.]+)"/);
|
|
65
|
+
if (vb) return { w: Math.round(Number(vb[1])), h: Math.round(Number(vb[2])) };
|
|
66
|
+
const rules = css.match(/section\s*\{[^}]*?width:\s*(\d+)px;\s*height:\s*(\d+)px/g);
|
|
67
|
+
if (rules && rules.length) {
|
|
68
|
+
const last = rules[rules.length - 1].match(/width:\s*(\d+)px;\s*height:\s*(\d+)px/);
|
|
69
|
+
return { w: Number(last[1]), h: Number(last[2]) };
|
|
70
|
+
}
|
|
71
|
+
return { w: 1280, h: 720 };
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function buildHtmlDoc({ html, css, size, title }) {
|
|
75
|
+
return `<!DOCTYPE html>
|
|
76
|
+
<html lang="ja">
|
|
77
|
+
<head>
|
|
78
|
+
<meta charset="utf-8">
|
|
79
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
80
|
+
<title>${title}</title>
|
|
81
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
82
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
83
|
+
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@400;500;700&family=IBM+Plex+Mono:wght@400;600&display=swap" rel="stylesheet">
|
|
84
|
+
<style>
|
|
85
|
+
${css}
|
|
86
|
+
</style>
|
|
87
|
+
<style>
|
|
88
|
+
/* ビューア/印刷の枠組み(テーマCSSとは分離) */
|
|
89
|
+
html, body { margin: 0; padding: 0; }
|
|
90
|
+
body { background: #e8e4db; }
|
|
91
|
+
.marpit { padding: 24px 0; }
|
|
92
|
+
.marpit > svg[data-marpit-svg] {
|
|
93
|
+
display: block;
|
|
94
|
+
width: min(96vw, ${size.w}px);
|
|
95
|
+
height: auto;
|
|
96
|
+
margin: 0 auto 20px;
|
|
97
|
+
box-shadow: 0 4px 18px rgba(0, 0, 0, .14);
|
|
98
|
+
}
|
|
99
|
+
@media print {
|
|
100
|
+
html, body { background: #fff; }
|
|
101
|
+
.marpit { padding: 0; }
|
|
102
|
+
.marpit > svg[data-marpit-svg] {
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 100%;
|
|
105
|
+
margin: 0;
|
|
106
|
+
box-shadow: none;
|
|
107
|
+
break-after: page;
|
|
108
|
+
}
|
|
109
|
+
.marpit > svg[data-marpit-svg]:last-of-type { break-after: auto; }
|
|
110
|
+
@page { size: ${size.w}px ${size.h}px; margin: 0; }
|
|
111
|
+
}
|
|
112
|
+
</style>
|
|
113
|
+
</head>
|
|
114
|
+
<body>
|
|
115
|
+
${html}
|
|
116
|
+
</body>
|
|
117
|
+
</html>`;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
async function htmlToPdf(chrome, htmlFile, pdfPath) {
|
|
121
|
+
const userDataDir = path.join(os.tmpdir(), `marp-chrome-${process.pid}-${Date.now()}`);
|
|
122
|
+
const args = [
|
|
123
|
+
'--headless',
|
|
124
|
+
'--disable-gpu',
|
|
125
|
+
'--no-sandbox',
|
|
126
|
+
'--no-pdf-header-footer',
|
|
127
|
+
'--virtual-time-budget=8000', // Webフォント読み込みを待つ
|
|
128
|
+
`--user-data-dir=${userDataDir}`,
|
|
129
|
+
`--print-to-pdf=${pdfPath}`,
|
|
130
|
+
pathToFileURL(htmlFile).href,
|
|
131
|
+
];
|
|
132
|
+
try {
|
|
133
|
+
await execFileP(chrome, args, { timeout: 60000, maxBuffer: 16 * 1024 * 1024 });
|
|
134
|
+
} finally {
|
|
135
|
+
await rm(userDataDir, { recursive: true, force: true }).catch(() => {});
|
|
136
|
+
}
|
|
137
|
+
if (!existsSync(pdfPath)) throw new Error('Chrome がPDFを生成しませんでした');
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Marp Markdown をスライドへレンダリングする。
|
|
142
|
+
* @param {string} markdown Marp Markdown 本文
|
|
143
|
+
* @param {object} opts
|
|
144
|
+
* - theme {string} 'firstch'(既定)/ 'default' / 'gaia' / 'uncover'。md内 theme 指示が優先される
|
|
145
|
+
* - formats {string[]} ['html'] 既定。'html' / 'pdf' を指定
|
|
146
|
+
* - outputPath {string} 出力ファイルのベースパス(拡張子は format 側で決まる)。省略時は tmp
|
|
147
|
+
* - title {string} HTML の <title>(既定 'Marp slides')
|
|
148
|
+
* @returns {Promise<object>} { theme, slides, size, outputs: {html?, pdf?}, pdf_skipped? }
|
|
149
|
+
*/
|
|
150
|
+
export async function renderMarp(markdown, opts = {}) {
|
|
151
|
+
if (typeof markdown !== 'string' || markdown.trim() === '') {
|
|
152
|
+
throw new Error('markdown が空です');
|
|
153
|
+
}
|
|
154
|
+
const theme = opts.theme || 'firstch';
|
|
155
|
+
if (!BUILTIN_THEMES.includes(theme)) {
|
|
156
|
+
throw new Error(`未対応のテーマ: ${theme}(対応: ${BUILTIN_THEMES.join(' / ')})`);
|
|
157
|
+
}
|
|
158
|
+
const formats = Array.isArray(opts.formats) && opts.formats.length ? opts.formats : ['html'];
|
|
159
|
+
for (const f of formats) {
|
|
160
|
+
if (f !== 'html' && f !== 'pdf') throw new Error(`未対応の format: ${f}(html / pdf のみ)`);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
const base = opts.outputPath
|
|
164
|
+
? opts.outputPath.replace(/\.(html?|pdf)$/i, '')
|
|
165
|
+
: path.join(os.tmpdir(), `marp-${process.pid}-${Date.now()}`);
|
|
166
|
+
const title = opts.title || 'Marp slides';
|
|
167
|
+
|
|
168
|
+
// marp-core は html:false(marp-cli既定と同じ)で生HTML注入を無効化。ディレクティブ用コメントは有効。
|
|
169
|
+
const marp = new Marp({ html: false });
|
|
170
|
+
marp.themeSet.add(await firstchThemeCss());
|
|
171
|
+
marp.themeSet.default = marp.themeSet.get(theme);
|
|
172
|
+
const { html, css } = marp.render(markdown);
|
|
173
|
+
|
|
174
|
+
const slides = (html.match(/<section id=/g) || []).length;
|
|
175
|
+
const size = slideSize(html, css);
|
|
176
|
+
const doc = buildHtmlDoc({ html, css, size, title });
|
|
177
|
+
|
|
178
|
+
const outputs = {};
|
|
179
|
+
const wantHtml = formats.includes('html');
|
|
180
|
+
const wantPdf = formats.includes('pdf');
|
|
181
|
+
|
|
182
|
+
let htmlForPrint;
|
|
183
|
+
if (wantHtml) {
|
|
184
|
+
outputs.html = `${base}.html`;
|
|
185
|
+
await writeFile(outputs.html, doc);
|
|
186
|
+
htmlForPrint = outputs.html;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
const result = { theme, slides, size, outputs };
|
|
190
|
+
|
|
191
|
+
if (wantPdf) {
|
|
192
|
+
const chrome = findChrome();
|
|
193
|
+
if (!chrome) {
|
|
194
|
+
result.pdf_skipped =
|
|
195
|
+
'PDF出力にはローカルの Chrome/Chromium が必要ですが見つかりませんでした。' +
|
|
196
|
+
'環境変数 MARP_CHROME_PATH で実行ファイルを指定できます。' +
|
|
197
|
+
'または生成された HTML をブラウザで開き、印刷→PDFで保存してください(1スライド=1ページ)。';
|
|
198
|
+
} else {
|
|
199
|
+
// html を出力しない場合は印刷用の一時HTMLを使う
|
|
200
|
+
let tempHtml;
|
|
201
|
+
if (!htmlForPrint) {
|
|
202
|
+
tempHtml = path.join(os.tmpdir(), `marp-print-${process.pid}-${Date.now()}.html`);
|
|
203
|
+
await writeFile(tempHtml, doc);
|
|
204
|
+
htmlForPrint = tempHtml;
|
|
205
|
+
}
|
|
206
|
+
try {
|
|
207
|
+
outputs.pdf = `${base}.pdf`;
|
|
208
|
+
await htmlToPdf(chrome, htmlForPrint, outputs.pdf);
|
|
209
|
+
} catch (e) {
|
|
210
|
+
delete outputs.pdf;
|
|
211
|
+
result.pdf_skipped = `PDF生成に失敗しました: ${String(e.message || e)}`;
|
|
212
|
+
} finally {
|
|
213
|
+
if (tempHtml) await rm(tempHtml, { force: true }).catch(() => {});
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
return result;
|
|
219
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@first-ch/tools-mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "First CH Tools の計算ロジック(WCAGコントラスト比・文字数/Xウェイト・WebP変換・JSON-LD生成・llms.txt
|
|
3
|
+
"version": "0.24.0",
|
|
4
|
+
"description": "First CH Tools の計算ロジック(WCAGコントラスト比・文字数/Xウェイト・WebP変換・JSON-LD生成・llms.txt生成・文字コード/改行コード変換・Marp Markdown→スライド レンダリング・テストデータ生成・テキスト/コード差分・Cron式の解説・Base64/Data URI変換・URLパラメータの分解/再構築・HTML特殊文字のエスケープ/エンティティのデコード・JSON⇄YAMLの相互変換・px⇄rem/emの単位換算とCSSの一括変換・カラーコードの相互変換とアルファ透過の合成・MD5/SHA-1/SHA-256/SHA-384/SHA-512のハッシュ生成と照合・JWTのデコードと有効期限/署名の検証・User-Agent文字列の解析とデバイス判定・UUID v4/ULIDの一括生成・アスペクト比の計算とレスポンシブサイズの算出・TSV/CSVからMarkdownテーブルへの整形と相互変換・SQLクエリの整形と予約語の大文字化・URL/テキストからのQRコード生成・UNIXタイムスタンプと日時表記の相互変換)をMCPツールとして提供するサーバー",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"firstch-tools-mcp": "server.mjs"
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"test": "node test.mjs"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
+
"@marp-team/marp-core": "^4.4.0",
|
|
15
16
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
16
17
|
"jpeg-js": "^0.4.4",
|
|
17
18
|
"pngjs": "^7.0.0",
|
|
@@ -27,17 +28,122 @@
|
|
|
27
28
|
"contrast",
|
|
28
29
|
"json-ld",
|
|
29
30
|
"llms-txt",
|
|
30
|
-
"character-count"
|
|
31
|
+
"character-count",
|
|
32
|
+
"marp",
|
|
33
|
+
"slides",
|
|
34
|
+
"markdown",
|
|
35
|
+
"testdata",
|
|
36
|
+
"dummy-data",
|
|
37
|
+
"csv",
|
|
38
|
+
"diff",
|
|
39
|
+
"patch",
|
|
40
|
+
"unified-diff",
|
|
41
|
+
"cron",
|
|
42
|
+
"crontab",
|
|
43
|
+
"scheduler",
|
|
44
|
+
"base64",
|
|
45
|
+
"data-uri",
|
|
46
|
+
"encode",
|
|
47
|
+
"decode",
|
|
48
|
+
"url",
|
|
49
|
+
"query-string",
|
|
50
|
+
"utm",
|
|
51
|
+
"url-encode",
|
|
52
|
+
"html",
|
|
53
|
+
"html-escape",
|
|
54
|
+
"html-entities",
|
|
55
|
+
"escape",
|
|
56
|
+
"yaml",
|
|
57
|
+
"json-to-yaml",
|
|
58
|
+
"yaml-to-json",
|
|
59
|
+
"converter",
|
|
60
|
+
"px-to-rem",
|
|
61
|
+
"rem",
|
|
62
|
+
"em",
|
|
63
|
+
"css",
|
|
64
|
+
"font-size",
|
|
65
|
+
"formatter",
|
|
66
|
+
"color",
|
|
67
|
+
"hex",
|
|
68
|
+
"rgb",
|
|
69
|
+
"hsl",
|
|
70
|
+
"oklch",
|
|
71
|
+
"rgba",
|
|
72
|
+
"alpha",
|
|
73
|
+
"color-picker",
|
|
74
|
+
"hash",
|
|
75
|
+
"md5",
|
|
76
|
+
"sha1",
|
|
77
|
+
"sha256",
|
|
78
|
+
"sha512",
|
|
79
|
+
"checksum",
|
|
80
|
+
"digest",
|
|
81
|
+
"integrity",
|
|
82
|
+
"jwt",
|
|
83
|
+
"jsonwebtoken",
|
|
84
|
+
"json-web-token",
|
|
85
|
+
"token",
|
|
86
|
+
"decoder",
|
|
87
|
+
"auth",
|
|
88
|
+
"oauth",
|
|
89
|
+
"oidc",
|
|
90
|
+
"user-agent",
|
|
91
|
+
"useragent",
|
|
92
|
+
"ua-parser",
|
|
93
|
+
"browser-detection",
|
|
94
|
+
"device-detection",
|
|
95
|
+
"bot-detection",
|
|
96
|
+
"crawler",
|
|
97
|
+
"uuid",
|
|
98
|
+
"uuid-v4",
|
|
99
|
+
"ulid",
|
|
100
|
+
"guid",
|
|
101
|
+
"id-generator",
|
|
102
|
+
"unique-id",
|
|
103
|
+
"sortable-id",
|
|
104
|
+
"aspect-ratio",
|
|
105
|
+
"16-9",
|
|
106
|
+
"responsive",
|
|
107
|
+
"image-size",
|
|
108
|
+
"video-size",
|
|
109
|
+
"ratio-calculator",
|
|
110
|
+
"markdown-table",
|
|
111
|
+
"table",
|
|
112
|
+
"tsv",
|
|
113
|
+
"csv-to-markdown",
|
|
114
|
+
"spreadsheet",
|
|
115
|
+
"gfm",
|
|
116
|
+
"sql",
|
|
117
|
+
"sql-formatter",
|
|
118
|
+
"sql-beautifier",
|
|
119
|
+
"query-formatter",
|
|
120
|
+
"pretty-print",
|
|
121
|
+
"mysql",
|
|
122
|
+
"postgresql",
|
|
123
|
+
"sqlite",
|
|
124
|
+
"qr",
|
|
125
|
+
"qrcode",
|
|
126
|
+
"qr-code",
|
|
127
|
+
"qr-generator",
|
|
128
|
+
"svg",
|
|
129
|
+
"reed-solomon",
|
|
130
|
+
"barcode",
|
|
131
|
+
"unix-time",
|
|
132
|
+
"unix-timestamp",
|
|
133
|
+
"timestamp",
|
|
134
|
+
"epoch",
|
|
135
|
+
"iso8601",
|
|
136
|
+
"datetime",
|
|
137
|
+
"timezone"
|
|
31
138
|
],
|
|
32
139
|
"author": "First CH LLC (https://first-ch.com)",
|
|
33
140
|
"homepage": "https://tools.first-ch.com",
|
|
34
141
|
"repository": {
|
|
35
142
|
"type": "git",
|
|
36
|
-
"url": "git+https://github.com/First-CH/
|
|
37
|
-
"directory": "packages/mcp"
|
|
143
|
+
"url": "git+https://github.com/First-CH/firstch-tools-mcp.git"
|
|
38
144
|
},
|
|
39
145
|
"bugs": {
|
|
40
|
-
"url": "https://github.com/First-CH/
|
|
146
|
+
"url": "https://github.com/First-CH/firstch-tools-mcp/issues"
|
|
41
147
|
},
|
|
42
148
|
"engines": {
|
|
43
149
|
"node": ">=18.14.1"
|
|
@@ -49,6 +155,26 @@
|
|
|
49
155
|
"server.mjs",
|
|
50
156
|
"lib.mjs",
|
|
51
157
|
"webp.mjs",
|
|
158
|
+
"marp.mjs",
|
|
159
|
+
"marp-theme.css",
|
|
160
|
+
"testdata.mjs",
|
|
161
|
+
"diff.mjs",
|
|
162
|
+
"cron.mjs",
|
|
163
|
+
"base64.mjs",
|
|
164
|
+
"url.mjs",
|
|
165
|
+
"html-escape.mjs",
|
|
166
|
+
"json-yaml.mjs",
|
|
167
|
+
"px-rem.mjs",
|
|
168
|
+
"color.mjs",
|
|
169
|
+
"hash.mjs",
|
|
170
|
+
"jwt.mjs",
|
|
171
|
+
"user-agent.mjs",
|
|
172
|
+
"uuid.mjs",
|
|
173
|
+
"aspect-ratio.mjs",
|
|
174
|
+
"markdown-table.mjs",
|
|
175
|
+
"sql-format.mjs",
|
|
176
|
+
"qr.mjs",
|
|
177
|
+
"unixtime.mjs",
|
|
52
178
|
"vendor/",
|
|
53
179
|
"README.md",
|
|
54
180
|
"LICENSE"
|