koikar/agent-experience-mcp-server
3.2
If you are the rightful owner of agent-experience-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Echo MCP Server is a simple server built with Mastra to demonstrate the capabilities of the Model Context Protocol (MCP).
Tools
1
Resources
0
Prompts
0
Echo MCP Server
A simple echo MCP server built with Mastra that demonstrates Model Context Protocol capabilities.
Features
- Echo Tool: Echoes back messages with optional formatting options
- Uppercase transformation
- Custom prefix support
- Timestamp inclusion
Installation
npm install
Usage
As a standalone HTTP server
npm run dev
The server will start on http://localhost:3002/mcp
From another application as MCP client
import { MCPClient } from "@mastra/mcp";
const mcp = new MCPClient({
servers: {
echo: {
url: new URL("http://localhost:3002/mcp")
}
}
});
const tools = await mcp.getTools();
Tool Documentation
echo
Echoes back the input message with optional formatting.
Parameters:
message(string): The message to echo backuppercase(boolean, optional): Whether to return the message in uppercaseprefix(string, optional): Optional prefix to add to the message
Returns:
original: The original input messageechoed: The formatted echo messagetimestamp: ISO timestamp of when the echo was generated
Development
npm run dev: Start the server in development modenpm run build: Build the TypeScript codenpm run start: Start the built server