Commit Graph
13 Commits
Author SHA1 Message Date
Sampson 50cb919200 chore: remove dead code and fix HTTP port-conflict startup (#351)
* chore: remove dead code and fix HTTP port-conflict startup

- drop unused helpers, constants, schemas, and duplicated types
- exit non-zero when the HTTP port is already in use
- add stdio and port-conflict tests
- clean dist on build, add serve:http, fix inspector:http for Inspector v2

* test: harden port-conflict test; drop unreachable listen guard

- pin the child's host so BRAVE_MCP_HOST cannot bypass the conflict
- bound the exit wait and reject spawn errors
- remove the address() guard; 'listening' does not fire on a failed bind
2026-09-17 07:45:23 -07:00
Sampson 576bd312d7 feat(http): hardens rebinding defenses (#317) 2026-07-18 14:18:54 -05:00
SampsonandHarold Spencer Jr. dd16a2e084 adds optional stateless configuration (#222)
* optional statelessness

* Update config.ts

* Update docker-compose.yml

* Update documentation

---------

Co-authored-by: Harold Spencer Jr. <hspencer@brave.com>
2026-01-25 22:14:07 -08:00
Sampson b64b2fea18 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
2025-08-18 10:37:19 -05:00
SampsonandCopilot b8d1459d38 Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 11:07:55 -05:00
Sampson a94e4dadab feat: adds proper logging support 2025-08-14 09:33:58 -05:00
Sampson 05f66d611f removes session-id generation/deps (#16) 2025-07-11 11:43:01 -07:00
Sampson fff3ddf188 now with even less invocation 2025-07-08 19:25:43 -05:00
Sampson beab641192 adds /ping and /invocations endpoints 2025-07-08 15:35:48 -05:00
Sampson 52113e3246 retrieve api key from config alone
improves api key management; no longer retrieving it in different ways from different parts of the application
2025-07-02 18:07:24 -05:00
Sampson 8f942b9eee Refactor configuration and API; added endpoints for image, video, and news. 2025-07-02 17:04:22 -05:00
Sampson b4e4fb5cfd removes stub endpoints 2025-06-26 10:14:24 -05:00
Sampson 5f29ef8a47 improved structure and implementation 2025-06-25 16:09:59 -05:00