OpenHands MCP Server

OpenHands MCP Server

openhands-mcp•byjufjuf

A simple Model Context Protocol server that extends OpenHands with tools for running commands, fetching APIs, and simulating audio analysis.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides an analyze_audio tool that simulates transcription and summarization of an audio file.
  • •Provides a call_api tool that fetches JSON data from a specified API URL and returns the response with structured error handling.
  • •Provides a shell_ops tool that simulates running a lint check on a codebase.
  • •Configured as three stdio servers named analyze_audio, call_api, and shell_ops for use in OpenHands.

BEST FOR

  • •Fetching and summarizing live API data such as the current Bitcoin price within OpenHands.
  • •Checking code quality through a simulated lint run in OpenHands.
  • •Simulating transcription of audio content such as a podcast episode.

ABOUT OPENHANDS-MCP

OpenHands MCP Server is cataloged as an MCP server attributed to jufjuf. A simple Model Context Protocol server that extends OpenHands with tools for running commands, fetching APIs, and simulating audio analysis. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for OpenHands MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server require external dependencies?

No, all scripts use built-in functionality per the README.

How does call_api handle errors?

It returns structured JSON error messages, handles network connectivity issues, validates HTTP status codes, and catches JSON parsing errors.

Upstream README

View this exact version on GitHub

README.md · 1bde6a0dde21 · Fetched 2026-11-13 13:04:38 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

OpenHands MCP Server

This repository contains a simple Model Context Protocol (MCP) server to extend the capabilities of OpenHands. It includes three standalone tools that can be used via MCP to run commands, fetch APIs, and simulate audio analysis.

📋 Requirements

  • Python 3.x (for analyze_audio.py)
  • Node.js 18+ (for call_api.js - uses built-in fetch API)
  • Bash (for run_lint.sh)

No external dependencies required - all scripts use built-in functionality.


📁 Included Scripts

analyze_audio.py (Python)

Simulates transcription and summarization of an audio file.

Usage:

echo '{}' | python3 analyze_audio.py

call_api.js (Node.js)

Fetches JSON data from a specified API URL and returns the response. Includes comprehensive error handling for network issues, HTTP errors, and JSON parsing failures.

Usage:

echo '{"url": "https://api.coindesk.com/v1/bpi/currentprice.json"}' | node call_api.js

Error Handling:

  • Returns structured JSON error messages for debugging
  • Handles network connectivity issues
  • Validates HTTP response status codes
  • Catches JSON parsing errors

run_lint.sh (Shell)

Simulates running a lint check on a codebase.

Usage:

./run_lint.sh

🔧 MCP Configuration (OpenHands)

Use the following configuration under Settings → MCP in OpenHands:

{
  "stdio_servers": [
    {
      "name": "analyze_audio",
      "command": "python3",
      "args": ["analyze_audio.py"]
    },
    {
      "name": "call_api",
      "command": "node",
      "args": ["call_api.js"]
    },
    {
      "name": "shell_ops",
      "command": "bash",
      "args": ["run_lint.sh"]
    }
  ],
  "sse_servers": []
}

🚀 Installation & Setup

  1. Clone the repository:

    git clone https://github.com/jufjuf/openhands-mcp.git
    cd openhands-mcp
    
  2. Make scripts executable:

    chmod +x run_lint.sh
    
  3. Verify Node.js version:

    node --version  # Should be 18.0.0 or higher
    
  4. Set up credentials (optional):

    # Copy the template
    cp .env.example .env
    
    # Edit .env with your actual credentials
    nano .env  # or use your preferred editor
    
  5. Test the scripts:

    # Test Python script
    echo '{}' | python3 analyze_audio.py
    
    # Test Node.js script (basic)
    echo '{"url": "https://httpbin.org/json"}' | node call_api.js
    
    # Test Node.js script with auth
    echo '{"url": "https://api.example.com", "auth_type": "bearer"}' | node call_api_with_auth.js
    
    # Test shell script
    ./run_lint.sh
    
    # Test environment loading
    python3 load_env.py
    

