@fil-b/foc-storage-mcp 0.2.0 → 0.2.2
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/stdio.js +7 -1
- package/package.json +11 -3
package/dist/stdio.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'module';
|
|
3
|
+
import { fileURLToPath } from 'url';
|
|
4
|
+
import { dirname } from 'path';
|
|
5
|
+
const require = createRequire(import.meta.url);
|
|
6
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
7
|
+
const __dirname = dirname(__filename);
|
|
2
8
|
var __create = Object.create;
|
|
3
9
|
var __defProp = Object.defineProperty;
|
|
4
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -2247,7 +2253,7 @@ var focStorageResources = {
|
|
|
2247
2253
|
// src/mastra/stdio.ts
|
|
2248
2254
|
var server = new MCPServer({
|
|
2249
2255
|
name: "FOC Storage MCP",
|
|
2250
|
-
version: "0.2.
|
|
2256
|
+
version: "0.2.2",
|
|
2251
2257
|
description: "Professional-grade MCP server for decentralized file storage on Filecoin Onchain Cloud. Powered by the FOC-Synapse SDK, this server provides AI agents with seamless access to Filecoin's distributed storage network. Upload files with automatic payment handling, organize content in datasets, monitor storage balances, and manage providers - all through intuitive MCP tools. Supports both standard storage and CDN-enabled fast retrieval. Perfect for building AI applications that need persistent, censorship-resistant storage.",
|
|
2252
2258
|
tools: focStorageTools,
|
|
2253
2259
|
repository: {
|
package/package.json
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fil-b/foc-storage-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"main": "dist/mcp-server.js",
|
|
5
|
-
"bin":
|
|
5
|
+
"bin": {
|
|
6
|
+
"foc-storage-mcp": "dist/stdio.js"
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/**/*",
|
|
10
|
+
"README.md",
|
|
11
|
+
"LICENSE"
|
|
12
|
+
],
|
|
6
13
|
"scripts": {
|
|
7
|
-
"build:mcp": "tsup
|
|
14
|
+
"build:mcp": "tsup && chmod +x dist/stdio.js",
|
|
15
|
+
"prepublishOnly": "npm run build:mcp",
|
|
8
16
|
"dev": "mastra dev",
|
|
9
17
|
"build": "mastra build",
|
|
10
18
|
"start": "mastra start",
|