@sourcebot/mcp 1.0.13 → 1.0.15

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/package.json CHANGED
@@ -1,42 +1,46 @@
1
1
  {
2
- "name": "@sourcebot/mcp",
3
- "version": "1.0.13",
4
- "type": "module",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "scripts": {
8
- "build": "tsc",
9
- "dev": "node ./dist/index.js",
10
- "build:watch": "tsc-watch --preserveWatchOutput"
11
- },
12
- "devDependencies": {
13
- "@types/express": "^5.0.1",
14
- "@types/node": "^20.0.0",
15
- "tsc-watch": "6.2.1",
16
- "tsx": "^4.0.0",
17
- "typescript": "^5.0.0"
18
- },
19
- "dependencies": {
20
- "@modelcontextprotocol/sdk": "^1.10.2",
21
- "@t3-oss/env-core": "^0.13.4",
22
- "dedent": "^1.7.1",
23
- "escape-string-regexp": "^5.0.0",
24
- "express": "^5.1.0",
25
- "zod": "^3.24.3"
26
- },
27
- "bin": {
28
- "sourcebot-mcp": "./dist/index.js"
29
- },
30
- "repository": {
31
- "type": "git",
32
- "url": "https://github.com/sourcebot-dev/sourcebot.git",
33
- "directory": "packages/mcp"
34
- },
35
- "keywords": [
36
- "mcp",
37
- "modelcontextprotocol",
38
- "code-search",
39
- "sourcebot",
40
- "code-intelligence"
41
- ]
42
- }
2
+ "name": "@sourcebot/mcp",
3
+ "version": "1.0.15",
4
+ "type": "module",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "tsc",
9
+ "dev": "node ./dist/index.js",
10
+ "build:watch": "tsc-watch --preserveWatchOutput"
11
+ },
12
+ "devDependencies": {
13
+ "@types/express": "^5.0.1",
14
+ "@types/node": "^20.0.0",
15
+ "tsc-watch": "6.2.1",
16
+ "tsx": "^4.0.0",
17
+ "typescript": "^5.0.0"
18
+ },
19
+ "dependencies": {
20
+ "@modelcontextprotocol/sdk": "^1.10.2",
21
+ "@t3-oss/env-core": "^0.13.4",
22
+ "dedent": "^1.7.1",
23
+ "escape-string-regexp": "^5.0.0",
24
+ "express": "^5.1.0",
25
+ "zod": "^3.24.3"
26
+ },
27
+ "bin": {
28
+ "sourcebot-mcp": "./dist/index.js"
29
+ },
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "https://github.com/sourcebot-dev/sourcebot.git",
33
+ "directory": "packages/mcp"
34
+ },
35
+ "publishConfig": {
36
+ "access": "public",
37
+ "registry": "https://registry.npmjs.org/"
38
+ },
39
+ "keywords": [
40
+ "mcp",
41
+ "modelcontextprotocol",
42
+ "code-search",
43
+ "sourcebot",
44
+ "code-intelligence"
45
+ ]
46
+ }
package/Dockerfile DELETED
@@ -1,27 +0,0 @@
1
- # Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config
2
- # syntax=docker/dockerfile:1
3
-
4
- # Builder stage
5
- FROM node:lts-alpine AS builder
6
- WORKDIR /app
7
-
8
- # Install dependencies and build
9
- COPY package.json tsconfig.json ./
10
- COPY src ./src
11
- RUN npm install
12
- RUN npm run build
13
-
14
- # Final stage
15
- FROM node:lts-alpine
16
- WORKDIR /app
17
-
18
- # Install only production dependencies
19
- COPY package.json ./
20
- RUN npm install --production
21
-
22
- # Copy built artifacts
23
- COPY --from=builder /app/dist ./dist
24
-
25
- # Expose no specific port since this is stdio MCP server
26
- # Default command
27
- CMD ["node", "dist/index.js"]
package/smithery.yaml DELETED
@@ -1,24 +0,0 @@
1
- # Smithery configuration file: https://smithery.ai/docs/build/project-config
2
-
3
- startCommand:
4
- type: stdio
5
- configSchema:
6
- # JSON Schema defining the configuration options for the MCP.
7
- type: object
8
- required: []
9
- properties:
10
- sourcebotHost:
11
- type: string
12
- description: Optional URL of the Sourcebot server (e.g., http://localhost:3000).
13
- commandFunction:
14
- # A JS function that produces the CLI command based on the given config to start the MCP on stdio.
15
- |-
16
- (config) => {
17
- const env = {};
18
- if (config.sourcebotHost) {
19
- env.SOURCEBOT_HOST = config.sourcebotHost;
20
- }
21
- return { command: 'node', args: ['dist/index.js'], env };
22
- }
23
- exampleConfig:
24
- sourcebotHost: http://localhost:3000
package/tsconfig.json DELETED
@@ -1,28 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "outDir": "dist",
4
- "incremental": true,
5
- "declaration": true,
6
- "emitDecoratorMetadata": true,
7
- "esModuleInterop": true,
8
- "experimentalDecorators": true,
9
- "forceConsistentCasingInFileNames": true,
10
- "isolatedModules": true,
11
- "module": "Node16",
12
- "moduleResolution": "Node16",
13
- "target": "ES2022",
14
- "noEmitOnError": false,
15
- "noImplicitAny": true,
16
- "noUnusedLocals": false,
17
- "pretty": true,
18
- "resolveJsonModule": true,
19
- "skipLibCheck": true,
20
- "lib": [
21
- "ES2023"
22
- ],
23
- "strict": true,
24
- "sourceMap": true,
25
- "inlineSources": true,
26
- },
27
- "include": ["src/index.ts"]
28
- }