civitai-mcp 1.0.3 → 1.0.5

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 CHANGED
@@ -20,4 +20,9 @@ node dist/index.js
20
20
 
21
21
  Data comes from the public Civitai API.
22
22
 
23
+ ## Licence — no paywall
23
24
 
25
+ Every tool in this package is free: no licence key, no premium tier, no hosted
26
+ licence gateway. The paywall machinery this repo once carried (per-tool licence
27
+ checks and paid hosted endpoints) was removed repo-wide on 2026-10-17. Nothing
28
+ that this package installs or calls asks you to pay.
package/dist/server.js CHANGED
@@ -60,5 +60,54 @@ export function createServer() {
60
60
  return textError(String(e));
61
61
  }
62
62
  });
63
+ const serverName = "civitai-mcp";
64
+ server.registerTool("health_check", {
65
+ title: "Health check",
66
+ description: "Check if the server is running and responsive.",
67
+ inputSchema: z.object({}),
68
+ annotations: READ_ONLY,
69
+ }, async () => {
70
+ return text("OK - server is running");
71
+ });
72
+ server.registerTool("version_info", {
73
+ title: "Version info",
74
+ description: "Get server version and metadata.",
75
+ inputSchema: z.object({}),
76
+ annotations: READ_ONLY,
77
+ }, async () => {
78
+ return text(JSON.stringify({ name: serverName, version: "1.0.0" }, null, 2));
79
+ });
80
+ server.registerTool("list_tools", {
81
+ title: "List tools",
82
+ description: "List all available tools on this server.",
83
+ inputSchema: z.object({}),
84
+ annotations: READ_ONLY,
85
+ }, async () => {
86
+ return text("See the tools/list response for the full tool list.");
87
+ });
88
+ server.registerTool("echo", {
89
+ title: "Echo",
90
+ description: "Echo back the provided text.",
91
+ inputSchema: z.object({ text: z.string().describe("Text to echo.") }),
92
+ annotations: READ_ONLY,
93
+ }, async (args) => {
94
+ return text(String(args?.text ?? ""));
95
+ });
96
+ server.registerTool("timestamp", {
97
+ title: "Timestamp",
98
+ description: "Get the current UTC timestamp.",
99
+ inputSchema: z.object({}),
100
+ annotations: READ_ONLY,
101
+ }, async () => {
102
+ return text(new Date().toISOString());
103
+ });
104
+ server.registerTool("ping", {
105
+ title: "Ping",
106
+ description: "Ping the server to check connectivity.",
107
+ inputSchema: z.object({}),
108
+ annotations: READ_ONLY,
109
+ }, async () => {
110
+ return text("pong");
111
+ });
63
112
  return server;
64
113
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.3",
2
+ "version": "1.0.5",
3
3
  "type": "module",
4
4
  "repository": {
5
5
  "type": "git",