Docs/MCP Integration

MCP Integration

Integrate PersistQ with AI coding assistants using the Model Context Protocol

What is Model Context Protocol?

The Model Context Protocol (MCP) is an open standard that enables AI assistants to connect to external tools and data sources. PersistQ's MCP server allows AI coding assistants like Claude Code and GitHub Copilot CLI to store and retrieve memories directly during conversations.

Seamless Integration

AI assistants automatically detect and use PersistQ without any code changes

Natural Language

Store and retrieve memories using natural conversation with your AI assistant

Supported AI Tools

Claude Code

Full Support

Anthropic's official CLI tool with complete MCP support including tools, resources, and prompts.

  • ✓ All MCP tools available
  • ✓ Auto-detection of MCP servers
  • ✓ Natural conversation integration

GitHub Copilot CLI & VS Code

Tools Only

GitHub's command-line AI assistant and VS Code extension with partial MCP support (tools only, no resources/prompts yet).

  • ✓ MCP tools available
  • ⚠ Resources not yet supported
  • ⚠ Prompts not yet supported

Cursor IDE

Full Support

AI-first code editor with complete MCP support including tools, resources, and natural language integration.

  • ✓ All MCP tools available
  • ✓ Auto-detection of MCP servers
  • ✓ Natural conversation integration

OpenCode IDE

Full Support

Modern code editor with built-in MCP support for seamless integration with PersistQ.

  • ✓ All MCP tools available
  • ✓ Auto-detection of MCP servers
  • ✓ Natural conversation integration

Installation

Install PersistQ MCP server for your AI tool:

Recommended: Using npx (No Installation)

Use npx to run PersistQ without global installation:

npx -y persistq
  • • Always uses the latest version
  • • No need to update manually
  • • Works across all platforms
  • • Recommended for most users

Alternative: Global Installation

Or install globally and use the persistq command directly:

npm install -g persistq
  • • Use when you need offline capability
  • • Requires manual updates for new features
  • • Good for CI/CD environments

For detailed manual setup instructions, see the manual setup guide for complete control over configuration options.

Platform Setup Guides

Click on your platform below to view detailed setup instructions:

Available MCP Tools

The PersistQ MCP server provides these tools to AI assistants:

Troubleshooting

Next Steps

Need Help?

Check out the getting started guide or API reference if you encounter any issues.