Welcome
Contextual is a managed platform for building, running, and scaling AI-enabled applications, automations, and integrations. Contextual brings together a runtime for application code, built-in data storage, event handling, auto-generated APIs, and AI capabilities. The platform manages the underlying infrastructure so you can focus on building solutions that fit the way your business works.
Platform overview
Get started
Prerequisites
- Node.js 22 or later to run the Contextual CLI. For new setups, use the latest patch of Node.js 24 or a newer LTS release.
- A container engine like Docker or Colima that can run
linux/amd64images so you can build and test Workers locally.
Install the Contextual CLI
Install the Contextual CLI globally with npm, then sign in.
- Replace
<tenant-id>with the ID in your Console hostname. - Replace
my-configwith a name for your local CLI configuration. If you already have a configuration, skipctxl config addand use its name instead.
npm install -g @contextual-io/cli
ctxl workers --help
ctxl config add my-config --tenant-id <tenant-id>
ctxl config use my-config
ctxl config login
ctxl config current --json
Check that ctxl config current --json shows the environment you intend to use.
If you use Docker for Worker images, configure Docker to use your CLI sign-in to push and pull images.
ctxl workers configure-docker
Connect your coding agent to Contextual knowledge
-
Solution AI Knowledge MCP: Give your agent tools to search and read the docs. Add
https://contextual-docs-mcp.contextualio.workers.devand follow the sign-in prompt. -
Solution AI Connect Plugin: Install Solution AI Connect plugin for Claude Code to add the Knowledge MCP server and CLI skills.
Terminalclaude plugin marketplace add ContextualIO/solution-ai-connect claude plugin install ctxl@contextual-io -
Can’t use MCP? Give your agent the docs index (
llms.txt) or a page’s.mdURL, such as/welcome.md. To share the text directly, select Copy page as Markdown and paste it into chat. HTTP clients can also sendAccept: text/markdownto the page URL.
Build your first Worker
Follow the managed Worker quickstart to write a small HTTP handler, deploy it, and verify the response and logs. Build your first managed Worker.
To package and deploy your own HTTP container, follow the container-based Worker quickstart.