Skip to content

Commit 412f3e2

Browse files
more tweaks to make it work as a installable package
1 parent f9b7b15 commit 412f3e2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/mcp/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sourcebot/mcp",
3-
"version": "0.1.1-rc.1",
3+
"version": "0.1.1-rc.3",
44
"type": "module",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -23,6 +23,9 @@
2323
"express": "^5.1.0",
2424
"zod": "^3.24.3"
2525
},
26+
"bin": {
27+
"sourcebot-mcp": "./dist/index.js"
28+
},
2629
"repository": {
2730
"type": "git",
2831
"url": "https://github.com/sourcebot-dev/sourcebot.git",

packages/mcp/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env node
2+
13
// Entry point for the MCP server
24
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
35
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';

0 commit comments

Comments
 (0)