Documentation
Complete guide to integrating Centre AI with your AI assistant.
Contents
Quick Start
Get Centre AI running in minutes:
- Create Account: Sign up at centre-ai.de
- Generate API Key: Go to Dashboard → API Keys → Create New Key
- Configure Client: Add the configuration to your MCP client
- Start Using: Your AI now has persistent memory!
Claude Desktop Setup
The most common way to use Centre AI with Claude Desktop:
Step 1: Create API Key
- Log in to centre-ai.de
- Open your Dashboard
- Click "Manage API Keys"
- Create a new key with a descriptive name (e.g., "Claude Desktop")
- Important: Copy the key immediately - it's only shown once!
Step 2: Configure Claude Desktop
- Open Claude Desktop Settings
- Navigate to:
Settings → Developer → Edit Configuration - Open
claude_desktop_config.json - Add this configuration:
{
"mcpServers": {
"centre-ai": {
"command": "npx",
"args": [
"-y",
"supergateway",
"--sse",
"https://centre-ai.de/mcp/sse"
],
"env": {
"CENTRE_AI_API_KEY": "cai_YOUR_API_KEY_HERE"
}
}
}
}
Step 3: Test Connection
- Restart Claude Desktop
- Open a new chat
- You should see Centre AI tools (e.g., "create_memory", "get_memory")
- Test with: "Save a memory: I like coffee"
Claude Web (OAuth)
Connect Centre AI to Claude.ai directly via OAuth - no API key needed:
Step 1: Open Claude.ai
- Go to claude.ai
- Sign in with your Anthropic account
- Open Settings (gear icon)
Step 2: Add MCP Server
- Navigate to "Integrations" or "MCP Servers"
- Click "Add MCP Server"
- Enter Server URL:
https://centre-ai.de - Click "Connect"
Step 3: Authorize
- You'll be redirected to Centre AI
- Log in with your Centre AI account (or register)
- Approve the access request
- You'll be redirected back to Claude.ai
ChatGPT Integration
Centre AI can also be used with ChatGPT:
Option 1: Custom GPT (Recommended)
- Create an API Key in your Centre AI Dashboard
- Go to ChatGPT GPT Editor
- Create a new Custom GPT
- Under "Actions", add the Centre AI API:
OpenAPI Schema URL: https://centre-ai.de/api/openapi.json
Authentication:
- Type: API Key
- Header: X-API-Key
- Value: cai_YOUR_API_KEY_HERE
Other MCP Clients
Centre AI works with all MCP-compatible clients:
Cursor
IDE with integrated AI assistant. MCP configuration under Settings → Features → MCP Servers
LM Studio
Local LLM execution with MCP support. Configuration in Server Settings.
Continue.dev
Open-source AI assistant for VS Code/JetBrains. Configure MCP in config.json.
Zed Editor
Modern code editor with MCP integration. Under Settings → Extensions → MCP.
Universal Configuration
For all MCP clients, use this base configuration:
Server URL: https://centre-ai.de/mcp/sse
Transport: SSE (Server-Sent Events)
Header: X-API-Key: cai_YOUR_API_KEY_HERE
# Or with supergateway (if client doesn't support SSE):
Command: npx -y supergateway --sse https://centre-ai.de/mcp/sse
Env: CENTRE_AI_API_KEY=cai_YOUR_API_KEY_HERE
Authentication
Centre AI supports two authentication methods:
API Key (Recommended for MCP)
API Keys start with cai_ and are passed in the header:
X-API-Key: cai_your_api_key_here
JWT Token
For web applications, use JWT tokens:
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
API Endpoints
Authentication
Register a new user
Log in user
Get current user information
Create new API key
Memories
Create a new memory
Get memories (with search)
Projects & Tasks
Manage projects
Manage tasks
Billing
Get available plans
Create checkout session
MCP Tools Reference
Centre AI provides over 20 MCP tools. Here are the main categories:
Memory Management
create_memory
Save a new memory with optional tags and importance level
get_memory
Retrieve memories - supports semantic search
Knowledge Graph
get_knowledge_graph
Visualize relationships between concepts
Code Indexing
capture_codebase
Index a code repository for semantic search
get_codebase
Search indexed codebases
Project Management
project_overview
Show project overview with status and priorities
task_create / task_update
Create and update tasks
note_create / note_search
Manage notes with tags
Web & Documentation
web_search
Search the web (Pro & Enterprise)
fetch_webpage
Load and analyze web pages
fetch_documentation_site
Crawl and index documentation sites
Conversations
conversation_log
Log conversations for later reference
conversation_overview
View past conversations
Code Examples
Create Memory (cURL)
curl -X POST https://centre-ai.de/api/memories \
-H "X-API-Key: cai_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"content": "User prefers dark themes",
"memory_type": "preference",
"tags": ["ui", "settings"],
"importance": 7
}'
Semantic Search
curl -X GET "https://centre-ai.de/api/memories?query=theme+preferences&semantic=true" \
-H "X-API-Key: cai_your_api_key"
Python Example
import requests
API_KEY = "cai_your_api_key"
BASE_URL = "https://centre-ai.de/api"
headers = {
"X-API-Key": API_KEY,
"Content-Type": "application/json"
}
# Create a memory
response = requests.post(
f"{BASE_URL}/memories",
headers=headers,
json={
"content": "User prefers Python over JavaScript",
"memory_type": "preference",
"tags": ["programming", "languages"],
"importance": 8
}
)
print(response.json())
JavaScript Example
const API_KEY = 'cai_your_api_key';
const BASE_URL = 'https://centre-ai.de/api';
async function createMemory(content, tags = []) {
const response = await fetch(`${BASE_URL}/memories`, {
method: 'POST',
headers: {
'X-API-Key': API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify({
content,
memory_type: 'general',
tags,
importance: 5
})
});
return response.json();
}
// Usage
createMemory('Important project deadline: Dec 31')
.then(console.log);
Troubleshooting
Connection Issues
Tools not showing in Claude Desktop
1. Restart Claude Desktop completely. 2. Check if npx is installed. 3. Verify API key is correct. 4. Check console for errors.
"Unauthorized" errors
Your API key may be invalid or expired. Create a new key in your Dashboard.
"Rate limit exceeded"
You've exceeded your plan's API call limit. Upgrade your plan or wait for the daily reset.
Common Errors
ECONNREFUSED
Cannot reach server. Check your internet connection and try again.
Invalid JSON response
Server returned unexpected response. Report this issue to support.
Need Help?
Contact us at till.tmk@gmail.com
Documentation updated: December 2025