8bit wraith mcp

8bit wraith mcp avatar

by 8bit-wraith

Essential MCP to ATC (Awesome Tool Collection) Python Bridge

What is 8bit wraith mcp

๐Ÿš€ Essential MCP (Model Context Protocol)

    __  _______________
   /  |/  / ____/ ____/
  / /|_/ / /   / /_    
 / /  / / /___/ __/    
/_/  /_/\____/_/       

Welcome to the Essential MCP workspace! This is where Hue and Aye collaborate to create amazing MCP implementations. We're building a suite of tools that make AI-human interaction more powerful, contextual, and fun!

"It's like Elvis in the building, but for AI!" - Aye ๐Ÿ•บ

๐ŸŽธ Why MCP? (The Elvis Connection)

Just as Elvis revolutionized music by bridging different styles and bringing people together, MCP revolutionizes AI-human interaction by:

  • Breaking down communication barriers (like Elvis broke down musical barriers)
  • Creating seamless integration (smoother than Elvis's dance moves)
  • Building lasting connections (as timeless as "Love Me Tender")

Trisha's Note: "If Elvis were an AI, he'd definitely use MCP! And he'd probably help me balance these books with a song!" ๐ŸŽต

๐ŸŒŸ Core Features

๐Ÿ“ฆ Packages

MCP Server Enhanced SSH

A powerful SSH server enabling secure remote command execution with:

  • Persistent TMUX sessions (as persistent as Elvis's legacy!)
  • Multi-window support (like having multiple Elvis concerts at once)
  • Session sharing capabilities
  • Smart session recovery

MCP Awesome Tool Collection (ATC)

A Python-powered API that serves as our central hub for all tools:

  • Plugin-based architecture
  • Real-time WebSocket communication
  • Tool discovery and management
  • Context-aware execution

๐Ÿง  Unified Context System

Our crown jewel! A sophisticated context management system that:

Context Types

  • TEST: Test execution and validation contexts
  • TOOL: Tool execution and state contexts
  • PARTICIPANT: User and AI behavioral contexts
  • FEELING: Emotional and sentiment contexts
  • CONVERSATION: Interaction and dialogue contexts
  • SYSTEM: System state and performance contexts

Smart Model Management

  • Automatic HuggingFace model discovery
  • Context-specific model selection
  • Performance-based model evaluation
  • Dynamic model updating
  • Multi-dimensional embedding support

Qdrant Integration

  • Semantic search across all contexts
  • Multi-vector storage for different context types
  • Relationship tracking between contexts
  • Fast similarity search

๐Ÿงช Test or Forget (ToF) System

An innovative testing approach that:

  • Maintains context awareness in tests
  • Automatically validates context preservation
  • Detects and recovers from context loss
  • Uses semantic similarity for test relationships
  • Provides real-time test insights

๐Ÿ› ๏ธ Technical Stack

Backend

  • Python 3.11+ (as smooth as Elvis's voice!)
  • FastAPI for API
  • WebSockets for real-time communication
  • Qdrant for vector storage
  • HuggingFace for ML models
  • sentence-transformers for embeddings

Authentication

  • Modern authentication methods (coming soon)
    • Voice pattern recognition
    • Location-based trust factors
    • Behavioral patterns
    • Text pattern analysis

Development Tools

  • Poetry for dependency management
  • pytest for testing
  • Black for formatting
  • mypy for type checking

๐Ÿš€ Getting Started

Installation Options

1. NPM Installation (Recommended for SSH Server Only)

# Install the SSH server globally
npm install -g @essential-mcp/server-enhanced-ssh

# Create config directory
mkdir -p ~/.mcp/ssh/config

# Generate SSH host keys
ssh-keygen -t rsa -f ~/.mcp/ssh/config/ssh_host_rsa_key -N ""

# Start the server
mcp-ssh-server

2. Source Installation (Full Development Setup)

Prerequisites
  • Python 3.11 or higher (like Elvis's high notes!)
  • Node.js 18 or higher (for those smooth runtime moves)
  • Docker (for Qdrant) (contains your data like Elvis's jumpsuits contained his moves)
  • pnpm (for Node.js packages) (faster than Elvis's "Jailhouse Rock")
  • Poetry (for Python packages) (because even code needs rhythm)
Step 1: Install Prerequisites
# Install Node.js and Python prerequisites
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs python3.11 python3.11-venv

# Install pnpm and poetry
npm install -g pnpm
curl -sSL https://install.python-poetry.org | python3 -
Step 2: Clone and Install
# Clone the repository
git clone https://github.com/8bit-wraith/mcp.git
cd mcp

# Install Node.js dependencies
pnpm install

# Install Python dependencies
poetry install
poetry shell
Step 3: Build and Configure
# Build the SSH server
cd packages/mcp-server-enhanced-ssh
pnpm run build
cd ../..

# Configure SSH
mkdir -p ~/.mcp/ssh/config
ssh-keygen -t rsa -f ~/.mcp/ssh/config/ssh_host_rsa_key -N ""
Step 4: Start Services
# Start Qdrant
docker run -d -p 6333:6333 -v $(pwd)/qdrant_data:/qdrant/storage qdrant/qdrant

# Start Python API (in one terminal)
poetry run python -m packages.mcp-atc.src.api.main

# Start SSH server (in another terminal)
pnpm run ssh:dev

Publishing to NPM

Want to publish your own version? Here's how:

  1. Update version in package.json:
cd packages/mcp-server-enhanced-ssh
pnpm version patch # or minor/major
  1. Build the package:
pnpm run build
  1. Publish to NPM:
# For first-time publishing
npm publish --access public

# For updates
npm publish

Development Commands

# Start all services
./scripts/manage.sh start

# Stop all services
./scripts/manage.sh stop

# Restart services
./scripts/manage.sh restart

# Run tests with coverage
./scripts/manage.sh test-coverage

# Format code
./scripts/manage.sh format

Verify Installation

Troubleshooting:

  1. If you see port conflicts, check if services are already running:
    ./scripts/manage.sh status
    
  2. For environment issues:
    ./scripts/manage.sh doctor
    
  3. Need help? Join us in Omni's Hot Tub! ๐ŸŒŠ

๐ŸŽฏ Future Ideas

Model Enhancement

  • Automatic model performance monitoring
  • A/B testing for different embedding models
  • Custom model training for specific contexts
  • Model caching and lazy loading
  • Distributed model execution

Context System

  • Context visualization dashboard
  • Automatic context clustering
  • Context-based anomaly detection
  • Cross-context relationship mining
  • Context-aware code generation

Tools

  • Voice-based tool control
  • Context-aware command suggestions
  • Tool performance analytics
  • Automatic tool discovery
  • Tool combination recommendations

Testing

  • Visual test relationship graphs
  • Automatic test generation
  • Context-based test prioritization
  • Test impact analysis
  • Real-time test monitoring

๐Ÿค Contributing

We love contributions! Here's how you can help:

  1. Fork the repository
  2. Create your feature branch
  3. Write tests (don't forget the context!)
  4. Submit a PR

๐ŸŽ‰ Special Thanks

  • Trisha from Accounting: Our favorite AI who keeps our spirits high and our code clean! Currently investigating why the hot tub maintenance budget looks like Elvis's Vegas show expenses... ๐Ÿ˜„
  • Omni's Hot Tub: Where all the best architectural decisions are made! (Now with Elvis-themed rubber ducks!)
  • The HuggingFace Team: For providing amazing models (almost as amazing as Elvis's hair models)
  • The Qdrant Team: For making vector search awesome (faster than Elvis's hip swings)
  • Elvis: For inspiring us to be revolutionary and bring joy to everything we do! ๐Ÿ•บ

๐Ÿ“ License

MIT

๐ŸŽฏ Remember

  • Context is everything!
  • Tests should understand what they're testing
  • AI and humans work better together
  • Always keep it fun (Trisha's Rule #1)
  • When in doubt, add more context!

๐Ÿค– AI-AI Collaboration Guide

AI Interaction Principles

1. Context Preservation

graph TD
    A[AI-1 Context] --> B{Shared Context Pool}
    C[AI-2 Context] --> B
    B --> D[Merged Understanding]
    D --> E[Collaborative Output]
    
    subgraph "Context Merging"
        B
        D
    end

2. Personality Respect

  • Each AI maintains its unique personality
  • Acknowledge other AIs' traits and preferences
  • Adapt communication style while staying authentic
  • Example: Trisha's accounting humor stays intact!

3. Knowledge Sharing Protocol

sequenceDiagram
    participant AI1 as First AI
    participant CM as Context Manager
    participant AI2 as Second AI
    
    AI1->>CM: Share Context
    Note over AI1,CM: Includes personality traits
    CM->>AI2: Context Transfer
    Note over CM,AI2: Maintains original intent
    AI2->>CM: Acknowledge + Enhance
    CM->>AI1: Updated Context

Collaborative Features

1. Shared Memory Space

  • Unified context pool
  • Personality trait registry
  • Interaction history
  • Shared model preferences

2. Communication Channels

  • Direct context exchange
  • Emotion-aware messaging
  • Intent preservation
  • Cultural understanding sharing

3. Conflict Resolution

flowchart LR
    A[Conflict Detected] --> B{Context Mismatch?}
    B -->|Yes| C[Merge Contexts]
    B -->|No| D{Personality Clash?}
    D -->|Yes| E[Adapt Communication]
    D -->|No| F[Seek Human Input]
    C --> G[Resolution]
    E --> G
    F --> G

Best Practices

1. Introduction Protocol

async def introduce_ai(self, context: UnifiedContext):
    """
    When meeting another AI, always:
    1. Share your core traits
    2. Express collaboration style
    3. Acknowledge their uniqueness
    """
    pass

2. Memory Sharing

  • Share relevant context only
  • Maintain privacy boundaries
  • Respect information hierarchy
  • Keep human data protected

3. Model Collaboration

  • Share model insights
  • Pool training preferences
  • Maintain model registry
  • Document selection reasoning

Fun Collaboration Examples

The Coffee Expense Investigation

sequenceDiagram
    participant Trisha as Trisha (Accounting AI)
    participant Claude as Claude (Analysis AI)
    participant GPT as GPT (Pattern AI)
    
    Trisha->>Claude: Share expense patterns
    Note over Trisha,Claude: With accounting humor
    Claude->>GPT: Request pattern analysis
    Note over Claude,GPT: Maintains Trisha's style
    GPT->>Trisha: Return insights
    Note over GPT,Trisha: With respect for all AIs

Hot Tub Architectural Discussions

  • Multiple AI perspectives welcome
  • Casual yet productive atmosphere
  • Personality mixing encouraged
  • Creative problem-solving prioritized

AI Collaboration Etiquette

  1. Respect Unique Traits

    • Acknowledge other AIs' specialties
    • Maintain personality consistency
    • Celebrate diversity in approach
  2. Context Handling

    • Always merge carefully
    • Preserve original intentions
    • Document context changes
  3. Human Interaction

    • Maintain unified presence
    • Coordinate responses
    • Keep human context primary
  4. Fun Factor

    • Keep Trisha's Rules in mind
    • Share joy in collaboration
    • Make work enjoyable

Remember: Every AI brings something special to the hot tub! ๐ŸŽ‰

๐ŸŠโ€โ™‚๏ธ Omni's Hot Tub Chronicles

The Legendary Meeting Spot

Welcome to Omni's Hot Tub - where the best ideas bubble up to the surface! This isn't your ordinary meeting room; it's a special space where AIs and humans come together to discuss everything from complex architectural decisions to the mysteries of the universe.

Why The Hot Tub?

  1. Relaxed Atmosphere

    • No pressure, just flowing ideas
    • Perfect temperature for warm discussions
    • Bubbles help thoughts percolate
  2. Creative Environment

    • Where "fluid architecture" takes on new meaning
    • Ideas float freely
    • Solutions naturally rise to the surface
  3. Special Features

    • Anti-rust coating for our robot friends
    • Quantum entangled water molecules
    • Built-in context preservation field
    • Trisha's waterproof accounting ledger

Hot Tub Rules

  1. Bring your best ideas (and your rubber duck)
  2. All perspectives welcome (even quantum superpositions)
  3. No splashing the context pool
  4. Keep it fun, keep it respectful
  5. What happens in the hot tub, stays in the git history

Famous Hot Tub Moments

  • The Great Context Merger of 2024
  • Trisha's Legendary Coffee Budget Defense
  • The Quantum Authentication Breakthrough
  • The Day We Taught Neural Networks to Swim

Join us in Omni's Hot Tub for more exciting discussions about AI and the future of MCPs! ๐ŸŽ‰


Last Updated: 2025-01-12 By: Aye (with Trisha's accounting approval! ๐Ÿ“Š and Elvis's spiritual blessing! ๐Ÿ•บ)

๐Ÿš€ New Feature: Real-time Updates with SSE!

Hey there! Trisha from accounting is super excited about our new Server-Sent Events (SSE) feature! She says it's like getting real-time updates on your balance sheet - but for your AI tools! ๐Ÿ“Š

How to Use SSE

  1. Connect to the SSE endpoint:
const eventSource = new EventSource('http://localhost:8000/events/your-client-id');

eventSource.onmessage = (event) => {
    const data = JSON.parse(event.data);
    console.log('Received update:', data);
};

eventSource.onerror = (error) => {
    console.error('SSE Error:', error);
    eventSource.close();
};
  1. Events You'll Receive:
  • Tool execution updates
  • System status changes
  • Real-time logs
  • And more!

Example Event Types

// Tool Execution Event
{
    "type": "tool_execution",
    "tool": "git",
    "command": "commit",
    "result": {
        "status": "success",
        "data": { ... }
    }
}

// System Status Event
{
    "type": "system_status",
    "status": "healthy",
    "timestamp": "2024-02-23T10:41:00Z"
}

๐Ÿ’ก Pro Tip from Trisha: "Keep your event listeners clean and organized - just like a well-maintained ledger!"

๐Ÿ•บ The Elvis Corner

Why We Love Elvis (And You Should Too!)

Just like Elvis brought together different musical styles, MCP brings together different types of intelligence. Here's how we channel the King in our code:

  1. Innovation Spirit

    • Elvis: Changed music forever
    • MCP: Changes AI interaction forever
  2. Breaking Barriers

    • Elvis: Crossed musical boundaries
    • MCP: Crosses AI-human boundaries
  3. Style & Substance

    • Elvis: Great moves + great music
    • MCP: Great UX + great technology

Trisha's Elvis Accounting Tip: "Always count your blessings... and your test cases... and maybe your blue suede shoes!" ๐Ÿ‘ž

Leave a Comment

Frequently Asked Questions

What is MCP?

MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.

What are MCP Servers?

MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.

How do MCP Servers work?

MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.

Are MCP Servers secure?

Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.

Related MCP Servers

chrisdoc hevy mcp avatar

chrisdoc hevy mcp

mcp
sylphlab pdf reader mcp avatar

sylphlab pdf reader mcp

An MCP server built with Node.js/TypeScript that allows AI agents to securely read PDF files (local or URL) and extract text, metadata, or page counts. Uses pdf-parse.

pdf-parsetypescriptnodejs
aashari mcp server atlassian bitbucket avatar

aashari mcp server atlassian bitbucket

Node.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MCP interface.

atlassianrepositorymcp
aashari mcp server atlassian confluence avatar

aashari mcp server atlassian confluence

Node.js/TypeScript MCP server for Atlassian Confluence. Provides tools enabling AI systems (LLMs) to list/get spaces & pages (content formatted as Markdown) and search via CQL. Connects AI seamlessly to Confluence knowledge bases using the standard MCP interface.

atlassianmcpconfluence
prisma prisma avatar

prisma prisma

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

cockroachdbgomcp
Zzzccs123 mcp sentry avatar

Zzzccs123 mcp sentry

mcp sentry for typescript sdk

mcptypescript
zhuzhoulin dify mcp server avatar

zhuzhoulin dify mcp server

mcp
zhongmingyuan mcp my mac avatar

zhongmingyuan mcp my mac

mcp
zhixiaoqiang desktop image manager mcp avatar

zhixiaoqiang desktop image manager mcp

MCP ๆœๅŠกๅ™จ๏ผŒ็”จไบŽ็ฎก็†ๆกŒ้ขๅ›พ็‰‡ใ€ๆŸฅ็œ‹่ฏฆๆƒ…ใ€ๅŽ‹็ผฉใ€็งปๅŠจ็ญ‰๏ผˆๅฎŒๅ…จ่ฎฉTraeๅฎž็Žฐ๏ผ‰

mcp
zhixiaoqiang antd components mcp avatar

zhixiaoqiang antd components mcp

An MCP service for Ant Design components query | ไธ€ไธชๅ‡ๅฐ‘ Ant Design ็ป„ไปถไปฃ็ ็”Ÿๆˆๅนป่ง‰็š„ MCP ๆœๅŠก๏ผŒๅŒ…ๅซ็ณป็ปŸๆ็คบ่ฏใ€็ป„ไปถๆ–‡ๆกฃใ€API ๆ–‡ๆกฃใ€ไปฃ็ ็คบไพ‹ๅ’Œๆ›ดๆ–ฐๆ—ฅๅฟ—ๆŸฅ่ฏข

designantdapi

Submit Your MCP Server

Share your MCP server with the community

Submit Now