mcp-flyin
Provides tools for basic JavaScript operations including echo functionality, arithmetic calculations, and system information retrieval
Enables access to Node.js system information and provides a framework for running server-side JavaScript tools through an MCP interface
Allows access to package configuration through resource retrieval, enabling inspection of npm dependencies and project metadata
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-flyin calculate 15 plus 7"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: @profullstack/mcp-server
Installation
Make sure you have Node.js installed
Install dependencies:
npm install
Usage
Running the Server
npm startDevelopment Mode
npm run devTesting with MCP Inspector
You can test your server using the MCP Inspector:
npx @modelcontextprotocol/inspector node server.jsConfiguration
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:
Echo a message:
Tool:
echoParameters:
{"message": "Hello, World!"}
Perform calculations:
Tool:
calculateParameters:
{"operation": "add", "a": 5, "b": 3}
Get system information:
Tool:
get_system_infoParameters:
{}
Read resources:
Resource:
file://package.json
Extending the Server
To add new tools or resources:
Add tool definitions to the
ListToolsRequestSchemahandlerAdd tool logic to the
CallToolRequestSchemahandlerAdd resource definitions to the
ListResourcesRequestSchemahandlerAdd resource reading logic to the
ReadResourceRequestSchemahandler
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
Available Tools
3 toolscalculateC
Perform basic arithmetic calculations
Inputs: operation (required), a (required), b (required).
echoB
Echo back the input message
Inputs: message (required).
get_system_infoC
Get basic system information
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose with no overlap: calculate handles arithmetic, echo returns input, and get_system_info retrieves system data. An agent can easily differentiate between these three unrelated functions.
The naming is mostly consistent with a verb-based pattern (calculate, echo, get_system_info), though 'echo' is less descriptive than the others. There are no mixed conventions, making the set readable and predictable.
With only 3 tools, the server feels thin for a general utility purpose like 'mcp-flyin', which might imply broader functionality. While each tool is distinct, the count is borderline low for typical server scopes.
The toolset is severely incomplete for a utility server, lacking common operations like file handling, data transformation, or network requests. It covers only basic arithmetic, echoing, and system info, leaving significant gaps for agent workflows.
Maintenance
Related MCP Connectors
A simple MCP server built with FastMCP and python
Related MCP Servers
- AlicenseCqualityDmaintenanceA simple server implementing the Model Context Protocol (MCP) that echoes messages back, designed for testing MCP clients.13MIT
- AlicenseNot gradedqualityCmaintenanceA generic, modular server for implementing the Model Context Protocol (MCP).94 npm45ISC
- FlicenseNot gradedqualityDmaintenanceA simple MCP server implementation that demonstrates streaming capabilities with tools for greetings and notifications, accessible through an interactive command-line client.1-
- AlicenseNot gradedqualityDmaintenanceAn implementation of the Model Context Protocol (MCP) server that enables multiple clients to connect simultaneously and handles basic context management and messaging with an extendable architecture.MIT