opentool 0.6.0 → 0.6.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.
Files changed (2) hide show
  1. package/README.md +7 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,6 +5,8 @@
5
5
 
6
6
  A comprehensive TypeScript framework for building, deploying, and monetizing serverless MCP (Model Context Protocol) tools with integrated AI, blockchain wallets, and crypto payments.
7
7
 
8
+ **For LLMs/AI Code Generation:** [`dist/opentool-context.ts`](./scripts/build-context.ts)
9
+
8
10
  ## Overview
9
11
 
10
12
  OpenTool is a complete platform for creating intelligent, payment-enabled tools that run on AWS Lambda. It combines:
@@ -19,6 +21,7 @@ OpenTool is a complete platform for creating intelligent, payment-enabled tools
19
21
  ## Features
20
22
 
21
23
  ### Core Framework
24
+
22
25
  - **Serverless-first**: Tools automatically deploy to AWS Lambda with Function URLs
23
26
  - **Type-safe**: Full TypeScript support with Zod schema validation and automatic JSON schema generation
24
27
  - **CLI Tools**: Build, develop, validate, and generate metadata with comprehensive CLI
@@ -26,18 +29,21 @@ OpenTool is a complete platform for creating intelligent, payment-enabled tools
26
29
  - **MCP Compatible**: Works with any MCP client (Claude Desktop, MCP Inspector, etc.)
27
30
 
28
31
  ### AI Capabilities
32
+
29
33
  - **Multi-Model Support**: OpenAI, Anthropic, and compatible providers
30
34
  - **Text Generation**: Simple and streaming text generation with tool calling
31
35
  - **Built-in Tools**: Web search and custom tool integration
32
36
  - **Model Management**: Automatic model normalization and capability detection
33
37
 
34
38
  ### Blockchain & Payments
39
+
35
40
  - **Multi-Chain Wallets**: Support for Ethereum, Base, Optimism, Arbitrum, Polygon, and more
36
41
  - **Provider Flexibility**: Private key or Turnkey-managed signing
37
42
  - **Crypto Payments**: On-chain payment integration with ERC-20 token support
38
43
  - **Token Registry**: Built-in registry for common tokens (USDC, USDT, DAI, etc.)
39
44
 
40
45
  ### Discovery & Metadata
46
+
41
47
  - **Three-Tier Metadata**: Smart defaults, enhanced metadata, and per-tool overrides
42
48
  - **On-Chain Registration**: Metadata formatted for blockchain discovery
43
49
  - **Rich Annotations**: Icons, categories, tags, and custom branding
@@ -220,10 +226,7 @@ export async function POST(request: Request) {
220
226
  const params = schema.parse(payload);
221
227
 
222
228
  if (someCondition) {
223
- return Response.json(
224
- { error: "Something went wrong" },
225
- { status: 400 }
226
- );
229
+ return Response.json({ error: "Something went wrong" }, { status: 400 });
227
230
  }
228
231
 
229
232
  return Response.json({ result: "Success" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opentool",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "OpenTool framework for building serverless MCP tools",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",