Getting Started

ctx4.ai gives your AI assistants persistent context via MCP. Your preferences, knowledge, and skills live in a GitHub repo and follow you across conversations in Claude, ChatGPT, Cursor, and any MCP client.
1

Create your context repo

Click the button below to create a private repo from our template. This is where your AI context will live — instructions, knowledge, and skills.

The template ( dubzdubz/ctx4-data-template ) creates this structure:

resources/
  instructions.md    # Your preferences & instructions
  context.md         # Who you are, what you do
skills/
  skill-creator/     # A built-in skill for creating new skills
knowledge/           # General knowledge & memories
2

Sign up

Create a free ctx4.ai account to link your context repo and authenticate with AI clients.

3

Connect GitHub

Install the ctx4.ai GitHub App and select the repo you created in Step 1. The app gets read/write access to that single repo so your AI can save context there.

4

Connect your AI client

Add the ctx4.ai MCP server to any MCP-compatible client. The MCP URL is:

https://ctx4-ai.vercel.app/mcp

Open Claude Desktop and navigate to Settings → Connectors → Add Custom Connector.

Enter the name as ctx4 and the remote MCP server URL as:

https://ctx4-ai.vercel.app/mcp

Click Connect to authenticate.

5

Start using it

Run onboarding (optional but recommended)

The onboarding prompt will set up your context repo and ask a few questions about your preferences:

/ctx4:onboarding

Add system prompt (optional but recommended)

For best results, add this to your client's custom instructions or system prompt:

Claude: Settings → General → Personal Preferences
ChatGPT: Settings → Personalization → Custom Instructions

Ready to get started?