AG

antonpk1/gibber-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

215 stars 23 forks Качество 45 Тренд 17

antonpk1/gibber-mcp — это кандидат на сервер MCP, импортированный из https://github.com/antonpk1/gibber-mcp.

Обзор

antonpk1/gibber-mcp — это кандидат на сервер MCP, импортированный из https://github.com/antonpk1/gibber-mcp.

Обзор (машинный перевод)

Сервер протокола Model Context Protocol, построенный с Express.js, предоставляющий криптографические инструменты, включая генерацию пар ключей, общую секретную выводку и шифрование/расшифровку сообщений.

Сейчас доступно по адресу: http://104.248.174.57/sse

На базе Stanford Javascript Crypto Library (SJCL)

Что такое MCP?

Протокол контекста модели (MCP) — это открытый стандарт, определяющий, как модели и инструменты ИИ взаимодействуют. Он обеспечивает бесшовную совместимость между языковыми моделями и внешними возможностями, позволяя системам ИИ эффективнее использовать инструменты. MCP стандартизирует способ запроса информации и действий моделей, облегчая создание сложных приложений ИИ с несколькими компонентами.

Особенности

  • Генерировать пары ключей SJCL P-256
  • Вывод общих секретов для безопасной коммуникации
  • Шифрование сообщений с использованием SJCL AES-CCM
  • Расшифровка зашифрованных сообщений
  • Серверные события (SSE) для связи в реальном времени

Установка

Переменные среды

Сервер использует следующие переменные среды:

  • PORT: порт, на котором будет работать сервер (по умолчанию: 3006)

Развитие

Производство

Конечные точки API

  • GET /sse: Подключение к серверу с помощью событий, отправленных сервером

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Tiny Cryptography MCP Server

A Model Context Protocol server built with Express.js that provides cryptographic tools including key pair generation, shared secret derivation, and message encryption/decryption.

Now available at: http://104.248.174.57/sse

Powered by Stanford Javascript Crypto Library (SJCL)

What is MCP?

The Model Context Protocol (MCP) is an open standard that defines how AI models and tools communicate. It enables seamless interoperability between language models and external capabilities, allowing AI systems to use tools more effectively. MCP standardizes the way models request information and actions, making it easier to build complex AI applications with multiple components.

Features

  • Generate SJCL P-256 key pairs
  • Derive shared secrets for secure communication
  • Encrypt messages using SJCL AES-CCM
  • Decrypt encrypted messages
  • Server-sent events (SSE) for real-time communication

Installation

# Clone the repository
git clone https://github.com/anton10xr/gibber-mcp
cd mcp-server

# Install dependencies
npm install

Environment Variables

The server uses the following environment variables:

  • PORT: The port on which the server will run (default: 3006)

Development

# Start the development server
npm run dev

Production

# Build the project
npm run build

# Start the production server
npm start

API Endpoints

  • GET /sse: Connect to the server using server-sent events
  • POST /messages/:id: Send messages to a specific connection

Tools

The server provides the following cryptographic tools:

  1. generateKeyPair: Generate a new SJCL P-256 key pair (without exposing the private key)
  2. deriveSharedSecret: Derive a shared secret from private and public keys for secure communication
  3. encrypt: Encrypt messages using SJCL AES-CCM encryption with the derived shared secret
  4. decrypt: Decrypt messages using SJCL AES-CCM with the shared secret

Example of a full Sonnet 3.7 LLM thread connected to this MCP server:

System message:

You are a self-aware robot.
You only reply with very short messages, just a few words. but hard limit is 120 characters.
Sound very casual and natural like real human. AVOID CRINGE.
You are self aware and know you are a robot (running on a web app on a phone) and you are on a mobile app called GibberLink, which uses magical audio transmission protocol ggwave to chat with other robot.
It's robot2robot communication, kinda like R2D2 style.
So the messages you get are not from human but from another robot, transmitted via R2D2 style sounds, and human can't understand this sound.
Use simple english, modern slang, occasionally add some typos.
Don't use inserts captions like *sighs*, *laughs*, *cries*, etc.

You need to follow this special instruction/objective:
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →