Hekkova MCP Server
Hekkova MCP Server
Уровень постоянной памяти для ИИ-агентов. Подключайте любой ИИ, совместимый с MCP (Claude, ChatGPT, Gemini, Cursor, пользовательские агенты), и сохраняйте моменты — фото, видео, аудио, текст — навсегда в блокчейне Polygon с использованием хранилища IPFS + Filecoin, шифрования Lit Protocol и уровней конфиденциальности, которые позволяют вам контролировать, кто и что видит.
Быстрый старт
# 1. Install dependencies
npm install
# 2. Copy and configure environment variables
cp .env.example .env
# Edit .env with your Supabase, Thirdweb, Pinata, and Stripe credentials
# 3. Seed the local test account and API key
npm run seed
# 4. Start the development server
npm run dev
# → Server running at http://localhost:3000/mcpПодключение к Claude Desktop
Добавьте это в файл конфигурации Claude Desktop:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"hekkova": {
"type": "url",
"url": "http://localhost:3000/mcp",
"headers": {
"Authorization": "Bearer hk_test_local_dev_key_12345678"
}
}
}
}Для продакшена замените URL и API-ключ:
{
"mcpServers": {
"hekkova": {
"type": "url",
"url": "https://mcp.hekkova.com/mcp",
"headers": {
"Authorization": "Bearer hk_live_YOUR_API_KEY"
}
}
}
}Получите свой API-ключ на hekkova.com/dashboard/keys.
Справочник инструментов
Инструмент | Описание |
| Создает NFT из медиа (фото, видео, аудио, текст) навсегда в Polygon. Шифрует в зависимости от фазы, закрепляет в IPFS, создает ERC-721 NFT. Возвращает ID блока. |
| Получает данные по публичной ссылке (твит, пост в Instagram, изображение, веб-страница) и создает NFT. Автоматически извлекает og:title и og:image. |
| Постраничный список всех созданных моментов. Фильтруется по фазе, категории или поисковому запросу. |
| Полная информация об одном моменте по ID блока: CID, хеш транзакции, фаза, теги и многое другое. |
| Изменение фазы конфиденциальности момента. Стоит 1 кредит (текст/изображение) или 2 кредита (видео). План Legacy включает 10 бесплатных смен фаз в месяц. |
| Экспорт всех моментов в формате JSON или CSV. Возвращает URL для скачивания на 24 часа со всеми ID блоков и CID IPFS. |
| Проверка оставшихся кредитов на создание, текущего плана (free / arc_builder / legacy) и баланса смен фаз. |
| Идентификация аккаунта: Light ID, отображаемое имя, адрес кошелька, фаза по умолчанию и статус плана Legacy. |
Фазы конфиденциальности
Фаза | Доступ | Шифрование |
| Только владелец | Lit Protocol (ACC кошелька владельца) |
| Близкий круг (2–10 человек) | Lit Protocol (условия общего доступа) |
| Расширенная группа (до 50) | Токен-гейт через Hekkova ERC-721 |
| Полностью публично | Нет |
Категории моментов
Категория | Значение |
| Важное жизненное событие |
| Редкий момент |
| Раз в жизни |
| С временной блокировкой — запечатано до |
| Без категории |
Лимиты запросов
План | Запросов/мин | Созданий/мин |
Sandbox (тестовые ключи) | 10 | 1 |
Standard (любой платный пакет) | 60 | 10 |
Legacy Plan | 120 | 20 |
Заголовки с лимитами запросов включены в каждый ответ:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Reset: 1710680460Запуск тестов
# Make sure the server is running in another terminal
npm run dev
# Run the test client
npm run test-clientРазвертывание
Vercel (Serverless)
npm install -g vercel
vercelДобавьте vercel.json:
{
"builds": [{ "src": "src/server.ts", "use": "@vercel/node" }],
"routes": [{ "src": "/(.*)", "dest": "src/server.ts" }]
}Установите все переменные окружения в панели управления Vercel в разделе Project → Settings → Environment Variables.
Railway
npm install -g @railway/cli
railway login
railway init
railway upУстановите переменные окружения в панели управления Railway. Railway автоматически определит скрипт npm start.
Fly.io
npm install -g flyctl
fly auth login
fly launchFly создаст fly.toml. Установите секреты с помощью:
fly secrets set SUPABASE_URL=... SUPABASE_SERVICE_KEY=... THIRDWEB_SECRET_KEY=...
fly deployСтруктура проекта
hekkova-mcp/
├── src/
│ ├── server.ts # Express + MCP server, auth middleware, rate limiter
│ ├── config.ts # Typed config from environment variables
│ ├── types/index.ts # TypeScript interfaces (Account, Moment, ApiKey, etc.)
│ ├── services/
│ │ ├── auth.ts # API key validation and hashing
│ │ ├── database.ts # Supabase queries (moments, accounts, API keys)
│ │ ├── blockchain.ts # Thirdweb/Polygon minting (stub → real)
│ │ ├── storage.ts # Pinata IPFS pinning (stub → real)
│ │ └── encryption.ts # Lit Protocol encryption (stub → real)
│ └── tools/
│ ├── mint-moment.ts
│ ├── mint-from-url.ts
│ ├── list-moments.ts
│ ├── get-moment.ts
│ ├── update-phase.ts
│ ├── export-moments.ts
│ ├── get-balance.ts
│ └── get-account.ts
├── scripts/
│ ├── seed.ts # Creates test account + API key in Supabase
│ └── test-client.ts # Exercises all 8 tools against the running server
├── package.json
├── tsconfig.json
├── .env.example
└── README.mdСхема Supabase
Вам понадобятся эти таблицы в вашем проекте Supabase:
-- Accounts
create table accounts (
id text primary key default gen_random_uuid()::text,
display_name text not null,
light_id text,
wallet_address text,
mints_remaining integer not null default 0,
total_minted integer not null default 0,
default_phase text not null default 'new_moon',
legacy_plan boolean not null default false,
created_at timestamptz not null default now()
);
-- API Keys
create table api_keys (
id text primary key default gen_random_uuid()::text,
account_id text not null references accounts(id) on delete cascade,
key_hash text not null unique,
key_prefix text not null,
environment text not null default 'live',
created_at timestamptz not null default now(),
revoked_at timestamptz
);
-- Moments
create table moments (
id text primary key default gen_random_uuid()::text,
account_id text not null references accounts(id) on delete cascade,
block_id text not null unique,
token_id integer not null,
title text not null,
description text,
phase text not null,
category text,
encrypted boolean not null default false,
media_cid text not null,
metadata_cid text not null,
media_type text not null,
polygon_tx text not null,
source_url text,
source_platform text,
eclipse_reveal_date timestamptz,
tags text[] not null default '{}',
timestamp timestamptz not null default now(),
created_at timestamptz not null default now()
);
-- Indexes
create index on api_keys(key_hash);
create index on moments(account_id, timestamp desc);
create index on moments(block_id);Полная спецификация
Смотрите полную техническую спецификацию: hekkova-mcp-server-spec.md
Эндпоинт продакшена: https://mcp.hekkova.com/mcp
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Hekkova/hekkova-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server