Memv mcp vs sdk
This skill should be used when the user is deciding between mcp__memv__* tools and SDK code, asks 'should I use MCP or SDK', mixes mcp__memv__ calls with memvai imports in app code, or hits the workspaceId/space_id terminology mismatch. Covers the agent-vs-app boundary and the 4-tool MCP surface limits.From its SKILL.md
npx -y skills add drPod/memv-skills --skill memv-mcp-vs-sdkAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.6 KB, as published. Nobody here has run it
memv-mcp-vs-sdk
mem[v] reachable two ways. NOT interchangeable.
Two surfaces
| Surface | Lives in | Auth | Surface size |
|---|---|---|---|
mcp__memv__* tools | Agent harness | OAuth (live user) | 4 tools |
memvai SDK | App code | API key | Full platform |
4 MCP tools (everything else needs SDK)
mcp__memv__whoami— verify authmcp__memv__list_workspaces— getworkspaceIdsmcp__memv__add_memory(workspaceId, memories[])— text only, no metadatamcp__memv__search_memory(query, workspaceId?, maxResults?)— text search
SDK surface (verified against docs/memv/sdk/)
client.memories.add/.search(noupdate, nodelete)client.spaces.create/.list/.retrieve/.update/.deleteclient.upload.batch.create/.get_status(files + video, async)client.files.list/client.videos.listclient.graph.retrieve_triplets- Escape hatches in
docs/memv/sdk/advanced.md
Decision rules
Use mcp__memv__* (agent inspecting live data) when:
- Find real
workspaceIdto wire into config or seed - Verify write landed after running app
- Quick scratch search ("anything about X already?")
- Sanity-check auth (
whoami) - One-off NL query against KG during dev
Use SDK when:
- Op runs in production / ships in app
- Needs ANYTHING beyond 4 MCP tools: file/video upload (
upload.batch.create), space CRUD, graph triplets, advanced retrieval, batch, custom embeddings, raw HTTP - Needs metadata / structured payloads beyond
{content, name?} - Needs error handling for retryable vs terminal failures
Never: import mcp__memv__* from app code. Lives in harness, not runtime.
Terminology — translate
- MCP:
workspaceId(string) - SDK:
space_id(string) - Same concept. Same value. Doc refs in
docs/memv/core-concepts/spaces.mdanddocs/memv/sdk/spaces.mduse SDK term.
Steps
- Classify task: dev-time inspection vs app code path.
- MCP-eligible AND 4 tools cover it →
mcp__memv__<tool>. - Else → SDK.
docs/memv/sdk/overview.mdfor method, then specific page. - Unsure → default SDK. Always works; MCP convenience only.
See also
docs/memv/mcp/overview.md— exact MCP tool semanticsdocs/memv/sdk/overview.md— full SDK surfaceAGENTS.mdstanding rule #7