VibeSpace Ternary

by bmorphism

Not rated
GitHub

About

Enables real-time streaming of contextual information through NATS with ternary data representation, featuring configurable privacy controls and JSON-RPC methods for collaborative virtual environments.

Details

Author
bmorphism
Repository
bmorphism/vibespace-mcp-go-ternary
Categories
Workplace, Developer Tools, Communication, Infrastructure, Knowledge Base

- In-memory repository for storing vibes and worlds
- Custom URI schemes for resource access
- Full CRUD operations for vibes and worlds
- Support for sensor data (temperature, humidity, light, sound, movement)
- Support for world features
- Support for different world types (physical, virtual, hybrid)
- NATS integration for streaming world moments in real-time
- Stream ID namespacing for multi-tenant NATS servers
- Multiplayer support with user attribution and access control
- Connection quality monitoring and UI status indicators
- Rate limiting for stream publishing
- Binary data support with multiple encoding formats (binary, base64, hex)
- Balanced ternary numeral system support with efficient encoding/decoding

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name VibeSpace Ternary
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

You can add this package to your Go project using:

go get github.com/bmorphism/vibespace-mcp-go

To run the server:

just run

Or build and run manually:

just build
./bin/vibespace-mcp

create_vibe

Create a new vibe. Parameters: name (string), description (string), attributes (object)

update_vibe

Update an existing vibe. Parameters: vibeId (string), attribute (string), value (any)

delete_vibe

Delete a vibe by its ID. Parameters: vibeId (string)

create_world

Create a new world. Parameters: name (string), description (string), type (string), features (array), sharingSettings (object)

update_world

Update an existing world. Parameters: worldId (string), attribute (string), value (any)

delete_world

Delete a world by its ID. Parameters: worldId (string)

set_world_vibe

Set the vibe for a world. Parameters: worldId (string), vibeId (string)

streaming_startStreaming

Start streaming world moments. Parameters: url (string), stream_id (string), world_id (string), user_id (string)

streaming_stopStreaming

Stop streaming world moments. Parameters: stream_id (string)

streaming_status

Get the current status of the streaming. Parameters: stream_id (string)

streaming_streamWorld

Stream data for a specific world. Parameters: worldId (string), userId (string), customData (object), balancedTernaryData (string)

streaming_updateConfig

Update the streaming configuration. Parameters: config (object)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "vibespace ternary": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}

vibespace MCP Experience

An MCP (Model Context Protocol) experience implementation for managing vibes and worlds with real-time NATS streaming.

Overview

vibespace MCP Experience is a Go implementation of a Model Context Protocol experience that provides resources and tools for managing "vibes" (emotional atmospheres) and "worlds" (physical or virtual spaces). The server uses custom URI schemes (vibe:// and world://) to access resources and supports JSON-RPC methods for communication.

Features

- In-memory repository for storing vibes and worlds
- Custom URI schemes for resource access
- Full CRUD operations for vibes and worlds
- Support for sensor data (temperature, humidity, light, sound, movement)
- Support for world features
- Support for different world types (physical, virtual, hybrid)
- NATS integration for streaming world moments in real-time
- Stream ID namespacing for multi-tenant NATS servers
- Multiplayer support with user attribution and access control
- Connection quality monitoring and UI status indicators
- Rate limiting for stream publishing
- Binary data support with multiple encoding formats (binary, base64, hex)
- Balanced ternary numeral system support with efficient encoding/decoding

Components

- Models: Data structures for Vibe, World, and WorldMoment, including SensorData
- Repository: In-memory storage with thread-safe CRUD operations
- Server: MCP protocol implementation with JSON-RPC methods
- Streaming: NATS integration for real-time streaming of world moments with Stream ID support

Installation

You can add this package to your Go project using:

go get github.com/bmorphism/vibespace-mcp-go

Running the Server

To run the server:

just run

Or build and run manually:

just build
./bin/vibespace-mcp

NATS Subscriber Example

The repository includes an example NATS subscriber to listen for world moments:

cd examples
./run_nats_subscriber.sh [nats-url] [stream-id] [user-id]
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.