MCP Server Installation

Get Claude talking to Memof.ai in 5 minutes ⚡

Prerequisites

  • Node.js 18+ (check with node --version)
  • npm or pnpm
  • API Token from memof.ai
  • Claude Desktop (for desktop integration)

Quick Install

Option 1: NPM Package (Coming Soon)

npm install -g @memofai/mcp-server

Option 2: From Source

# Clone repository
git clone https://github.com/memof-ai/memofai-mcp-server.git
cd memofai-mcp-server

# Install dependencies
npm install

# Build
npm run build

Configuration

Set Environment Variables

export MEMOFAI_API_TOKEN="moa_your_token_here"
export MEMOFAI_ENVIRONMENT="production"

For Persistence (Optional)

Add to your shell profile (~/.zshrc or ~/.bashrc):

echo 'export MEMOFAI_API_TOKEN="moa_your_token"' >> ~/.zshrc
echo 'export MEMOFAI_ENVIRONMENT="production"' >> ~/.zshrc

Verify Installation

Test with MCP Inspector:

npx @modelcontextprotocol/inspector node dist/index.js

This opens a web UI where you can test all MCP tools!

Next Steps


Ready to connect? → Claude Integration