Connect your agent
Exact commands and config files to connect Claude Code, Claude.ai, Cursor, VS Code, Codex CLI, Windsurf or any MCP client, with an API key or OAuth.
Delightful runs one MCP server at https://delightful.click/mcp. It uses the Streamable HTTP transport, which most clients call http. It does not support the older SSE transport and does not run locally, so there is nothing to install.
Every request must be authenticated. The server accepts either of these:
- OAuth 2.1. The client finds the sign-in details itself (the server publishes them at
/.well-known/oauth-protected-resource/mcp), opens Delightful in your browser, and you press Allow. Access tokens last 24 hours and refresh for up to 90 days of use. - An API key sent as
Authorization: Bearer dl_live_.... Make one on the Connect screen after you sign in. The key is shown once. See API keys.
A request with neither gets 401 Unauthorized and a WWW-Authenticate header that points at the sign-in details. A client that supports OAuth reads that and starts the flow.
The snippets below use an environment variable called DELIGHTFUL_KEY where the client supports one, so the key stays out of files you might commit. Set it in your shell profile:
export DELIGHTFUL_KEY=dl_live_your_key_here#Claude Code
Documentation: Connect Claude Code to tools via MCP.
With an API key, run this in a terminal. Add --scope user to make Delightful available in every project. The default scope, local, applies to the current project only.
claude mcp add --transport http delightful https://delightful.click/mcp \
--header "Authorization: Bearer $DELIGHTFUL_KEY"Your shell expands $DELIGHTFUL_KEY when you run the command, so Claude Code stores the key itself in its settings. To keep the key out of a shared file, use a project .mcp.json instead. Claude Code expands ${VAR} in url and headers when it starts:
{
"mcpServers": {
"delightful": {
"type": "http",
"url": "https://delightful.click/mcp",
"headers": {
"Authorization": "Bearer ${DELIGHTFUL_KEY}"
}
}
}
}With OAuth, add the server with no header, then run /mcp inside Claude Code and follow the browser steps:
claude mcp add --transport http delightful https://delightful.click/mcpIf you set an Authorization header, Claude Code uses it and does not fall back to OAuth for that server. Check the connection with /mcp.
#Claude.ai
Documentation: Getting started with custom connectors using remote MCP.
Custom connectors work on Claude on the web and in Claude Desktop, on the Free, Pro, Max, Ultra, Team and Enterprise plans. The Free plan allows one custom connector. Delightful needs no key here.
- Go to Customize, then Connectors.
- Click + Add, then Add custom connector.
- Enter a name, for example
Delightful. - Enter the server URL
https://delightful.click/mcpand click Continue. - Leave the authentication settings Claude detects as they are, and click Continue. For OAuth client, the recommended choice, "Use Claude's published identity", is the one to use.
- Click Add, then sign in to Delightful when Claude opens it and press Allow.
To use it in a chat, click + at the lower left of the message box, choose Connectors, and switch Delightful on for that conversation.
In Claude on the web and in Claude Desktop, searches and boards open as a Delightful gallery inside the conversation. Click a reference to see it large with its design note, like it or save it to a board, or select several and press Send to Claude. Type / in the message box to find Delightful's prompts, such as design-from-board.
On Team and Enterprise plans an owner adds the connector once under Organization settings, then Connectors, and each member connects individually from Customize, then Connectors.
If you would rather use an API key, the connector form has a Request headers section. Add Authorization with the value Bearer dl_live_your_key_here. Claude stores it encrypted, and on Team and Enterprise plans everyone shares it.
#Cursor
Documentation: Model Context Protocol in Cursor.
Put this in ~/.cursor/mcp.json for every project, or in .cursor/mcp.json inside one project. Cursor expands ${env:NAME} in url and headers, so the key stays in your environment:
{
"mcpServers": {
"delightful": {
"url": "https://delightful.click/mcp",
"headers": {
"Authorization": "Bearer ${env:DELIGHTFUL_KEY}"
}
}
}
}Start Cursor from a shell that has DELIGHTFUL_KEY set, or restart it after setting the variable. The Connect screen in Delightful also has an Add to Cursor button that writes the same entry with your new key already in it.
With OAuth, leave out headers. Cursor supports OAuth for remote servers, and Delightful accepts dynamic client registration, so no client ID is needed:
{
"mcpServers": {
"delightful": {
"url": "https://delightful.click/mcp"
}
}
}#VS Code
Documentation: MCP configuration reference and Add MCP servers to Copilot.
VS Code currently has two places for MCP configuration, and its documentation says new Copilot setups should use the native one.
Native Copilot configuration (recommended by VS Code). Add Delightful to ~/.copilot/mcp-config.json (or the folder named by COPILOT_HOME). You can also use Chat: Open Customizations, then MCP Servers, then Add Server, choose HTTP, enter the URL and a server ID, and pick Global, then Copilot Global. A workspace-root .mcp.json works when the experimental chat.mcp.workspaceRootConfig.enabled setting is on. Both files use a top-level mcpServers object, and header values can refer to environment variables as ${NAME}:
{
"mcpServers": {
"delightful": {
"type": "http",
"url": "https://delightful.click/mcp",
"headers": {
"Authorization": "Bearer ${DELIGHTFUL_KEY}"
}
}
}
}Editor-managed configuration (existing setups). The .vscode/mcp.json format, or the mcp.json in your user profile (run MCP: Open User Configuration), still works for servers you already have. VS Code prompts for the key the first time the server starts and stores it securely, so the file holds no secret:
{
"inputs": [
{
"type": "promptString",
"id": "delightful-key",
"description": "Delightful API key",
"password": true
}
],
"servers": {
"delightful": {
"type": "http",
"url": "https://delightful.click/mcp",
"headers": {
"Authorization": "Bearer ${input:delightful-key}"
}
}
}
}VS Code documents code --add-mcp '<json>' for adding a server to your user profile. It writes to your user profile in the editor-managed servers format. The documented example has name, type and url. The headers field in the Delightful form below is not shown in that example, so it is unconfirmed:
code --add-mcp '{"name":"delightful","type":"http","url":"https://delightful.click/mcp","headers":{"Authorization":"Bearer dl_live_your_key_here"}}'#OpenAI Codex CLI
Documentation: Model Context Protocol in Codex.
Codex reads ~/.codex/config.toml. A project can also have its own .codex/config.toml in a trusted project. Each server is a [mcp_servers.<name>] table. bearer_token_env_var names the environment variable that holds the token, and Codex sends it as Authorization: Bearer:
[mcp_servers.delightful]
url = "https://delightful.click/mcp"
bearer_token_env_var = "DELIGHTFUL_KEY"Set DELIGHTFUL_KEY in your shell profile as shown at the top of this page, then check the server with codex mcp list, or /mcp in the terminal UI.
With OAuth, add the server from the command line, then sign in:
codex mcp add delightful --url https://delightful.click/mcp
codex mcp login delightful#Windsurf
Documentation: MCP in Devin Local (formerly Windsurf Cascade) and MCP configuration.
Windsurf's documentation now redirects to Devin Local's, which lists Streamable HTTP and OAuth as supported. Its configuration file is mcp_config.json, in one of these places:
| Scope | File |
|---|---|
| Project, shared in version control | .devin/mcp_config.json |
| Project, personal and gitignored | .devin/mcp_config.local.json |
| User | ~/.config/devin/mcp_config.json |
A remote server takes url, an optional transport (http is the default for URL servers) and optional headers. The documentation shows no example with headers and does not say whether ${...} variables are expanded inside them. Until it does, put a literal key only in the gitignored local file, or use OAuth, which needs no header:
{
"mcpServers": {
"delightful": {
"url": "https://delightful.click/mcp",
"transport": "http",
"headers": {
"Authorization": "Bearer dl_live_your_key_here"
}
}
}
}For OAuth, use the same block without headers. To open the file from the app, choose Customize in the agent sidebar, then the MCPs tab.
Older Windsurf releases kept their configuration in a different file with different key names. This page does not give a snippet for them because the current documentation does not cover them.
#Other MCP clients
Any client that speaks Streamable HTTP MCP can connect. Most take a block like this one. Key names vary, so check whether yours wants type or transport, and url or serverUrl:
{
"mcpServers": {
"delightful": {
"type": "http",
"url": "https://delightful.click/mcp",
"headers": {
"Authorization": "Bearer dl_live_your_key_here"
}
}
}
}For a cloud agent or a CI job, put the key in the platform's secret store and reference it from the header, as the examples above do.
To confirm the endpoint is up, send a request with no credentials. A healthy server answers 401:
curl -i -X POST https://delightful.click/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'HTTP/2 401
www-authenticate: Bearer realm="OAuth", resource_metadata="https://delightful.click/.well-known/oauth-protected-resource/mcp", scope="mcp:read"#When it does not connect
- 401 with a key. The key was revoked or mistyped. Make a new one on the Connect screen.
- The client never opens a browser. It may not support OAuth. Use an API key instead.
- Tools list but a folder is missing. Folders belong to the account that made the key. Check which account you signed in with.
No handofforNo foldererrors. The text says what is wrong and, for folders, lists your folder names. See MCP tools.