@one-source/mcp 5.0.5 → 5.1.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/dist/cli.js CHANGED
@@ -31,7 +31,7 @@ function buildInstructions(currentVersion, latestVersion, authMethod) {
31
31
  ? 'Blockchain API tools require x402 payment (USDC on Base). If a tool returns a 402 error, the user needs to configure X402_PRIVATE_KEY. Call 1s_setup_check for diagnostics and setup instructions.'
32
32
  : 'Blockchain API tools require authentication. Set ONESOURCE_API_KEY (API key) or X402_PRIVATE_KEY (x402 micropayments) to access them. Call 1s_setup_check for setup instructions.';
33
33
  const baseline = [
34
- 'OneSource MCP — 24 tools for blockchain data.',
34
+ 'OneSource MCP — 27 tools for blockchain data.',
35
35
  '',
36
36
  authLine,
37
37
  '',
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Unified MCP Server Factory
3
3
  *
4
- * Creates a single McpServer named 'onesource' with all 24 tools
5
- * (22 API + 1 setup check + 1 bug report) by delegating to the register modules.
4
+ * Creates a single McpServer named 'onesource' with all 27 tools
5
+ * (25 API + 1 setup check + 1 bug report) by delegating to the register modules.
6
6
  */
7
7
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
8
8
  import type { OneSourceClient } from '@one-source/api-mcp/client';
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Unified MCP Server Factory
3
3
  *
4
- * Creates a single McpServer named 'onesource' with all 24 tools
5
- * (22 API + 1 setup check + 1 bug report) by delegating to the register modules.
4
+ * Creates a single McpServer named 'onesource' with all 27 tools
5
+ * (25 API + 1 setup check + 1 bug report) by delegating to the register modules.
6
6
  */
7
7
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
8
8
  import { registerApiTools } from './register-api-tools.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Register all 22 API tools from @one-source/api-mcp onto a shared McpServer.
2
+ * Register all 25 API tools from @one-source/api-mcp onto a shared McpServer.
3
3
  *
4
4
  * Replicates the exact instrumentation pattern from api-mcp's create-server.ts:
5
5
  * per-call client context, x402 detection, performance timing, session hashing,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Register all 22 API tools from @one-source/api-mcp onto a shared McpServer.
2
+ * Register all 25 API tools from @one-source/api-mcp onto a shared McpServer.
3
3
  *
4
4
  * Replicates the exact instrumentation pattern from api-mcp's create-server.ts:
5
5
  * per-call client context, x402 detection, performance timing, session hashing,
package/package.json CHANGED
@@ -1,60 +1,60 @@
1
- {
2
- "name": "@one-source/mcp",
3
- "mcpName": "io.onesource/mcp",
4
- "version": "5.0.5",
5
- "type": "module",
6
- "description": "Unified MCP server for OneSource — 24 tools for blockchain data",
7
- "bin": {
8
- "onesource-mcp": "./dist/cli.js"
9
- },
10
- "main": "./dist/create-server.js",
11
- "types": "./dist/create-server.d.ts",
12
- "exports": {
13
- ".": {
14
- "types": "./dist/create-server.d.ts",
15
- "default": "./dist/create-server.js"
16
- }
17
- },
18
- "files": [
19
- "dist/",
20
- "README.md",
21
- "skills/",
22
- "LICENSE"
23
- ],
24
- "scripts": {
25
- "build": "tsc",
26
- "prepack": "node -e \"fs=require('fs');fs.copyFileSync('README.md','README.repo.md');fs.copyFileSync('README.npm.md','README.md')\"",
27
- "postpack": "node -e \"fs=require('fs');fs.renameSync('README.repo.md','README.md')\"",
28
- "prepublishOnly": "npm run build"
29
- },
30
- "dependencies": {
31
- "@modelcontextprotocol/sdk": "^1.27.1",
32
- "@one-source/api-mcp": "^5.0.0",
33
- "@one-source/docs-mcp": "^4.0.3",
34
- "zod": "^3.24.0"
35
- },
36
- "devDependencies": {
37
- "@types/node": "^22.0.0",
38
- "typescript": "^5.7.0"
39
- },
40
- "engines": {
41
- "node": ">=18"
42
- },
43
- "keywords": [
44
- "mcp",
45
- "model-context-protocol",
46
- "onesource",
47
- "web3",
48
- "blockchain",
49
- "graphql",
50
- "documentation",
51
- "x402"
52
- ],
53
- "author": "BlockParty",
54
- "license": "Apache-2.0",
55
- "homepage": "https://docs.onesource.io",
56
- "repository": {
57
- "type": "git",
58
- "url": "https://github.com/blockparty-global/1s-mcp.git"
59
- }
60
- }
1
+ {
2
+ "name": "@one-source/mcp",
3
+ "mcpName": "io.onesource/mcp",
4
+ "version": "5.1.0",
5
+ "type": "module",
6
+ "description": "Unified MCP server for OneSource — 27 tools for blockchain data",
7
+ "bin": {
8
+ "onesource-mcp": "./dist/cli.js"
9
+ },
10
+ "main": "./dist/create-server.js",
11
+ "types": "./dist/create-server.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/create-server.d.ts",
15
+ "default": "./dist/create-server.js"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist/",
20
+ "README.md",
21
+ "skills/",
22
+ "LICENSE"
23
+ ],
24
+ "scripts": {
25
+ "build": "tsc",
26
+ "prepack": "node -e \"fs=require('fs');fs.copyFileSync('README.md','README.repo.md');fs.copyFileSync('README.npm.md','README.md')\"",
27
+ "postpack": "node -e \"fs=require('fs');fs.renameSync('README.repo.md','README.md')\"",
28
+ "prepublishOnly": "npm run build"
29
+ },
30
+ "dependencies": {
31
+ "@modelcontextprotocol/sdk": "^1.27.1",
32
+ "@one-source/api-mcp": "^5.1.0",
33
+ "@one-source/docs-mcp": "^4.0.3",
34
+ "zod": "^3.24.0"
35
+ },
36
+ "devDependencies": {
37
+ "@types/node": "^22.0.0",
38
+ "typescript": "^5.7.0"
39
+ },
40
+ "engines": {
41
+ "node": ">=18"
42
+ },
43
+ "keywords": [
44
+ "mcp",
45
+ "model-context-protocol",
46
+ "onesource",
47
+ "web3",
48
+ "blockchain",
49
+ "graphql",
50
+ "documentation",
51
+ "x402"
52
+ ],
53
+ "author": "BlockParty",
54
+ "license": "Apache-2.0",
55
+ "homepage": "https://docs.onesource.io",
56
+ "repository": {
57
+ "type": "git",
58
+ "url": "https://github.com/blockparty-global/1s-mcp.git"
59
+ }
60
+ }