single server per transport (#48)

resolves https://github.com/brave/brave-search-mcp-server/issues/47

- Updates SDK to 1.17.3
- Creates a single server instance per transport
- Removes unnecessary ClientLogger (tool execution methods have access to a sendNotification method if so desired)
- Other small syntactic cleanups
This commit is contained in:
Sampson authored and GitHub committed 2025-08-18 10:37:19 -05:00
1 parent 9b6e458c66
commit b64b2fea18
11 files changed
+65 -164

No files matched your search

+4 -4
View File
@@ -9,7 +9,7 @@
"version": "1.3.5",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "1.17.2",
"@modelcontextprotocol/sdk": "1.17.3",
"commander": "14.0.0",
"dotenv": "^17.2.1",
"express": "5.1.0",
@@ -27,9 +27,9 @@
}
},
"node_modules/@modelcontextprotocol/sdk": {
"version": "1.17.2",
"resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.17.2.tgz",
"integrity": "sha512-EFLRNXR/ixpXQWu6/3Cu30ndDFIFNaqUXcTqsGebujeMan9FzhAaFFswLRiFj61rgygDRr8WO1N+UijjgRxX9g==",
"version": "1.17.3",
"resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.17.3.tgz",
"integrity": "sha512-JPwUKWSsbzx+DLFznf/QZ32Qa+ptfbUlHhRLrBQBAFu9iI1iYvizM4p+zhhRDceSsPutXp4z+R/HPVphlIiclg==",
"license": "MIT",
"dependencies": {
"ajv": "^6.12.6",