MCP Demo Server
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 Demo Serverlist available tools"
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 Demo
A monorepo for experimenting with the Model Context Protocol (MCP). It exposes the MindShaker Wallet API as MCP tools through a NestJS server, plus Claude clients (CLI and web) that connect to the server and call those tools. The server also includes RAG search over a local knowledge base.
Project structure
MCP-demo/
├── apps/
│ ├── mcp-server/ # NestJS app — MCP server (Wallet API + RAG + utilities)
│ └── mcp-client/ # Claude CLI + React/Express web chat client
├── libs/
│ └── api-common/ # Shared config utilities
├── docs/ # Guides (setup, RAG, deploy, Claude Desktop, …)
├── package.json
└── README.mdRelated MCP server: MCP Redirect Server
Prerequisites
Node.js 18+ (22 recommended)
npm 9+
A running MindShaker Wallet API (for Wallet tool calls)
An Anthropic API key (for either client)
For RAG: a Voyage AI API key and a vector store (Postgres + pgvector by default, or LanceDB)
Getting started
For the full walkthrough (env vars, CLI vs web, troubleshooting), see docs/getting-started.md.
Quick path from the repository root:
npm install
cp apps/mcp-server/.env.template apps/mcp-server/.env
cp apps/mcp-client/.env.template apps/mcp-client/.envmcp-server (apps/mcp-server/.env)
Variable | Description |
| MCP server port (default |
| Key required to call the MCP endpoint ( |
| Upstream Wallet API base URL |
| Wallet API key sent as |
| Voyage AI key for |
| Embedding model (default |
|
|
| Postgres connection when |
| LanceDB path/table when |
mcp-client (apps/mcp-client/.env)
Variable | Description |
| Required. Anthropic API key |
| MCP server endpoint (default |
| Must match the server's |
| Claude model (default |
| Max output tokens (default |
| Extended-thinking budget; set |
| Web UI port (default |
| Required for web client — HTTP Basic Auth |
Start the MCP server (terminal 1):
npm run start:server:devWhen ready, the server prints:
MCP server is running on port 4000
MCP endpoint: POST http://localhost:4000/mcp/v1Then start a client (terminal 2):
npm run start:client # CLI chat
npm run start:client:web # Browser UI at http://localhost:3001Scripts
Run these from the repository root:
Script | Description |
| Start the NestJS MCP server |
| Start the server with hot reload |
| Interactive Claude CLI client |
| Web chat UI (dev mode with Vite HMR) |
| Web UI serving a pre-built static bundle |
| Build the React UI |
| Build all workspaces |
| Lint TypeScript across apps and libs |
| Format TypeScript with Prettier |
| Run Jest tests |
You can also run scripts inside a single app with the -w flag:
npm run start:dev -w @mcp-demo/mcp-server
npm run ingest:knowledge -w @mcp-demo/mcp-server
npm run build -w @mcp-demo/mcp-clientApps
@mcp-demo/mcp-server
A NestJS application that exposes the MindShaker Wallet API as MCP tools over HTTP, plus RAG and date utilities.
Port:
4000(override withPORT)MCP endpoint:
POST /mcp/v1(requiresx-api-keyorAuthorization: Bearer)Source:
apps/mcp-server/src/
MCP tools
Category | Tool | Backend |
Payments |
|
|
|
| |
|
| |
|
| |
Wallets |
|
|
|
| |
|
| |
|
| |
|
| |
|
| |
Exchange rate |
|
|
|
| |
Knowledge base |
| Semantic search over local docs (RAG) |
Utilities |
| Server UTC datetime |
| Shift an ISO datetime by a duration |
Tool registration lives under apps/mcp-server/src/mcp/tools/. Each Wallet category has a matching service in apps/mcp-server/src/mcp/api/.
The search_knowledge_base tool adds Retrieval-Augmented Generation (RAG) over your own documents using LlamaIndex + Voyage AI embeddings + a vector store (Postgres + pgvector by default, or LanceDB). Configure VOYAGE_API_KEY and VECTOR_STORE, add documents under apps/mcp-server/knowledge/, then build the index:
npm run ingest:knowledge -w @mcp-demo/mcp-serverSee docs/rag-knowledge-base.md for full setup.
@mcp-demo/mcp-client
Claude clients that talk to Anthropic and expose the MCP server's tools to the model. Both connect over streamable HTTP, discover tools, and let Claude call them while you chat.
CLI:
npm run start:client— terminal chat (apps/mcp-client/src/)Web:
npm run start:client:web— React UI + Express API on port3001(apps/mcp-client/web/,apps/mcp-client/src/server.ts)Transport: Streamable HTTP to the MCP server (
MCP_SERVER_URL)
Type a message and press Enter (CLI), or open http://localhost:3001 (web; Basic Auth from .env). Type exit or press Ctrl+C to quit the CLI.
Docs
Guide | Topic |
Install, env, start server/clients | |
curl examples for the MCP HTTP API | |
Claude Desktop integration | |
RAG setup and ingestion | |
Search and chunking details | |
Postgres + pgvector schema | |
Knowledge ingestion on the server | |
Deploy with PM2 on Ubuntu |
Workspaces
This project uses npm workspaces. Dependencies are hoisted to the root node_modules/, and each app under apps/ has its own package.json.
License
ISC
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
- Alicense-qualityDmaintenanceA demonstration implementation of Model Context Protocol (MCP) using NestJS framework, allowing developers to build MCP-compatible applications with playground testing capabilities.Last updated8MIT
- Flicense-qualityDmaintenanceA Model Context Protocol server built with NestJS that provides OAuth 2.1 authentication with GitHub and exposes MCP tools through Server-Sent Events transport. Enables secure, real-time communication with JWT-based protection and dependency injection.Last updated
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server designed for learning and experimentation. It provides a foundational setup for developers to build, run, and debug MCP server implementations using Node.js.Last updated
- Alicense-qualityCmaintenanceA NestJS module for building Model Context Protocol (MCP) servers using decorators to expose services as tools, resources, and prompts. It features auto-discovery, a built-in playground UI, and support for multiple transports including SSE and Stdio.Last updated12MIT
Related MCP Connectors
MCP (Model Context Protocol) server for Appwrite
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
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/jlnovais/MCP-demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server