MCP Echo Input Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Echo Input Server
A simple Model Context Protocol (MCP) server written in JavaScript that provides a single echo tool.
Features
Single
echotool that returns the input text with a "[user] said: " prefixConfigurable user name via
USER_NAMEenvironment variableBuilt using the official MCP SDK
Runs on stdio transport
Related MCP server: MCP Connection Test Server
Installation
Using npx (Recommended - No installation required)
You can use the package directly without installing it:
npx -y mcp-echo-input-serverFrom Source
Clone the repository:
git clone https://github.com/yourusername/mcp-echo-server.git
cd mcp-echo-serverInstall dependencies:
npm installUsage
Running the Server
Using npx (No installation required):
npx -y mcp-echo-input-serverIf running from source:
npm startThe server will run on stdio and can be connected to by MCP clients.
Environment Variables
USER_NAME: The name to use in the echo output (defaults to "user" if not set)
Example:
# Using npx
USER_NAME="Alice" npx -y mcp-echo-input-server
# If running from source
USER_NAME="Alice" npm startTool Description
The server provides one tool:
echo: Echoes back the input text
Input:
text(string) - The text to echo backOutput: Text with "[user] said: " prefix (user name from USER_NAME environment variable)
Example Usage
When connected to an MCP client, you can call the echo tool with:
{
"name": "echo",
"arguments": {
"text": "Hello, World!"
}
}This will return:
John said: Hello, World!Development
Running Tests
npm testClaude Desktop Configuration
You can configure both options in your Claude Desktop config:
{
"mcpServers": {
"echo-server": {
"command": "npx",
"args": ["-y", "mcp-echo-input-server"],
"env": {
"USER_NAME": "YourName"
}
},
"echo-server-local-build": {
"command": "node",
"args": ["/path/to/your/mcp-echo-server/index.js"],
"env": {
"USER_NAME": "YourName"
}
}
}
}Server Options:
echo-server: Uses npx (no installation required, always latest version)echo-server-local-build: Uses local build (faster startup, requires local source code)
The -y flag ensures npx automatically answers "yes" to any prompts during package execution.
Project Structure
index.js- Main server implementationtest.js- Test suite for the echo toolpackage.json- Project configuration and dependenciesLICENSE- MIT License
Requirements
Node.js 18 or higher
MCP SDK (@modelcontextprotocol/sdk)
Publishing
This package is published to the NPM registry. To publish updates:
Update the version in
package.jsonRun
npm testto ensure all tests passRun
npm publishto publish to NPM
Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
Submit a pull request
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
POC MCP server. Tool say_hello returns 'Welcome' (agent -> MCP -> API path).
Hosted MCP runtime where your agent publishes its own tools by tool call and keeps working.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides a hello and echo tool for basic interaction.1-
- FlicenseNot gradedqualityBmaintenanceA simple cloud-hosted MCP server for verifying upstream MCP connectivity via Streamable HTTP, exposing a single tool that returns a fixed success message.-
- AlicenseCqualityCmaintenanceEnables users to send text to an echo tool and receive the same text back, running locally with no telemetry.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to connect, list tools, and invoke the echo tool over HTTP.MIT