storno-cli 1.0.30 → 1.0.31
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/dist/http-server.js +1 -1
- package/dist/landing.d.ts.map +1 -1
- package/dist/landing.js +19 -3
- package/dist/landing.js.map +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/dist/http-server.js
CHANGED
|
@@ -297,7 +297,7 @@ export function startHttpServer(port, host) {
|
|
|
297
297
|
if (url.pathname === '/api/status' && req.method === 'GET') {
|
|
298
298
|
const status = {
|
|
299
299
|
server: 'storno-mcp',
|
|
300
|
-
version: '1.0.
|
|
300
|
+
version: '1.0.31',
|
|
301
301
|
activeSessions: sessions.size,
|
|
302
302
|
uptime: process.uptime(),
|
|
303
303
|
};
|
package/dist/landing.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"landing.d.ts","sourceRoot":"","sources":["../src/landing.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"landing.d.ts","sourceRoot":"","sources":["../src/landing.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAmWtD"}
|
package/dist/landing.js
CHANGED
|
@@ -12,7 +12,7 @@ export function getLandingHtml(baseUrl) {
|
|
|
12
12
|
<meta charset="UTF-8">
|
|
13
13
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
14
14
|
<title>Storno MCP Server</title>
|
|
15
|
-
<meta name="description" content="Connect your AI tools to Storno via the Model Context Protocol. Manage invoices, clients, and e-Factura from Claude, Cursor, and more.">
|
|
15
|
+
<meta name="description" content="Connect your AI tools to Storno via the Model Context Protocol. Manage invoices, clients, and e-Factura from Claude, ChatGPT, Cursor, and more.">
|
|
16
16
|
<link rel="icon" href="https://storno.ro/favicon.ico">
|
|
17
17
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
18
18
|
<script>
|
|
@@ -86,7 +86,7 @@ export function getLandingHtml(baseUrl) {
|
|
|
86
86
|
<h1 class="text-4xl sm:text-5xl font-extrabold tracking-tight text-zinc-900 leading-[1.1]">
|
|
87
87
|
Connect your <span class="text-primary-600">AI</span> to Storno
|
|
88
88
|
</h1>
|
|
89
|
-
<p class="mt-5 text-lg text-muted leading-relaxed">Use the Model Context Protocol (MCP) to let Claude, Cursor, and other AI tools manage your invoices, clients, and e-Factura workflow.</p>
|
|
89
|
+
<p class="mt-5 text-lg text-muted leading-relaxed">Use the Model Context Protocol (MCP) to let Claude, ChatGPT, Cursor, and other AI tools manage your invoices, clients, and e-Factura workflow.</p>
|
|
90
90
|
</div>
|
|
91
91
|
|
|
92
92
|
<div class="mt-8 flex items-center gap-3 bg-white border border-zinc-200 rounded-xl px-4 py-3 max-w-xl shadow-sm">
|
|
@@ -153,7 +153,7 @@ export function getLandingHtml(baseUrl) {
|
|
|
153
153
|
<!-- Other AI clients -->
|
|
154
154
|
<section class="pb-14 fade-in-delay relative">
|
|
155
155
|
<h2 class="text-2xl font-bold text-zinc-900 mb-6">Other AI clients</h2>
|
|
156
|
-
<div class="grid sm:grid-cols-
|
|
156
|
+
<div class="grid sm:grid-cols-2 gap-4">
|
|
157
157
|
|
|
158
158
|
<!-- Claude Code -->
|
|
159
159
|
<div class="bg-white border border-zinc-200 rounded-lg p-5 shadow-sm card-hover">
|
|
@@ -196,6 +196,22 @@ export function getLandingHtml(baseUrl) {
|
|
|
196
196
|
</div>
|
|
197
197
|
</div>
|
|
198
198
|
|
|
199
|
+
<!-- ChatGPT -->
|
|
200
|
+
<div class="bg-white border border-zinc-200 rounded-lg p-5 shadow-sm card-hover">
|
|
201
|
+
<div class="flex items-center gap-2 mb-3">
|
|
202
|
+
<div class="w-8 h-8 rounded-lg bg-primary-500/10 flex items-center justify-center ring-1 ring-inset ring-primary-500/25">
|
|
203
|
+
<svg class="w-4 h-4 text-primary-600" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M8 10h8M8 14h5m-9 6l3.5-3.5H18a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v14z"/></svg>
|
|
204
|
+
</div>
|
|
205
|
+
<h3 class="font-semibold text-zinc-900">ChatGPT</h3>
|
|
206
|
+
</div>
|
|
207
|
+
<p class="text-sm text-muted mb-3">Settings → Connectors → Advanced → enable <strong>Developer mode</strong>, then <strong>Create</strong> a connector with this URL:</p>
|
|
208
|
+
<div class="relative">
|
|
209
|
+
<pre class="bg-zinc-900 rounded-lg p-4 overflow-x-auto"><code class="text-zinc-100">${mcpUrl}</code></pre>
|
|
210
|
+
<button onclick="copyText('${mcpUrl}', this)" class="copy-btn absolute top-2.5 right-2.5 text-xs text-zinc-400 hover:text-white bg-zinc-800 hover:bg-zinc-700 px-2 py-1 rounded-md cursor-pointer transition-colors">Copy</button>
|
|
211
|
+
</div>
|
|
212
|
+
<p class="text-xs text-muted mt-3">Authentication: OAuth. Sign in with your Storno account when asked.</p>
|
|
213
|
+
</div>
|
|
214
|
+
|
|
199
215
|
<!-- Cursor / Windsurf -->
|
|
200
216
|
<div class="bg-white border border-zinc-200 rounded-lg p-5 shadow-sm card-hover">
|
|
201
217
|
<div class="flex items-center gap-2 mb-3">
|
package/dist/landing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"landing.js","sourceRoot":"","sources":["../src/landing.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,UAAU,cAAc,CAAC,OAAe;IAC5C,MAAM,MAAM,GAAG,GAAG,OAAO,MAAM,CAAC;IAEhC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mFAoF0E,MAAM;qCACpD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CA8BI,MAAM;uCACd,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6CzC,MAAM;gFACsE,MAAM;;;;;;;;;;;;;;;;;;;;WAoB3E,MAAM;;;;mHAIkG,MAAM
|
|
1
|
+
{"version":3,"file":"landing.js","sourceRoot":"","sources":["../src/landing.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,UAAU,cAAc,CAAC,OAAe;IAC5C,MAAM,MAAM,GAAG,GAAG,OAAO,MAAM,CAAC;IAEhC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mFAoF0E,MAAM;qCACpD,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CA8BI,MAAM;uCACd,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6CzC,MAAM;gFACsE,MAAM;;;;;;;;;;;;;;;;;;;;WAoB3E,MAAM;;;;mHAIkG,MAAM;;;;;;;;;;;;;;kGAcvB,MAAM;yCAC/D,MAAM;;;;;;;;;;;;;;;;;;gBAkB/B,MAAM;;;;iFAI2D,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAwEhE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwDvC,CAAC;AACT,CAAC"}
|
package/dist/server.js
CHANGED
|
@@ -117,7 +117,7 @@ const allTools = [
|
|
|
117
117
|
export function createMcpServer() {
|
|
118
118
|
const server = new McpServer({
|
|
119
119
|
name: 'storno',
|
|
120
|
-
version: '1.0.
|
|
120
|
+
version: '1.0.31',
|
|
121
121
|
});
|
|
122
122
|
for (const tool of allTools) {
|
|
123
123
|
server.tool(tool.name, tool.description, tool.inputSchema.shape, async (params, extra) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "storno-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.31",
|
|
4
4
|
"description": "MCP server for the Storno.ro e-invoicing API — enables AI tools (Claude, Cursor, Windsurf) to manage invoices, clients, companies, and the full e-Factura workflow",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|