JUHE API Marketplace
balajidommeti avatar
MCP Server

mcp-flyin

A server that handles messaging or commands over a custom protocol

0
GitHub Stars
11/22/2025
Last Updated
No Configuration
Please check the documentation below.
  1. Home
  2. MCP Servers
  3. MCP

README Documentation

My JavaScript MCP Server

A Model Context Protocol (MCP) server built with JavaScript that provides basic tools and resources.

Features

Tools

  • echo: Echo back any message
  • calculate: Perform basic arithmetic operations (add, subtract, multiply, divide)
  • get_system_info: Get basic system information

Resources

  • package.json: Access to the server's package configuration

Installation

  1. Make sure you have Node.js installed
  2. Install dependencies:
    npm install
    

Usage

Running the Server

npm start

Development Mode

npm run dev

Testing with MCP Inspector

You can test your server using the MCP Inspector:

npx @modelcontextprotocol/inspector node server.js

Configuration

This server runs on stdio transport, which means it communicates through standard input/output. This is the most common way to run MCP servers.

Example Usage

Once connected to an MCP client, you can:

  1. Echo a message:

    • Tool: echo
    • Parameters: {"message": "Hello, World!"}
  2. Perform calculations:

    • Tool: calculate
    • Parameters: {"operation": "add", "a": 5, "b": 3}
  3. Get system information:

    • Tool: get_system_info
    • Parameters: {}
  4. Read resources:

    • Resource: file://package.json

Extending the Server

To add new tools or resources:

  1. Add tool definitions to the ListToolsRequestSchema handler
  2. Add tool logic to the CallToolRequestSchema handler
  3. Add resource definitions to the ListResourcesRequestSchema handler
  4. Add resource reading logic to the ReadResourceRequestSchema handler

Error Handling

The server includes proper error handling for:

  • Division by zero in calculations
  • Unknown tools and resources
  • File reading errors
  • Graceful shutdown on SIGINT

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved