@mcp-b/extension-tools 0.1.3 → 0.1.5
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 +8 -8
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @b
|
|
1
|
+
# @mcp-b/extension-tools
|
|
2
2
|
|
|
3
3
|
Chrome Extension API tools for Model Context Protocol (MCP) - provides MCP-compatible wrappers for browser extension APIs.
|
|
4
4
|
|
|
@@ -11,11 +11,11 @@ Currently, **62 out of 74** Chrome Extension APIs have been implemented and are
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
npm install @b
|
|
14
|
+
npm install @mcp-b/extension-tools @modelcontextprotocol/sdk
|
|
15
15
|
# or
|
|
16
|
-
pnpm add @b
|
|
16
|
+
pnpm add @mcp-b/extension-tools @modelcontextprotocol/sdk
|
|
17
17
|
# or
|
|
18
|
-
yarn add @b
|
|
18
|
+
yarn add @mcp-b/extension-tools @modelcontextprotocol/sdk
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## API Implementation Status
|
|
@@ -119,7 +119,7 @@ The following Chrome Extension APIs are not yet implemented or need additional w
|
|
|
119
119
|
Create an MCP server in your Chrome extension's background script:
|
|
120
120
|
|
|
121
121
|
```typescript
|
|
122
|
-
import { BookmarksApiTools, StorageApiTools, TabsApiTools } from '@b
|
|
122
|
+
import { BookmarksApiTools, StorageApiTools, TabsApiTools } from '@mcp-b/extension-tools';
|
|
123
123
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
124
124
|
import { WebsocketServerTransport } from '@modelcontextprotocol/sdk/server/websocket.js';
|
|
125
125
|
|
|
@@ -456,8 +456,8 @@ import {
|
|
|
456
456
|
ScriptingApiTools,
|
|
457
457
|
StorageApiTools,
|
|
458
458
|
TabsApiTools,
|
|
459
|
-
} from '@b
|
|
460
|
-
import { ExtensionServerTransport } from '@b
|
|
459
|
+
} from '@mcp-b/extension-tools';
|
|
460
|
+
import { ExtensionServerTransport } from '@mcp-b/transports';
|
|
461
461
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
462
462
|
|
|
463
463
|
async function setupMcpServer() {
|
|
@@ -521,4 +521,4 @@ MIT
|
|
|
521
521
|
|
|
522
522
|
- [Model Context Protocol](https://modelcontextprotocol.io)
|
|
523
523
|
- [Chrome Extension APIs](https://developer.chrome.com/docs/extensions/reference/)
|
|
524
|
-
- [B
|
|
524
|
+
- [MCP-B Project](https://github.com/MiguelsPizza/MCP-B)
|