@schift-io/ai-memory-mcp
v0.1.13
Published
MCP server component for Schift AI Memory.
Downloads
1,005
Maintainers
Readme
@schift-io/ai-memory-mcp
MCP server component for Schift AI Memory.
It lets MCP clients search and fetch Schift memory while the broader
@schift-io/ai-memory installer handles harness setup, hooks, and plugin
configuration.
Install
npm install -g @schift-io/ai-memory-mcpOr run without a global install:
npx -y schift-ai-memory login
npx -y @schift-io/ai-memory-mcpThe local MCP server reads ~/.schift/ai-memory/config.json by default.
Set SCHIFT_API_KEY only when you intentionally want to override the local
login config.
Hosted Remote MCP
Where supported, prefer the hosted Schift MCP endpoint:
https://mcp.schift.io/mcp
Authorization: Bearer <your-schift-api-key-or-oauth-token>Local MCP Config
{
"mcpServers": {
"schift-ai-memory": {
"command": "npx",
"args": ["-y", "@schift-io/ai-memory-mcp"],
"env": {
"SCHIFT_DEFAULT_BUCKET": "default",
"SCHIFT_COLLECTION": "__schift_ai_daily_log"
}
}
}
}Tools
Default tools:
searchfetchschift_searchschift_list_bucketsschift_list_bucket_collectionsschift_memory_search
schift_upload_document is available for explicit document upload flows, but it
is not part of the default CodingAgent role package. Workflow tools are hidden
unless explicitly enabled.
Workflow execution tools are disabled by default because Schift AI Memory is a collector/search component, not an Agent Hub runtime. Enable them only for intentional advanced use:
SCHIFT_AI_MEMORY_ENABLE_WORKFLOW_TOOLS=1 npx -y @schift-io/ai-memory-mcpHTTP Mode
SCHIFT_MCP_AUTH_MODE=upstream-bearer \
schift-ai-memory-mcp --httpFor local static-token testing:
SCHIFT_API_KEY=sk-... \
SCHIFT_MCP_BEARER_TOKEN=local-token \
schift-ai-memory-mcp --httpSmoke Test
SCHIFT_MCP_URL=https://mcp.example.com/mcp \
SCHIFT_TOKEN_A=sk-or-oauth-user-a \
SCHIFT_TOKEN_B=sk-or-oauth-user-b \
SCHIFT_MCP_SMOKE_QUERY="acme renewal" \
npm run smoke:memory --workspace @schift-io/ai-memory-mcp