Commit graph

18 commits

Author SHA1 Message Date
Dhravya Shah
80a75f73ba fix: forget api 2026-03-05 10:11:34 -08:00
Prasanna721
2bbc7fc7a5 feat(mcp): add interactive memory graph MCP App visualization (#763)
### feat(mcp): add memory graph visualization MCP App

#### Summary
  - Add interactive force-directed graph visualization as an MCP App using `force-graph` + `d3-force-3d`
  - Register `memory-graph` and `fetch-graph-data` tools with MCP Apps SDK UI resources
  - Add graph API client methods (`getGraphBounds`, `getGraphViewport`) to `SupermemoryClient`
  - Set up Vite + `vite-plugin-singlefile` build pipeline to produce a self-contained HTML bundle
  - Support light/dark theme, zoom controls, node popups, and legend

  #### Files changed
  - `apps/mcp/src/server.ts` — register app tools + HTML resource
  - `apps/mcp/src/client.ts` — add graph API types and methods
  - `apps/mcp/src/ui/mcp-app.ts` — force-graph visualization app
  - `apps/mcp/src/ui/global.css`, `mcp-app.css` — styling
  - `apps/mcp/mcp-app.html` — entry HTML for Vite
  - `apps/mcp/vite.config.ts` — Vite single-file build config
  - `apps/mcp/package.json` — add UI deps and build scripts
  - `apps/mcp/wrangler.jsonc` — add HTML text import rule
2026-03-05 16:28:34 +00:00
Dhravya Shah
0c46362505 fix: properly attribute revenue with posthog 2026-02-25 18:28:13 -08:00
Prasanna721
c82dcdc30a fix(mcp): hide containerTag from tool schemas when x-sm-project header is set (#749)
### fix(mcp): prevent LLM from overriding x-sm-project container tag

- When `x-sm-project` header is configured, the `containerTag` field is now
    excluded from memory/recall/context tool schemas
 - This prevents LLMs from overriding the configured project by picking a
    different containerTag from the available projects list
  - When no header is set, behavior is unchanged — containerTag remains visible
    in schemas for manual project selection via listProjects
2026-02-20 04:34:57 +00:00
Dhravya Shah
7030c8bdb0 fix: effective tag 2026-02-19 20:12:19 -08:00
Coldaine
1328c2ac3a
fix(mcp): change memories.delete to documents.delete for forget action (#737) 2026-02-16 14:32:04 -07:00
Muhammed Hunaid Topiwala
3069bd61e6
fix(mcp): include r.memory in getProfile fallback chain (#697) 2026-01-23 12:44:52 -08:00
MaheshtheDev
1423bd7004 feat: mobile responsive, lint formats, toast, render issue fix (#688)
- Mobile responsive
- new toast design
- web document render issue fix
- posthog analytics
- ui improvements
2026-01-21 03:11:53 +00:00
Dhravya Shah
87b361c26b
docs changes (#678)
Some checks failed
Publish AI SDK / publish (push) Has been cancelled
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 16:55:32 -08:00
MaheshtheDev
acdb422635 add (mcp): projects aware tool on every init (#676) 2026-01-17 00:57:48 +00:00
Dhravya
e94134cd26 fix: oauth discovery not working with some clients (#666)
### TL;DR

TESTING REMAINING. This is my hypothesis. @MaheshtheDev please carry on from here or we can test in prod.

Added a proxy endpoint for OAuth authorization server metadata to support non-compliant MCP clients.

### What changed?

Added a new endpoint `/.well-known/oauth-authorization-server` to the MCP server that proxies requests to the main API. This endpoint fetches the authorization server metadata from the API and returns it to clients.

### How to test?

1. Make a GET request to `/.well-known/oauth-authorization-server` on the MCP server
2. Verify that it returns the same metadata as the main API's `/.well-known/oauth-authorization-server` endpoint
3. Test with a client that expects to find the authorization server metadata on the MCP domain

### Why make this change?

Some MCP clients don't correctly follow the OAuth specification. Instead of using the `authorization_servers` array provided in the protected resource metadata, they look for the authorization server metadata directly on the MCP server domain. This proxy endpoint ensures compatibility with these non-compliant clients without requiring them to be updated.
2026-01-12 23:38:30 +00:00
Dhravya Shah
f7c442e0dc chore: wrangler jsonc update 2026-01-02 13:28:25 -08:00
Dhravya Shah
d3bb0a8855 fix: added one more file 2026-01-02 13:01:26 -08:00
Dhravya Shah
e37c84e51f fix: mcp initializes in durable object 2026-01-02 12:59:33 -08:00
MaheshtheDev
cda6e1a93a chore: update readme and gitignore (#640) 2025-12-31 02:41:35 +00:00
Mahesh Sanikommu
7d0fa7d033
fix: prompt injection with mcp (#638) 2025-12-30 14:22:35 -08:00
Mahesh Sanikommu
c6792e5100
feat: supermemory MCP 4.0 (#631) 2025-12-30 12:03:21 -08:00
Dhravya Shah
5bef1b2bbc chore: bump package version 2025-12-28 19:22:28 -08:00