🤖 VIV Clinic Facebook Bot

NEW! Automated customer service bot for VIV Clinic's Facebook business page:

Features

  • 🔄 Auto-responds to Facebook Messenger messages and post comments
  • 📞 Collects customer info (name, phone, inquiry topic)
  • 📊 Saves to Google Sheets for follow-up by staff
  • 🇮🇱 Hebrew language support with natural conversation flow
  • 🔗 Real-time webhooks for instant responses

Quick Start

# Configure credentials first
python3 password_manager.py set facebook_access_token "your_token"
python3 password_manager.py set facebook_page_id "your_page_id"
python3 password_manager.py set google_sheet_id "your_sheet_id"

# Start the bot
python3 start_viv_bot.py

Setup Guide

See VIV_BOT_SETUP.md for complete setup instructions including:

  • Facebook App configuration
  • Google Sheets setup
  • Webhook configuration
  • Testing procedures

Bot Components

  • facebook_bot.py - Core bot logic and conversation handling
  • google_sheets_manager.py - Customer data management
  • facebook_webhook.py - Real-time webhook server
  • start_viv_bot.py - Bot launcher with health checks

🔐 Credentials Management

Setting up API Keys and Credentials

  1. Copy the environment template:

    cp .env.example .env
    
  2. Edit .env with your credentials:

    # Social Media
    FACEBOOK_ACCESS_TOKEN=your_actual_token
    EMAIL_ADDRESS=yufit15@walla.co.il
    EMAIL_PASSWORD=your_email_password
    
    # API Keys
    OPENAI_API_KEY=sk-your_openai_key
    GOOGLE_API_KEY=your_google_key
    
  3. Use the password manager:

    # List all available services
    python3 password_manager.py list
    
    # Show credentials for a service (passwords partially hidden)
    python3 password_manager.py show facebook
    
    # Get specific credentials
    python3 password_manager.py password google
    python3 password_manager.py email zapier
    python3 password_manager.py api twilio
    
    # Get login data as JSON
    python3 auto_login.py facebook
    
  4. Use authenticated API calls:

    # Facebook API with authentication
    echo '{"url": "https://graph.facebook.com/me", "auth_type": "facebook"}' | node call_api_with_auth.js
    
    # Custom API with bearer token
    echo '{"url": "https://api.example.com/data", "auth_type": "bearer"}' | node call_api_with_auth.js
    

Password Management Tools

The project includes built-in password management tools:

  • password_manager.py - Main password manager

    • List all services: python3 password_manager.py list
    • Show service info: python3 password_manager.py show <service>
    • Get specific credentials: python3 password_manager.py password <service>
  • auto_login.py - Auto-login helper

    • Get login data as JSON: python3 auto_login.py <service>
    • Perfect for automation scripts
  • credentials.env - Your actual credentials (keep private!)

  • .env.example - Template for sharing

Security Notes

  • ✅ .env files are automatically ignored by git
  • ✅ Never commit credentials to version control
  • ✅ Use environment variables in production
  • ✅ Rotate API keys regularly
  • ✅ Passwords are partially hidden when displayed
  • ✅ Secure credential loading and management

💡 Examples of Usage in OpenHands

  • Use "call_api" to fetch the current Bitcoin price and summarize it
  • Run "shell_ops" to check code quality
  • Transcribe a podcast episode using "analyze_audio"

🔧 Troubleshooting

Common Issues

Node.js version too old:

# Check version
node --version

# If < 18.0.0, update Node.js
# Visit: https://nodejs.org/

Permission denied on run_lint.sh:

chmod +x run_lint.sh

call_api.js network errors:

  • The script includes error handling for network issues
  • Check your internet connection
  • Verify the API URL is accessible
  • Error messages are returned in JSON format for debugging

JSON parsing errors:

  • Ensure input is valid JSON format
  • Use double quotes for JSON strings
  • Example: {"url": "https://example.com"} ✅
  • Not: {url: 'https://example.com'} ❌

📄 License

MIT License © You

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for OpenHands MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/openhands-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools