Skip to content

Commit 5c40d9b

Browse files
authored
chore: replace mcp-boilerplate submodule with npm package (#4)
1 parent 72408b4 commit 5c40d9b

File tree

13 files changed

+50
-236
lines changed

13 files changed

+50
-236
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,7 @@ All methods are exposed as MCP tools and REST API endpoints.
1111
Cloning and running the server locally.
1212

1313
```bash
14-
git clone --recurse-submodules git@github.com:timescale/tiger-memory-mcp-server.git
15-
```
16-
17-
### Submodules
18-
19-
This project uses git submodules to include the mcp boilerplate code. If you cloned the repo without the `--recurse-submodules` flag, run the following command to initialize and update the submodules:
20-
21-
```bash
22-
git submodule update --init --recursive
23-
```
24-
25-
You may also need to run this command if you pull changes that update a submodule. You can simplify this process by changing you git configuration to automatically update submodules when you pull:
26-
27-
```bash
28-
git config --global submodule.recurse true
14+
git clone git@github.com:timescale/tiger-memory-mcp-server.git
2915
```
3016

3117
### Building

package-lock.json

Lines changed: 40 additions & 189 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,15 @@
2424
},
2525
"dependencies": {
2626
"@modelcontextprotocol/sdk": "^1.15.1",
27-
"@opentelemetry/api": "^1.9.0",
28-
"@opentelemetry/api-logs": "^0.203.0",
29-
"@opentelemetry/auto-instrumentations-node": "^0.62.0",
30-
"@opentelemetry/exporter-logs-otlp-http": "^0.203.0",
31-
"@opentelemetry/exporter-trace-otlp-grpc": "^0.203.0",
32-
"@opentelemetry/instrumentation-http": "^0.203.0",
33-
"@opentelemetry/resources": "^2.0.1",
34-
"@opentelemetry/sdk-logs": "^0.203.0",
35-
"@opentelemetry/sdk-metrics": "^2.0.1",
36-
"@opentelemetry/sdk-node": "^0.203.0",
37-
"@opentelemetry/sdk-trace-base": "^2.0.1",
38-
"@opentelemetry/sdk-trace-node": "^2.0.1",
39-
"body-parser": "^2.2.0",
27+
"@tigerdata/mcp-boilerplate": "^0.1.8",
4028
"dotenv": "^17.2.0",
41-
"express": "^5.1.0",
4229
"migrate": "^2.1.0",
4330
"pg": "^8.16.3",
4431
"zod": "^3.23.8"
4532
},
4633
"devDependencies": {
47-
"@types/express": "^5.0.3",
4834
"@types/node": "^22.16.4",
4935
"@types/pg": "^8.15.4",
50-
"ai": "^5.0.17",
5136
"prettier": "^3.6.2",
5237
"shx": "^0.4.0",
5338
"tsx": "^4.20.3",

src/apis/forget.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
import { ApiFactory, StatusError } from '@tigerdata/mcp-boilerplate';
12
import { z } from 'zod';
2-
import { ApiFactory } from '../shared/boilerplate/src/types.js';
33
import { ServerContext, zScope } from '../types.js';
4-
import { StatusError } from '../shared/boilerplate/src/StatusError.js';
54

65
const inputSchema = {
76
id: z.coerce

src/apis/recall.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import { ApiFactory } from '@tigerdata/mcp-boilerplate';
12
import { z } from 'zod';
2-
import { ApiFactory } from '../shared/boilerplate/src/types.js';
33
import { Memory, ServerContext, zScope, zMemory } from '../types.js';
44

55
const inputSchema = {

src/apis/remember.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import { ApiFactory } from '@tigerdata/mcp-boilerplate';
12
import { z } from 'zod';
2-
import { ApiFactory } from '../shared/boilerplate/src/types.js';
33
import { ServerContext, zScope, zSource } from '../types.js';
44

55
const inputSchema = {

0 commit comments

Comments
 (0)