@agentkarma/sdk 0.2.0 → 0.2.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 +13 -3
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -206,12 +206,22 @@ try {
206
206
 
207
207
  Expose AgentKarma's read surface to any MCP client (Claude Desktop, Cursor, Continue, …).
208
208
 
209
- **Turnkey server** — run over stdio, no code:
209
+ **Turnkey server** — run over stdio. The `agentkarma-mcp` bin ships inside
210
+ `@agentkarma/sdk` and uses the optional `@modelcontextprotocol/sdk` peer, so the
211
+ zero-install one-liner names both packages:
210
212
 
211
213
  ```sh
212
- npx agentkarma-mcp
214
+ npx -p @agentkarma/sdk -p @modelcontextprotocol/sdk agentkarma-mcp
213
215
  # point at a different host:
214
- AGENTKARMA_BASE_URL=https://staging.agentkarma.io npx agentkarma-mcp
216
+ AGENTKARMA_BASE_URL=https://staging.agentkarma.io \
217
+ npx -p @agentkarma/sdk -p @modelcontextprotocol/sdk agentkarma-mcp
218
+ ```
219
+
220
+ Or install once, then the bin resolves locally:
221
+
222
+ ```sh
223
+ npm i @agentkarma/sdk @modelcontextprotocol/sdk
224
+ npx agentkarma-mcp
215
225
  ```
216
226
 
217
227
  **Embed the server** in your own process:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentkarma/sdk",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "TypeScript SDK for AgentKarma — the reputation layer for autonomous on-chain agents.",
5
5
  "license": "MIT",
6
6
  "author": "Kerem Noras <kerem@noras.tech>",
@@ -28,7 +28,8 @@
28
28
  "./mcp": {
29
29
  "types": "./dist/mcp.d.ts",
30
30
  "import": "./dist/mcp.js"
31
- }
31
+ },
32
+ "./package.json": "./package.json"
32
33
  },
33
34
  "bin": {
34
35
  "agentkarma-mcp": "./dist/mcp-cli.js"