Cogniz Memory Platform MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cogniz Memory Platform MCP ServerStore a memory: My favorite color is blue."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cogniz Memory Platform - MCP Server
Official Model Context Protocol (MCP) server for Cogniz Memory Platform - Enables AI assistants like Claude to store and retrieve memories across conversations.
๐ Live Server: https://app.cogniz.online/mcp
โจ Features
๐ MCP Protocol 2025-03-26 - Latest streamable HTTP transport
๐ Multi-Tenant - Each user uses their own API key
๐ง Persistent Memory - Store and retrieve context across sessions
๐ Semantic Search - Find relevant memories using natural language
๐ Project Organization - Organize memories by project
๐พ Auto-Compression - 65% storage savings with lossless compression
๐ Remote Access - Works with Claude Desktop AND Web UIs
Related MCP server: Claude Continuity MCP Server
๐ Quick Start
For Claude Desktop Users
1. Get Your API Key:
Visit cogniz.online/dashboard
Navigate to API Reference section
Copy your API key (format:
mp_1_XXXXXXXXXXXX)
2. Configure Claude Desktop:
Open your Claude Desktop config file:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add this configuration:
{
"mcpServers": {
"cogniz-memory": {
"url": "https://app.cogniz.online/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY_HERE"
}
}
}
}Replace YOUR_API_KEY_HERE with your actual API key.
3. Restart Claude Desktop
4. Test It:
You: "Store a memory: MCP integration is working!"
Claude: "I've stored that memory in your Cogniz account."Verify it appears in your dashboard.
For Web UI Users (ChatGPT Web UI, Claude Web UI, etc.)
Web UIs often can't send custom headers, so we support query parameter authentication.
Method 1: Custom Connector (if supported)
Some Web UIs support custom connectors:
Go to Settings โ Connectors
Add Custom Connector:
Name: Cogniz Memory Platform
URL:
https://app.cogniz.online/mcp?api_key=YOUR_API_KEYMethod: POST
Method 2: URL with API Key
Use this URL format:
https://app.cogniz.online/mcp?api_key=YOUR_API_KEYโ ๏ธ Security Note: Query parameters are less secure than headers because they appear in logs and URLs. Use this method only for Web UIs that don't support Authorization headers.
๐ ๏ธ Available Tools
Once connected, Claude can use these MCP tools:
cogniz_store_memory
Store a new memory in the Cogniz platform.
Parameters:
content(required): The text/information to storeproject_id(optional): Project identifier (default: "default")project_name(optional): Human-readable project namecategory(optional): Category tag (e.g., "code-snippets", "meeting-notes")
Example:
"Store this code snippet in my development project: async function fetchData() { ... }"cogniz_search_memories
Search memories using semantic search.
Parameters:
query(required): Search textproject_id(optional): Limit search to specific projectlimit(optional): Max results (1-100, default: 10)
Example:
"Search my memories for API authentication examples"cogniz_list_projects
List all your projects.
Example:
"Show me all my projects"cogniz_get_stats
View your usage statistics.
Returns:
Current plan
Memory usage
API calls
Project count
Storage stats
Example:
"How much memory am I using?"cogniz_delete_memory
Delete a specific memory by ID.
Parameters:
memory_id(required): ID of memory to delete
Example:
"Delete memory mem_12345"๐ Authentication Methods
This server supports two authentication methods to work with different clients:
Method 1: Authorization Header (Recommended)
Best for: Claude Desktop, API clients, secure environments
Format:
POST /mcp HTTP/1.1
Authorization: Bearer mp_1_YOUR_API_KEY
Content-Type: application/jsonPros:
โ More secure
โ Not visible in URLs/logs
โ Standard HTTP authentication
Method 2: Query Parameter
Best for: Web UIs that can't send custom headers
Format:
https://app.cogniz.online/mcp?api_key=mp_1_YOUR_API_KEYPros:
โ Works with Web UIs
โ No header support needed
Cons:
โ ๏ธ Less secure (visible in URLs)
โ ๏ธ Appears in server logs
โ ๏ธ May be cached by proxies
๐ Pricing Plans
The MCP server is free to use. You only pay for your Cogniz Memory Platform account:
Plan | Price | Memory Limit | Projects | API Calls/Month |
Starter | Free (30 days) | 100 MB | 3 | 1,000 |
Plus | $7/month | Unlimited | 15 | 15,000 |
Pro | $49/month | Unlimited | Unlimited | 100,000 |
Enterprise | Custom | Unlimited | Unlimited | Unlimited |
๐งช Testing
Health Check
curl https://cogniz-claude-mcp.onrender.com/healthExpected Response:
{
"status": "healthy",
"service": "cogniz-mcp-server"
}Test Authentication (Header Method)
curl -X POST https://app.cogniz.online/mcp \
-H "Authorization: Bearer mp_1_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}'Test Authentication (Query Method)
curl -X POST "https://app.cogniz.online/mcp?api_key=mp_1_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}'Expected: List of 5 available MCP tools
๐๏ธ Self-Hosting
Want to run your own instance? Clone and deploy:
Prerequisites
Node.js 18+
TypeScript
Render account (or any Node.js hosting)
Deploy to Render
1. Fork this repository
2. Create Web Service on Render:
Connect your GitHub fork
Build Command:
npm install && npm run buildStart Command:
npm startEnvironment Variables:
COGNIZ_BASE_URL=https://cogniz.onlineCOGNIZ_PROJECT_ID=defaultOptional:
COGNIZ_API_KEY(for demo/testing only)
3. Configure Custom Domain (Optional):
Professional plan required ($19/month)
Add CNAME:
your-subdomain.comโyour-service.onrender.comSSL auto-configured
4. Update OAuth Discovery URL:
In src/server-remote.ts line 224:
resource: "https://your-domain.com/mcp",5. Deploy and test!
๐ Documentation
MCP Protocol: https://modelcontextprotocol.io
Cogniz Platform: https://cogniz.online/documentation
API Reference: https://cogniz.online/dashboard#api-reference
Support: https://cogniz.online/contact
๐ง Development
Local Setup
# Clone repository
git clone https://github.com/cognizonline/Cogniz_Claude_MCP.git
cd Cogniz_Claude_MCP
# Install dependencies
npm install
# Build TypeScript
npm run build
# Set environment variables
export COGNIZ_BASE_URL=https://cogniz.online
export COGNIZ_API_KEY=mp_1_YOUR_TEST_KEY
# Start server
npm start
# Server runs on http://localhost:3000Test Locally
# Health check
curl http://localhost:3000/health
# List tools
curl -X POST http://localhost:3000/mcp \
-H "Authorization: Bearer mp_1_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'๐ค Contributing
Contributions welcome! Please:
Fork the repository
Create a feature branch
Make your changes
Test thoroughly
Submit a pull request
๐ Troubleshooting
"Authentication required" error
Cause: No API key provided
Fix:
Desktop: Add
Authorization: Bearer YOUR_KEYto configWeb UI: Add
?api_key=YOUR_KEYto URL
"Invalid API key" (401 error)
Cause: API key is wrong or expired
Fix:
Get fresh API key from dashboard
Verify format:
mp_1_XXXXXXXXXXXX
"Rate limit exceeded" (429 error)
Cause: Exceeded monthly API call limit
Fix:
Check usage in dashboard
Upgrade plan for more calls
Limit resets monthly
Connection timeout
Cause: Server on free Render plan (cold starts)
Fix:
Wait 30-60 seconds for warmup
Or upgrade to Professional plan ($19/month) for always-on
๐ฐ Hosting Costs
Free Render Plan
โ Free forever
โ ๏ธ Cold starts (30-60s delay after 15min idle)
โ ๏ธ Limited resources
Professional Render Plan ($19/month)
โ Always-on (no cold starts)
โ Better performance
โ Custom domains
โ Priority support
Recommended for production use.
๐ Security
API Key Safety
โ Keys transmitted via HTTPS only
โ Server doesn't store keys (stateless)
โ Each request isolated
โ SSL/TLS encryption
Best Practices
Never commit API keys to git
Use Authorization header when possible (more secure than query params)
Rotate keys periodically
Monitor usage for suspicious activity
Use query params only for Web UIs that don't support headers
๐ Protocol Details
MCP Version
2025-03-26 (Streamable HTTP)
Transport
HTTP POST with streaming support
Endpoints
POST /mcp- Main MCP endpointGET /health- Health checkGET /.well-known/oauth-protected-resource- Auth discovery
Supported Methods
tools/list- List available toolstools/call- Execute a toolresources/list- List resources (future)
๐ Support
Issues: GitHub Issues
Email: support@cogniz.online
Documentation: cogniz.online/documentation
๐ License
MIT License - See LICENSE file for details
๐ Acknowledgments
Built on Model Context Protocol by Anthropic
Powered by Cogniz Memory Platform
TypeScript + Express + MCP SDK
๐ Changelog
v1.2.0 (Latest - January 2025)
โ Multi-tenant support with user-provided API keys
โ Authorization header authentication (recommended)
โ Query parameter authentication (for Web UIs)
โ Improved error messages
โ OAuth discovery metadata
v1.1.0 (October 2024)
โ Updated to MCP Streamable HTTP protocol (2025-03-26)
โ Fixed API field mappings
โ Improved error handling
v1.0.0
Initial release
Basic MCP tools
Streamable HTTP transport
Live MCP Server: https://app.cogniz.online/mcp
Get Your API Key: https://cogniz.online/dashboard
Need Help? Open an issue or contact support@cogniz.online
Made with โค๏ธ for the AI community
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceModel Context Protocol (MCP) server implementation for semantic search and memory management using TxtAI. This server provides a robust API for storing, retrieving, and managing text-based memories with semantic search capabilities. You can use Claude and Cline AI Also14
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides persistent memory and conversation continuity for Claude Desktop and Claude Code, allowing users to save and restore project context when threads hit token limits.MIT
- Alicense-qualityCmaintenanceMCP Memory Server for Claude Code that provides persistent context across sessions using semantic search (RAG).Apache 2.0
- Alicense-qualityDmaintenancePersistent memory MCP server for Claude Code that captures and recalls project context across sessions, eliminating the need to re-explain architecture and decisions daily.2441MIT
Related MCP Connectors
Cloud-hosted MCP server for durable AI memory
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yoโฆ
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cognizonline/Cogniz_Claude_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server