@lovelybunch/mcp 1.0.71-alpha.1 → 1.0.71-alpha.3

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.
@@ -0,0 +1,7 @@
1
+ import type { MCPTool } from './proposals-tool.js';
2
+ /**
3
+ * Tool for fetching and extracting readable content from web URLs.
4
+ * This is a read-only tool that retrieves web page content for context.
5
+ */
6
+ export declare const urlReaderTool: MCPTool;
7
+ //# sourceMappingURL=url-reader-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-reader-tool.d.ts","sourceRoot":"","sources":["../src/url-reader-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,OAkB3B,CAAA"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Tool for fetching and extracting readable content from web URLs.
3
+ * This is a read-only tool that retrieves web page content for context.
4
+ */
5
+ export const urlReaderTool = {
6
+ name: 'read_url',
7
+ description: `Fetch and extract readable content from a web URL. Use this when a user shares a URL and wants you to read, summarize, or analyze its content. Returns the page title, main text content, and excerpt.
8
+
9
+ IMPORTANT:
10
+ - Only use this for publicly accessible web pages
11
+ - Content is automatically cleaned and truncated for context limits
12
+ - Some sites may block automated access`,
13
+ inputSchema: {
14
+ type: 'object',
15
+ properties: {
16
+ url: {
17
+ type: 'string',
18
+ description: 'The full URL to fetch (must start with http:// or https://)'
19
+ }
20
+ },
21
+ required: ['url']
22
+ }
23
+ };
24
+ //# sourceMappingURL=url-reader-tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-reader-tool.js","sourceRoot":"","sources":["../src/url-reader-tool.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAY;IACpC,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE;;;;;wCAKyB;IACtC,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,GAAG,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6DAA6D;aAC3E;SACF;QACD,QAAQ,EAAE,CAAC,KAAK,CAAC;KAClB;CACF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovelybunch/mcp",
3
- "version": "1.0.71-alpha.1",
3
+ "version": "1.0.71-alpha.3",
4
4
  "description": "MCP tools for Coconut",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -14,7 +14,7 @@
14
14
  "test:ui": "vitest --ui"
15
15
  },
16
16
  "dependencies": {
17
- "@lovelybunch/types": "^1.0.71-alpha.1",
17
+ "@lovelybunch/types": "^1.0.71-alpha.3",
18
18
  "hono": "^4.0.0"
19
19
  },
20
20
  "devDependencies": {