agent-experience-mcp-server

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 back
  • uppercase (boolean, optional): Whether to return the message in uppercase
  • prefix (string, optional): Optional prefix to add to the message

Returns:

  • original: The original input message
  • echoed: The formatted echo message
  • timestamp: ISO timestamp of when the echo was generated

Development

  • npm run dev: Start the server in development mode
  • npm run build: Build the TypeScript code
  • npm run start: Start the built server