Help Center / MCP Server

MCP Server Setup

Connect KasLens to your favorite AI assistant.

What is the KasLens MCP Server?

The Model Context Protocol (MCP) is an open standard that allows AI assistants to connect to external tools and data sources. KasLens provides an MCP server that gives AI assistants real-time access to Kaspa blockchain data, market analytics, and insights.

Once connected, your AI assistant can:

  • Query live Kaspa market data (price, volume, market cap)
  • Access analytics and historical data
  • Retrieve token information and wallet analytics
  • Get AI-generated market summaries and daily pulse reports

MCP Server URL

https://kaspa-lens.com/mcp

This is the URL you will use when configuring your AI assistant to connect to KasLens.

Quick Setup

Select your AI client below to get the configuration snippet and setup steps. You will need a KasLens account to complete the OAuth login.

ChatGPT connects to MCP servers through Developer mode. Requires a Plus, Pro, Team, Business, Enterprise, or Education subscription and the web version.

  1. Go to Settings > Apps > Advanced settings
  2. Toggle Developer mode on
  3. Click Create app and enter the server URL:
https://kaspa-lens.com/mcp
  1. Start a new conversation, click the + menu, select Developer mode, and enable the KasLens app
  2. Send a message — ChatGPT opens a browser window for you to log in with your KasLens account
View detailed setup guide

Prerequisites

Before you can connect an AI assistant to the KasLens MCP server, you need a verified KasLens account. The MCP server uses OAuth 2.0 authentication — your AI assistant will ask you to log in with your KasLens account when you first connect.

Step 1: Create an Account

  1. Go to kaspa-lens.com/auth/register
  2. Enter your email address and choose a password (at least 8 characters)
  3. Agree to the Privacy Policy and Terms of Service
  4. Click Create account

Step 2: Verify Your Email

After registration, you will receive a verification email from [email protected].

Important: The verification email may land in your spam or junk folder. Check there if you do not see it in your inbox within a few minutes. Some email providers (Gmail, Outlook, Yahoo) are particularly aggressive about filtering automated emails.

Click the verification link in the email to activate your account. The link expires after 24 hours. If it has expired, simply register again with the same email address to receive a new one.

How Authentication Works

When you add the KasLens MCP server to your AI assistant, the following happens:

  1. Discovery — Your AI client fetches the MCP server metadata from https://kaspa-lens.com/mcp, which points it to the OAuth authorization server
  2. Client Registration — If your AI client supports Dynamic Client Registration (RFC 7591), it automatically registers itself with the KasLens authorization server
  3. Login — A browser window opens where you log in with your KasLens email and password
  4. Authorization — You grant the AI client permission to access KasLens data on your behalf
  5. Connected — The AI assistant can now query KasLens data. The session stays active until you revoke access or the token expires

Your password is never shared with the AI assistant. Authentication uses the industry-standard OAuth 2.0 Authorization Code flow with PKCE.

Supported Clients

ClientTypeStatus
ChatGPTWeb appDetailed guide
OpenCodeCLI agentDetailed guide
CursorIDEQuick setup above
Claude DesktopDesktop appQuick setup above
VS Code + CopilotIDEQuick setup above
WindsurfIDEQuick setup above
Any MCP-compatible clientVariousUse the "Other" tab above

All MCP-compatible clients can connect using the server URL and a standard JSON configuration. If your client is not listed, use the generic configuration in the Other tab.