Skip to content

Commit 57031f3

Browse files
committed
fix: update index.ts
1 parent 25ced36 commit 57031f3

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

.github/workflows/pre_release.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ jobs:
9595
echo "access=public" >> .npmrc
9696
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
9797
npm ci
98-
# - # Check version consistency and increment pre-release version number for beta only.
99-
# name: Bump pre-release version
100-
# run: node ./.github/scripts/before-beta-release.cjs
98+
- # Check version consistency and increment pre-release version number for beta only.
99+
name: Bump pre-release version
100+
run: node ./.github/scripts/before-beta-release.cjs
101101
- name: Build module
102102
run: npm run build
103103
- name: Publish to NPM
104-
run: npm publish
104+
run: npm publish --tag beta
105105

106106
env:
107107
NODE_AUTH_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }}

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apify/mcp-server-rag-web-browser",
3-
"version": "0.1.0",
3+
"version": "0.1.2",
44
"type": "module",
55
"description": "An MCP Server for RAG Web Browser Actor",
66
"engines": {

src/index.ts

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#!/usr/bin/env node
2+
/**
3+
* This script initializes and starts the MCP server for the Apify RAG Web Browser using the Stdio transport.
4+
*
5+
* Usage:
6+
* node <script_name>
7+
*
8+
* Example:
9+
* node index.js
10+
*/
111
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
212

313
import { RagWebBrowserServer } from './server.js';

0 commit comments

Comments
 (0)