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 an interactive Claude CLI client that connects to the server and calls those tools.
Project structure
MCP-demo/
├── apps/
│ ├── mcp-server/ # NestJS app — MCP server (Wallet API tools)
│ └── mcp-client/ # Interactive Claude CLI client (MCP tool support)
├── libs/
│ └── api-common/ # Shared config utilities
├── docs/ # Testing and integration guides
├── package.json
└── README.mdRelated MCP server: MCP Redirect Server
Prerequisites
Node.js 18+ (22 recommended)
npm 9+
A running MindShaker Wallet API (for tool calls that hit the upstream API)
Getting started
Install dependencies from the repository root:
npm installCopy and configure environment variables:
cp apps/mcp-server/.env.template apps/mcp-server/.envVariable | Description |
| MCP server port (default |
| Key required to call the MCP endpoint ( |
| Upstream Wallet API base URL (default |
| Wallet API key sent as |
| Voyage AI key for the RAG |
Start the MCP server:
npm run start:server:devWhen ready, the server prints:
MCP server is running on port 4000
MCP endpoint: POST http://localhost:4000/mcp/v1Scripts
Run these from the repository root:
Script | Description |
| Start the NestJS MCP server |
| Start the server with hot reload |
| Run the interactive Claude CLI client |
| Build all workspaces |
| Lint TypeScript across apps and libs |
| Format TypeScript with Prettier |
You can also run scripts inside a single app with the -w flag:
npm run start:dev -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.
Port:
4000(override withPORT)MCP endpoint:
POST /mcp/v1(requiresx-api-keyorAuthorization: Bearer)Source:
apps/mcp-server/src/
MCP tools
Category | Tool | Wallet API |
Payments |
|
|
|
| |
|
| |
|
| |
Wallets |
|
|
|
| |
|
| |
|
| |
|
| |
|
| |
Exchange rate |
|
|
|
| |
Knowledge base |
| Semantic search over local docs (RAG) |
Tool registration lives under apps/mcp-server/src/mcp/tools/. Each 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 local LanceDB vector store. Configure VOYAGE_API_KEY, add documents under apps/mcp-server/knowledge/, then build the index with npm run ingest:knowledge -w @mcp-demo/mcp-server. See docs/rag-knowledge-base.md for full setup.
See docs/testing-mcp-endpoint.md for curl examples and docs/claude-desktop.md for Claude Desktop integration.
@mcp-demo/mcp-client
An interactive command-line chat client that talks to Claude and exposes the MCP server's tools to the model. It connects to the MCP server over streamable HTTP, discovers the available tools, and lets Claude call them automatically while you chat in the terminal.
Source:
apps/mcp-client/src/Transport: Streamable HTTP to the MCP server (
MCP_SERVER_URL, defaulthttp://127.0.0.1:4000/mcp/v1)
Configure environment variables:
cp apps/mcp-client/.env.template apps/mcp-client/.envVariable | Description |
| Required. Anthropic API key (console) |
| MCP server endpoint (default |
| Must match the MCP server's |
| Claude model to use (default |
With the MCP server running, start the client:
npm run start:clientType a message and press Enter to chat. Type exit or press Ctrl+C to quit.
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.
Latest Blog Posts
- 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