mcp-remote-server
Supports package management and script execution for building and running the MCP server
Connects to a WebSocket echo server, enabling real-time bidirectional communication through the Echo resource
Built with TypeScript, enabling strongly-typed tool and resource development with compile-time type checking
Uses Zod for schema validation in tool development, providing type safety and input validation for MCP tools
Click on "Install 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-remote-serverget me a random xkcd comic"
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.
mcp-remote-server
A Model Context Protocol (MCP) server built with mcp-framework.
Quick Start
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm startThe server will run on port 1947 at endpoint /mcp by default.
Related MCP server: MCP Server Basic Example
Project Structure
mcp-remote-server/
├── src/
│ ├── tools/ # MCP Tools
│ │ └── XkcdTool.ts # Tool: Fetches random xkcd comics
│ ├── resources/ # MCP Resources
│ │ ├── DynamicResource.ts # Fetches data from JSONPlaceholder
│ │ ├── RealTimeResource.ts # Echo WebSocket resource
│ │ └── StaticResource.ts # Returns static JSON data
│ └── index.ts # Server entry point
├── package.json
├── tsconfig.json
└── README.mdIncluded Tools
XkcdTool
Name:
xkcdDescription: Fetches a random xkcd comic image and its alt text.
Included Resources
DynamicResource
URI:
resource://market-dataDescription: Fetches data from JSONPlaceholder (free, no API key required).
EchoResource
URI:
resource://echoDescription: Connects to a public WebSocket echo server (
wss://echo.websocket.org).
StaticResource
URI:
resource://staticDescription: Returns static JSON data for testing.
Adding Components
You can add more tools using the CLI:
# Add a new tool
mcp add tool my-toolTool Development Example
import { MCPTool } from "mcp-framework";
import { z } from "zod";
interface MyToolInput {
message: string;
}
class MyTool extends MCPTool<MyToolInput> {
name = "my_tool";
description = "Describes what your tool does";
schema = {
message: {
type: z.string(),
description: "Description of this input parameter",
},
};
async execute(input: MyToolInput) {
// Your tool logic here
return `Processed: ${input.message}`;
}
}
export default MyTool;Running and Testing
Make changes to your tools or resources as needed.
Run
npm run buildto compile.Start the server with
npm start.The server will automatically load your tools and resources on startup.
Server Details
Port: 1947
Endpoint:
/mcpTransport: HTTP stream
Session management: Enabled
CORS: Enabled for all origins
Learn More
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityFmaintenanceThis server implements the Model Context Protocol to facilitate meaningful interaction and understanding development between humans and AI through structured tools and progressive interaction patterns.Last updated57
- Flicense-qualityDmaintenanceA sample implementation of Model Context Protocol server demonstrating core functionality with simple arithmetic tools and greeting resources.Last updated
- AlicenseCqualityDmaintenanceA Model Context Protocol server implementation that enables real-time data communication between web pages and client applications through WebSocket connections.Last updated21,861MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides basic tools for arithmetic operations (addition) and dynamic greeting resources, demonstrating MCP integration patterns for other projects and clients.Last updated49ISC
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol
A Model Context Protocol server for Wix AI tools
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hemanth/hello-remote-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server