agentsclimarketplace

Memv mcp vs sdk

Skill drPod/memv-skills/skills/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

Install
npx -y skills add drPod/memv-skills --skill memv-mcp-vs-sdk

Assembled 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

SurfaceLives inAuthSurface size
mcp__memv__* toolsAgent harnessOAuth (live user)4 tools
memvai SDKApp codeAPI keyFull platform

4 MCP tools (everything else needs SDK)

  • mcp__memv__whoami — verify auth
  • mcp__memv__list_workspaces — get workspaceIds
  • mcp__memv__add_memory(workspaceId, memories[]) — text only, no metadata
  • mcp__memv__search_memory(query, workspaceId?, maxResults?) — text search

SDK surface (verified against docs/memv/sdk/)

  • client.memories.add / .search (no update, no delete)
  • client.spaces.create / .list / .retrieve / .update / .delete
  • client.upload.batch.create / .get_status (files + video, async)
  • client.files.list / client.videos.list
  • client.graph.retrieve_triplets
  • Escape hatches in docs/memv/sdk/advanced.md

Decision rules

Use mcp__memv__* (agent inspecting live data) when:

  • Find real workspaceId to 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.md and docs/memv/sdk/spaces.md use SDK term.

Steps

  1. Classify task: dev-time inspection vs app code path.
  2. MCP-eligible AND 4 tools cover it → mcp__memv__<tool>.
  3. Else → SDK. docs/memv/sdk/overview.md for method, then specific page.
  4. Unsure → default SDK. Always works; MCP convenience only.

See also

  • docs/memv/mcp/overview.md — exact MCP tool semantics
  • docs/memv/sdk/overview.md — full SDK surface
  • AGENTS.md standing rule #7

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.