@yativo/mcp-server 1.0.0 → 1.0.1
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 +1 -1
- package/package.json +1 -1
- package/src/index.js +2 -2
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Set these environment variables:
|
|
|
17
17
|
|----------|----------|-------------|
|
|
18
18
|
| `YATIVO_API_KEY` | Yes | Connector API key (starts with `yac_`) |
|
|
19
19
|
| `YATIVO_WALLET_ID` | Recommended | Default wallet ID (starts with `aw_`) |
|
|
20
|
-
| `YATIVO_API_URL` | No | API base URL (default: `https://api.yativo.com/api/v1`) |
|
|
20
|
+
| `YATIVO_API_URL` | No | API base URL (default: `https://crypto-api.yativo.com/api/v1`) |
|
|
21
21
|
|
|
22
22
|
## Claude Desktop Setup
|
|
23
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yativo/mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "MCP (Model Context Protocol) server for Yativo Agentic Wallets — lets AI agents manage crypto wallets, send payments, and pay for x402 APIs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
package/src/index.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* and view transaction history — all through the Model Context Protocol.
|
|
9
9
|
*
|
|
10
10
|
* Configuration (environment variables):
|
|
11
|
-
* YATIVO_API_URL - Base URL of the Yativo API (default: https://api.yativo.com/api/v1)
|
|
11
|
+
* YATIVO_API_URL - Base URL of the Yativo API (default: https://crypto-api.yativo.com/api/v1)
|
|
12
12
|
* YATIVO_API_KEY - Connector API key (starts with yac_)
|
|
13
13
|
* YATIVO_WALLET_ID - Default agentic wallet ID (starts with aw_)
|
|
14
14
|
*/
|
|
@@ -17,7 +17,7 @@ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
|
17
17
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
18
18
|
import { z } from 'zod';
|
|
19
19
|
|
|
20
|
-
const API_URL = process.env.YATIVO_API_URL || 'https://api.yativo.com/api/v1';
|
|
20
|
+
const API_URL = process.env.YATIVO_API_URL || 'https://crypto-api.yativo.com/api/v1';
|
|
21
21
|
const API_KEY = process.env.YATIVO_API_KEY || '';
|
|
22
22
|
const DEFAULT_WALLET_ID = process.env.YATIVO_WALLET_ID || '';
|
|
23
23
|
|