Model Context Protocol
MCP Setup
Connect Sleepwalker to Claude Desktop, Cursor, Claude Code, or another MCP-compatible client.
Before you start
Create a Sleepwalker MCP token and add the Sleepwalker MCP endpoint to your client.
- Open app.sleepwalker.ai
- Open your user menu and click MCP Access
- Create a named token, for example Claude Desktop or Cursor
- Copy the token immediately. It is shown only once.
Treat this token like a password. If it is exposed, revoke it in MCP Access and create a fresh one.
Endpoint
https://sleepwalker-mcp.onrender.com/mcp Connect your MCP client
Choose the client you use. In every example, replace YOUR_SLEEPWALKER_MCP_TOKEN with the token you created in Sleepwalker.
Claude Desktop currently runs MCP servers locally. Use mcp-remote to connect it to Sleepwalker's hosted MCP endpoint.
-
Install Node.js if needed. Then verify
npxworks:npx --version
-
Open the Claude Desktop config file. In Claude Desktop, go to Settings → Developer → Edit Config. This opens
claude_desktop_config.json. -
Paste or merge the Sleepwalker config. If the file is empty, use the full example below. If it already has an
mcpServersobject, add only thesleepwalkerentry inside it.{ "mcpServers": { "sleepwalker": { "command": "npx", "args": [ "-y", "mcp-remote", "https://sleepwalker-mcp.onrender.com/mcp", "--header", "Authorization: Bearer YOUR_SLEEPWALKER_MCP_TOKEN" ] } } } -
Replace
YOUR_SLEEPWALKER_MCP_TOKENwith the MCP token you copied from Sleepwalker. -
Fully quit and reopen Claude Desktop. The MCP server appears only after Claude Desktop restarts.
Cursor supports remote MCP servers with a url and optional headers.
Add this to either ~/.cursor/mcp.json for all projects or .cursor/mcp.json inside one project:
{
"mcpServers": {
"sleepwalker": {
"url": "https://sleepwalker-mcp.onrender.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_SLEEPWALKER_MCP_TOKEN"
}
}
}
}Save the file, then restart Cursor or refresh MCP tools from Cursor settings.
Run this command and replace the token placeholder with your MCP token:
claude mcp add --transport http sleepwalker https://sleepwalker-mcp.onrender.com/mcp \ --header "Authorization: Bearer YOUR_SLEEPWALKER_MCP_TOKEN"
Verify it was added:
claude mcp list
If your client supports remote HTTP MCP servers, use this configuration:
URL: https://sleepwalker-mcp.onrender.com/mcp Transport: HTTP Authorization: Bearer YOUR_SLEEPWALKER_MCP_TOKEN
If your client only supports local stdio MCP servers, use npx -y mcp-remote with the Sleepwalker endpoint and Authorization header, like the Claude Desktop example above.
Test the connection
After connecting, ask your AI assistant to validate the Sleepwalker connection via MCP. You can test performance with the following prompts:
Which of the tested pages performs the best on AI visibility?
Who are my biggest competitors in AI search?
What are the most recent content trends I should act on?
Need help?
If your MCP client cannot connect, contact us at info@sleepwalker.ai with the client name and the error message you see.