pidhornyidanylo/mcp-demo
3.2
If you are the rightful owner of mcp-demo 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.
This document provides a comprehensive overview of a full stack MCP server simulator, detailing its components, features, and usage.
Tools
1
Resources
0
Prompts
0
About
Full stack MCP server simulator.
Tools
backend: NestJS (localhost:8080) frontend: Next.JS (localhost:3000) mcp server: Express + TS (localhost:4001) db: PostgreSql + Prisma (localhost:5432)
Install & launch
For smooth and quick launch use Docker (if available):
- Open terminal from the root folder of the app
- Run command docker compose up (docker compose up -d)
- You are ready to start. Running apps are on ports above
App flow
- Open frontend app -> you see a list of 14 available tools (sidebar)
- Click on any tool (let's choose "changeSlackStatus" for the test)
- Click Invoke Tool tab
- You will see a list of expected arguments for the current tool ("status" for "changeSlackStatus").
- Action will change your current Slack status to the one you passed as an argument.
- Fill in textarea value with (JSON): { "status": "touching grass 🎋" }
- Hit Invoke Tool button
- Open Activity Log tab -> you will see your last tool invoke at the top and the status at the right
- Click on "changeSlackStatus" to see details
- In case of error tool invoke status would be Error
- To clear invokes history hit Clear button
DB
Tool invokes history is saved to db. To view:
- Open new terminal
- docker exec -it mcp_postgres psql -U user -d mcp_db
- \dt
- SELECT * FROM tool_invokes;