@settlemint/sdk-mcp 1.1.16-pr7a391c74 → 1.1.16-pr87a2b8ef

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
@@ -48,209 +48,159 @@
48
48
  - [Contributing](#contributing)
49
49
  - [License](#license)
50
50
 
51
- ## About
51
+ ## Introduction to Model Context Protocol (MCP)
52
52
 
53
- The SettleMint CLI provides a command-line interface for interacting with the SettleMint platform. It enables you to manage your blockchain networks, deploy smart contracts, configure your SettleMint infrastructure directly from the terminal.
53
+ The Model Context Protocol (MCP) is a framework designed to enhance the capabilities of AI agents and large language models (LLMs) by providing structured, contextual access to external data. It acts as a bridge between AI models and a variety of data sources such as blockchain networks, external APIs, databases, and developer environments. In essence, MCP allows an AI model to pull in relevant context from the outside world, enabling more informed reasoning and interaction.
54
54
 
55
- ## Usage
55
+ MCP is not a single tool but a standardized protocol. This means it defines how an AI should request information and how external systems should respond. By following this standard, different tools and systems can communicate with AI agents in a consistent way. The result is that AI models can go beyond their trained knowledge and interact with live data and real-world applications seamlessly.
56
56
 
57
- ### As a dependency in your package.json
57
+ ### Why does MCP matter?
58
58
 
59
- ```bash
60
- # npm
61
- npm install @settlemint/sdk-mcp
62
- npx settlemint --version
59
+ Modern AI models are powerful but traditionally operate as closed systems - they generate responses based on patterns learned from training data, without awareness of the current state of external systems. This lack of live context can be a limitation. MCP matters because it bridges that gap, allowing AI to become context-aware and action-oriented in real time.
63
60
 
64
- # bun
65
- bun add @settlemint/sdk-mcp
66
- bunx settlemint --version
61
+ Here are a few reasons MCP is important:
67
62
 
68
- # pnpm
69
- pnpm add @settlemint/sdk-mcp
70
- pnpm dlx settlemint --version
63
+ - Dynamic Data Access: MCP allows AI models to interact seamlessly with external ecosystems (e.g., blockchain networks or web APIs). This means an AI agent can query a database or blockchain ledger at runtime to get the latest information, rather than relying solely on stale training data.
64
+ - Real-Time Context: By providing structured, real-time access to data (such as smart contract states or application status), MCP ensures that the AI's decisions and responses are informed by the current state of the world. This contextual awareness leads to more accurate and relevant outcomes.
65
+ - Extended Capabilities: With MCP, AI agents can execute actions, not just retrieve data. For example, an AI might use MCP to trigger a blockchain transaction or update a record. This enhances the agent's decision-making ability with precise, domain-specific context and the power to act on it.
66
+ - Reduced Complexity: Developers benefit from MCP because it offers a unified interface to various data sources. Instead of writing custom integration code for each external system, an AI agent can use MCP as a single conduit for many sources. This streamlines development and reduces errors.
71
67
 
72
- # yarn
73
- yarn add @settlemint/sdk-mcp
74
- yarn create settlemint --version
75
- ```
76
-
77
- ### Globally install the CLI
68
+ Overall, MCP makes AI more aware, adaptable, and useful by connecting it to live data and enabling it to perform tasks in external systems. It's a significant step toward AI that can truly understand and interact with the world around it.
78
69
 
79
- ```bash
80
- # npm
81
- npm install -g @settlemint/sdk-mcp
70
+ ### Key Features and Benefits
82
71
 
83
- # bun
84
- bun install -g @settlemint/sdk-mcp
72
+ MCP introduces several key features that offer significant benefits to both AI developers and end-users:
85
73
 
86
- # pnpm
87
- pnpm add -g @settlemint/sdk-mcp
88
-
89
- # yarn
90
- yarn global add @settlemint/sdk-mcp
91
- ```
74
+ - Contextual Awareness: AI models gain the ability to access live information and context on demand. Instead of operating in isolation, an AI agent can ask for specific data (like "What's the latest block on the blockchain?" or "Fetch the user profile from the database") and use that context to tailor its responses. This results in more accurate and situationally appropriate outcomes.
75
+ - Blockchain Integration: MCP provides a direct connection to on-chain data and smart contract functionality. An AI agent can query blockchain state (for example, checking a token balance or reading a contract's variable) and even invoke contract methods via MCP. This opens up possibilities for AI-managed blockchain operations, DeFi automation, and more, all through a standardized interface.
76
+ - Automation Capabilities: With structured access to external systems, AI agents can not only read data but also take actions. For instance, an AI could automatically adjust parameters of a smart contract, initiate a transaction, or update a configuration file in a repository. These automation capabilities allow the creation of intelligent agents that manage infrastructure or applications autonomously, under specified guidelines.
77
+ - Security and Control: MCP is designed with security in mind (covered in more detail later). It provides a controlled environment where access to external data and operations can be monitored and sandboxed. This ensures that an AI agent only performs allowed actions, and sensitive data can be protected through authentication and permissioning within the MCP framework.
92
78
 
93
- You can access the CLI globally by running `settlemint` in your terminal.
79
+ By combining these features, MCP greatly expands what AI agents can do. It transforms passive models into active participants that can sense and influence external systems - all in a safe, structured manner.
94
80
 
95
- ## GitHub Action
81
+ ## How MCP Works
96
82
 
97
- Execute SettleMint CLI commands directly in your GitHub Actions workflows using our official GitHub Action.
83
+ ### The Core Concept
98
84
 
99
- For detailed setup and usage instructions, check out our [documentation](https://github.com/settlemint/settlemint-action/blob/main/README.md).
85
+ At its core, MCP acts as middleware between an AI model and external data sources. Rather than embedding all possible knowledge and tools inside the AI, MCP keeps the AI model lean and offloads the data fetching and execution tasks to external services. The AI and the MCP communicate through a defined protocol:
100
86
 
101
- Basic example:
87
+ 1. AI Agent (Client): The AI agent (e.g., an LLM or any AI-driven application) formulates a request for information or an action. This request is expressed in a standard format understood by MCP. For example, the AI might ask, "Get the value of variable X from smart contract Y on blockchain Z," or "Fetch the contents of file ABC from the project directory."
88
+ 2. MCP Server (Mediator): The MCP server receives the request and interprets it. It acts as a mediator that knows how to connect to various external systems. The server will determine which external source is needed for the request (blockchain, API, file system, etc.) and use the appropriate connector or handler to fulfill the query.
89
+ 3. External Data Source: This can be a blockchain node, an API endpoint, a database, or even a local development environment. The MCP server communicates with the external source, for example by making an API call, querying a blockchain node, or reading a file from disk.
90
+ 4. Contextual Response: The external source returns the requested data (or the result of an action). The MCP server then formats this information into a structured response that the AI agent can easily understand. This might involve converting raw data into a simpler JSON structure or text format.
91
+ 5. Return to AI: The MCP server sends the formatted data back to the AI agent. The AI can then incorporate this data into its reasoning or continue its workflow with this new context. From the perspective of the AI model, it's as if it just extended its knowledge or took an external action successfully.
102
92
 
103
- ```yaml
104
- steps:
105
- - name: Get SettleMint CLI version
106
- uses: settlemint/settlemint-action@main
107
- with:
108
- access-token: ${{ secrets.SETTLEMINT_ACCESS_TOKEN }}
109
- command: "--version"
110
- ```
93
+ The beauty of MCP is that it abstracts away the differences between various data sources. The AI agent doesn't need to know how to call a blockchain or how to query a database; it simply makes a generic request and MCP handles the rest. This modular approach means new connectors can be added to MCP for additional data sources without changing how the AI formulates requests.
111
94
 
112
- ## Examples
95
+ ### Technical Workflow
113
96
 
114
- ### Get the version of the CLI
97
+ Let's walk through a typical technical workflow with MCP step by step:
115
98
 
116
- ```bash
117
- settlemint --version
118
- ```
99
+ 1. AI Makes a Request: The AI agent uses an MCP SDK or API to send a request. For example, in code it might call something like mcp.fetch("settlemint", "getContractState", params) - where "settlemint" could specify a target MCP server or context.
100
+ 2. MCP Parses the Request: The MCP server (in this case, perhaps the SettleMint MCP server) receives the request. The request will include an identifier of the desired operation and any necessary parameters (like which blockchain network, contract address, or file path is needed).
101
+ 3. Connector Activation: Based on the request type, MCP selects the appropriate connector or module. For a blockchain query, it might use a blockchain connector configured with network access and credentials. For a file system query, it would use a file connector with the specified path.
102
+ 4. Data Retrieval/Action Execution: MCP executes the action. If it's a data retrieval, it fetches the data: e.g., calls a blockchain node's API to get contract state, or reads from a local file. If it's an action (like executing a transaction or writing to a file), it will perform that operation using the credentials and context it has.
103
+ 5. Data Formatting: The raw result is often in a format specific to the source (JSON from a web API, binary from a file, etc.). MCP will format or serialize this result into a standard format (commonly JSON or a text representation) that can be easily consumed by the AI model. It may also include metadata, like timestamps or success/failure status.
104
+ 6. Response to AI: MCP sends the formatted response back to the AI agent. In practice, this could be a return value from an SDK function call or a message sent over a websocket or HTTP if using a networked setup.
105
+ 7. AI Continues Processing: With the new data, the AI can adjust its plan, generate a more informed answer, or trigger further actions. For example, if the AI was asked a question about a user/s blockchain balance, it now has the balance from MCP and can include it in its answer. If the AI was autonomously managing something, it might decide the next step based on the data.
119
106
 
120
- ### Get help for a command
107
+ This workflow happens quickly and often behind the scenes. From a high-level perspective, MCP extends the AI's capabilities on-the-fly. The AI remains focused on decision-making and language generation, while MCP handles the grunt work of fetching data and executing commands in external systems.
121
108
 
122
- The CLI uses a hierarchical command structure. You can navigate through available commands and subcommands using the `--help` flag at any level.
109
+ ### Key Components
123
110
 
124
- ```bash
125
- settlemint --help
126
- settlemint platform --help
127
- settlemint platform create --help
128
- ```
111
+ MCP consists of a few core components that work together to make the above workflow possible:
129
112
 
130
- ### Login to the platform
113
+ - MCP Server: This is the central service or daemon that runs and listens for requests from AI agents. It can be thought of as the brain of MCP that coordinates everything. The MCP server is configured to know about various data sources and how to connect to them. In practice, you might run an MCP server process locally or on a server, and your AI agent will communicate with it via an API (like HTTP requests, RPC calls, or through an SDK).
114
+ - MCP SDK / Client Library: To simplify usage, MCP provides SDKs in different programming languages. Developers include these in their AI agent code. The SDK handles the communication details with the MCP server, so a developer can simply call functions or methods (like mcp.getData(...)) without manually constructing network calls. The SDK ensures requests are properly formatted and sends them to the MCP server, then receives the response and hands it to the AI program.
115
+ - Connectors / Adapters: These are modules or plugins within the MCP server that know how to talk to specific types of external systems. One connector might handle blockchain interactions (with sub-modules for Ethereum, Hyperledger, etc.), another might handle web APIs (performing HTTP calls), another might manage local OS operations (file system access, running shell commands). Each connector understands a set of actions and data formats for its domain. Connectors make MCP extensible - new connectors can be added to support new systems or protocols.
116
+ - Configuration Files: MCP often uses configuration (like JSON or YAML) to know which connectors to activate and how to reach external services. For example, you might configure an MCP instance with the URL of your blockchain node, API keys for external services, or file path permissions. The configuration ensures that at runtime the MCP server has the info it needs to carry out requests safely and correctly.
117
+ - Security Layer: Since MCP can access sensitive data and perform actions, it includes a security layer. This may involve API keys (like the --pat personal access token in the example) or authentication for connecting to blockchains and databases. The security layer also enforces permissions: it can restrict what an AI agent is allowed to do via MCP, preventing misuse. For instance, you might allow read-only access to some data but not allow any write or state-changing operations without additional approval.
131
118
 
132
- To use the SettleMint CLI, you first need to authenticate with the platform. Create a Personal Access Token (PAT) on the SettleMint platformand paste it when prompted by the login command.
119
+ These components together make MCP robust and flexible. The separation of concerns (AI vs MCP vs Connectors) means each part can evolve or be maintained independently. For example, if a new blockchain is introduced, you can add a connector for it without changing how the AI asks for data. Or if the AI model is updated, it can still use the same MCP server and connectors as before.
133
120
 
134
- Visit [the documentation](https://console.settlemint.com/documentation/docs/using-platform/personal-access-tokens/) to learn how to create a Personal Access Token.
121
+ ## SettleMint's Implementation of MCP
135
122
 
136
- Then run the login command and paste your token when prompted:
123
+ SettleMint is a leading blockchain integration platform that has adopted and implemented MCP to empower AI agents with blockchain intelligence and infractructure control. In SettleMint's implementation, MCP serves as a bridge between AI-driven applications and blockchain environments managed or monitored by SettleMint's platform. This means AI agents can deeply interact with blockchain resources (like smart contracts, transactions, and network data) but also with the underlying infrastructure (nodes, middlewares) through a standardized interface.
137
124
 
138
- ```bash
139
- settlemint login
140
- ```
125
+ By leveraging MCP, SettleMint enables scenarios where:
141
126
 
142
- ### Creating a new project from a template
127
+ - An AI assistant can query on-chain data in real time, such as retrieving the state of a smart contract or the latest block information.
128
+ - Autonomous agents can manage blockchain infrastructure tasks (deploying contracts, adjusting configurations) without human intervention, guided by AI decision-making.
129
+ - Developers using SettleMint can integrate advanced AI functionalities into their blockchain applications with relatively little effort, because MCP handles the heavy lifting of connecting the two worlds.
143
130
 
144
- To create a new project from a template, use the `create` command with the `--template` flag:
131
+ In summary, SettleMint's version of MCP extends their platform's capabilities, allowing for AI-driven blockchain operations. This combination brings together the trust and transparency of blockchain with the adaptability and intelligence of AI.
145
132
 
146
- ```bash
147
- settlemint create --project-name <project-name> --template <template-name>
148
- ```
133
+ ### Capabilities and Features
149
134
 
150
- #### Installing dependencies
135
+ SettleMint's MCP implementation comes with a rich set of capabilities tailored for blockchain-AI integration:
151
136
 
152
- To install the dependencies for your project, use the `dependencies` command.
137
+ - Seamless IDE Integration: SettleMint's tools work within common developer environments, meaning you can use MCP in the context of your development workflow. For example, if you're coding a smart contract or an application, an AI agent (like a code assistant) can use MCP to fetch blockchain state or deploy contracts right from your IDE. This streamlines development by giving real-time blockchain feedback and actions as you code.
138
+ - Automated Contract Management: AI agents can interact with and even modify smart contracts autonomously through MCP. This includes deploying new contracts, calling functions on existing contracts, or listening to events. For instance, an AI ops agent could detect an anomaly in a DeFi contract and use MCP via SettleMint to trigger a safeguard function on that contract, all automatically.
139
+ - AI-Driven Analytics: Through MCP, AI models can analyze blockchain data for insights and predictions. SettleMint's platform might feed transaction histories, token movements, or network metrics via MCP to an AI model specialized in analytics. The AI could then, say, identify patterns of fraudulent transactions or predict network congestion and feed those insights back into the blockchain application or to administrators.
153
140
 
154
- ```bash
155
- # bun
156
- bun install
157
- bun run dependencies
141
+ These features demonstrate how SettleMint's integration of MCP isn't just a basic link to blockchain, but a comprehensive suite that makes blockchain data and control accessible to AI in a meaningful way. It effectively makes blockchain networks intelligent by allowing AI to continuously monitor and react to on-chain events.
158
142
 
159
- # npm
160
- npm install
161
- npm run dependencies
143
+ ### Usage in AI and Blockchain
162
144
 
163
- # yarn
164
- yarn install
165
- yarn run dependencies
145
+ By combining the strengths of AI and blockchain via MCP, SettleMint unlocks several powerful use cases:
166
146
 
167
- # pnpm
168
- pnpm install
169
- pnpm run dependencies
170
- ```
147
+ - AI-Powered Smart Contract Management: Smart contracts often need tuning or updates based on external conditions (like market prices or usage load). An AI agent can use MCP to monitor these conditions and proactively adjust smart contract parameters (or advise humans to do so) through SettleMint's tools. This creates more adaptive and resilient blockchain applications.
148
+ - Real-time Blockchain Monitoring: Instead of static dashboards, imagine an AI that watches blockchain transactions and alerts you to important events. With MCP, an AI can continuously query the chain for specific patterns (like large transfers, or certain contract events) and then analyze and explain these to a user or trigger automated responses.
149
+ - Autonomous Governance: In blockchain governance (e.g., DAOs), proposals and decisions could be informed by AI insights. Using MCP, an AI agent could gather all relevant on-chain data about a proposal's impact, simulate different outcomes, and even cast votes or execute approved decisions automatically on the blockchain. This merges AI decision support with blockchain's execution capabilities.
150
+ - Cross-System Orchestration: SettleMint's MCP doesn't have to be limited to blockchain data. AI can use it to orchestrate actions that span blockchain and off-chain systems. For example, an AI agent might detect that a supply chain shipment (tracked on a blockchain) is delayed, and then through MCP, update an off-chain database or send a notification to a logistics system. The AI acts as an intelligent middleware, using MCP to ensure both blockchain and traditional systems stay in sync.
171
151
 
172
- #### Connecting to your SettleMint infrastructure
152
+ In practice, using MCP with SettleMint's SDK (discussed next) makes implementing these scenarios much easier. Developers can focus on the high-level logic of what the AI should do, while the MCP layer (managed by SettleMint's platform) deals with the complexity of connecting to the blockchain and other services.
173
153
 
174
- After creating your project, you'll need to connect it to your SettleMint infrastructure. This requires setting up environment variables with your SettleMint credentials and infrastructure details.
154
+ ## Practical Examples
175
155
 
176
- You can use the `connect` command to automatically configure your project and select the services you want to connect to.
156
+ To solidify the understanding, let's look at some concrete examples of how MCP can be used in a development workflow and in applications, especially with SettleMint's tooling.
177
157
 
178
- ```bash
179
- settlemint connect
180
- ```
158
+ ### Implementing MCP in a Development Workflow
181
159
 
182
- #### Deploying your smart contracts and subgraphs
160
+ Suppose you are a developer working on a blockchain project, and you want to use an AI assistant to help manage your smart contracts. You can integrate MCP into your workflow so that the AI assistant has direct access to your project's context (code, files) and the blockchain environment.
183
161
 
184
- To deploy your smart contracts and subgraphs, you can use the `deploy` command.
162
+ For instance, you might use a command (via a CLI or an npm script) to start an MCP server that is pointed at your project directory and connected to the SettleMint platform. An example command could be:
185
163
 
186
- ```bash
187
- settlemint scs hardhat deploy remote --accept-defaults
164
+ ```sh
165
+ bunx @settlemint/sdk-mcp@latest --path=/Users/llm/asset-tokenization-kit/ --pat=sm_pat_xxx
188
166
  ```
189
167
 
190
- To deploy your subgraphs, use the `subgraph` command.
191
-
192
- ```bash
193
- settlemint scs subgraph deploy --accept-defaults <subgraph-name>
194
- ```
168
+ Here's what this command does:
195
169
 
196
- #### Generating code for your dApp
170
+ - bunx is used to execute the latest version of the @settlemint/sdk-mcp package without needing a separate install (similar to how npx works for npm packages).
171
+ - --path=/Users/llm/asset-tokenization-kit/ specifies the local project directory that the MCP server will have context about. This could allow the AI to query files or code in that directory through MCP and have access to the environment settings from `settlemint connect`
172
+ - --pat=sm_pat_xxx provides a Personal Access Token (PAT) for authenticating with SettleMint's services. This token (masked here as xxx) is required for the MCP server to connect to the SettleMint platform on your behalf.
197
173
 
198
- After deploying your smart contracts and subgraphs, you can generate TypeScript code for your dApp to interact with them. The `codegen` command will generate type-safe code for your integrations with the services selected in the `connect` command.
174
+ After running this command, you would have a local MCP server up and running, connected to both your local project and the SettleMint platform. Your AI assistant (say a specialized Claude Sonnet-based agent) could then do things like:
199
175
 
200
- ```bash
201
- settlemint codegen
202
- ```
176
+ - Ask MCP to write forms and lists based on the data you indexed in for example The Graph.
177
+ - Query the live blockchain to get the current state of a contract you're working on, to verify something or test changes.
178
+ - Deploy an an extra node in your network
179
+ - List and later mint some new tokens in your stablecoin contract
203
180
 
204
- #### Start your dApp in development mode
181
+ This greatly enhances a development workflow by making the AI an active participant that can fetch and act on real information, rather than just being a passive code suggestion tool.
205
182
 
206
- ```bash
207
- # bun
208
- bun run dev
183
+ ### Using the SettleMint MPC in Cursor
209
184
 
210
- # npm
211
- npm run dev
185
+ Cursor (0.47.0 and up) provides a global `~/.cursor/mcp.json` file where you can configure the SettleMint MCP server. Point the path to the folder of your program, and set your personal access token.
212
186
 
213
- # yarn
214
- yarn dev
187
+ > The reason we use the global MCP configuration file is that your personal access token should never, ever, ever be committed into hits and putting it in the project folder, which is also possible in cursor opens up that possibility.
215
188
 
216
- # pnpm
217
- pnpm dev
189
+ ```json
190
+ {
191
+ "mcpServers": {
192
+ "settlemint": {
193
+ "command": "bunx",
194
+ "args": [
195
+ "@settlemint/sdk-mcp@latest",
196
+ "--path=/Users/llm/asset-tokenization-kit/",
197
+ "--pat=sm_pat_xxx"
198
+ ]
199
+ }
200
+ }
201
+ }
218
202
  ```
219
203
 
220
- ### Creating a new project from a smart contract template
221
-
222
- To create a new project from a smart contract template, use the `create` command with the `--use-case` flag:
223
-
224
- ```bash
225
- settlemint scs create --project-name <project-name> --use-case <use-case-name>
226
- ```
227
-
228
- #### Testing your smart contracts
229
-
230
- To test your smart contracts, you can use the `test` command.
231
-
232
- ```bash
233
- settlemint scs foundry test
234
- ```
235
-
236
- #### Deploying your smart contracts and subgraphs
237
-
238
- To deploy your smart contracts and subgraphs, you can use the `deploy` command.
239
-
240
- ```bash
241
- settlemint scs hardhat deploy remote --accept-defaults
242
- ```
243
-
244
- To deploy your subgraphs, use the `subgraph` command.
245
-
246
- ```bash
247
- settlemint scs subgraph deploy --accept-defaults <subgraph-name>
248
- ```
249
-
250
- ## API Reference
251
-
252
- See the [documentation](https://github.com/settlemint/sdk/tree/v1.1.16/sdk/cli/docs/settlemint.md) for available commands.
253
-
254
204
  ## Contributing
255
205
 
256
206
  We welcome contributions from the community! Please check out our [Contributing](https://github.com/settlemint/sdk/blob/main/.github/CONTRIBUTING.md) guide to learn how you can help improve the SettleMint SDK through bug reports, feature requests, documentation updates, or code contributions.
package/dist/mcp.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  import { createRequire } from "node:module";
2
3
  var __create = Object.create;
3
4
  var __getProtoOf = Object.getPrototypeOf;
@@ -62577,7 +62578,7 @@ var {
62577
62578
  var package_default = {
62578
62579
  name: "@settlemint/sdk-mcp",
62579
62580
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
62580
- version: "1.1.16-pr7a391c74",
62581
+ version: "1.1.16-pr87a2b8ef",
62581
62582
  type: "module",
62582
62583
  private: false,
62583
62584
  license: "FSL-1.1-MIT",
@@ -62586,11 +62587,11 @@ var package_default = {
62586
62587
  email: "support@settlemint.com",
62587
62588
  url: "https://settlemint.com"
62588
62589
  },
62589
- homepage: "https://github.com/settlemint/sdk/blob/main/sdk/mpc/README.md",
62590
+ homepage: "https://github.com/settlemint/sdk/blob/main/sdk/mcp/README.md",
62590
62591
  repository: {
62591
62592
  type: "git",
62592
62593
  url: "git+https://github.com/settlemint/sdk.git",
62593
- directory: "sdk/mpc"
62594
+ directory: "sdk/mcp"
62594
62595
  },
62595
62596
  bugs: {
62596
62597
  url: "https://github.com/settlemint/sdk/issues",
@@ -62604,7 +62605,7 @@ var package_default = {
62604
62605
  }
62605
62606
  },
62606
62607
  bin: {
62607
- settlemint: "dist/mcp.js"
62608
+ "settlemint-mcp": "dist/mcp.js"
62608
62609
  },
62609
62610
  scripts: {
62610
62611
  build: "bun run build.ts",
@@ -62613,15 +62614,14 @@ var package_default = {
62613
62614
  "test:coverage": "bun test --coverage",
62614
62615
  typecheck: "tsc --noEmit",
62615
62616
  "publish-npm": "bun publish --tag ${TAG} --access public || exit 0",
62616
- docs: "bun scripts/create-docs.ts",
62617
62617
  prepack: "cp ../../LICENSE ."
62618
62618
  },
62619
62619
  dependencies: {
62620
62620
  "@graphql-tools/load": "8.0.17",
62621
62621
  "@graphql-tools/url-loader": "8.0.29",
62622
62622
  "@modelcontextprotocol/sdk": "1.6.1",
62623
- "@settlemint/sdk-js": "1.1.16-pr7a391c74",
62624
- "@settlemint/sdk-utils": "1.1.16-pr7a391c74",
62623
+ "@settlemint/sdk-js": "1.1.16-pr87a2b8ef",
62624
+ "@settlemint/sdk-utils": "1.1.16-pr87a2b8ef",
62625
62625
  "@commander-js/extra-typings": "11.1.0",
62626
62626
  commander: "11.1.0",
62627
62627
  zod: "3.24.2"
@@ -68285,9 +68285,9 @@ async function main() {
68285
68285
  process.exit(1);
68286
68286
  }
68287
68287
  }
68288
- main().catch((error2) => {
68288
+ await main().catch((error2) => {
68289
68289
  console.error("Unhandled error:", error2);
68290
68290
  process.exit(1);
68291
68291
  });
68292
68292
 
68293
- //# debugId=9E6B760D85C472F764756E2164756E21
68293
+ //# debugId=0A9F507F237A8C2D64756E2164756E21