mocon/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 henry@mcphub.com.
The Model Context Protocol (MCP) server is a versatile tool designed to facilitate communication between different applications and services, leveraging the power of modern AI and database technologies.
Tools
1
Resources
0
Prompts
0
MCP Demo
Start local Postgres using Docker:
cd docker/postgres
docker-compose up -d
Generate Prisma client and sync schema with database:
yarn prisma:generate
yarn prisma:push
Run all applications:
yarn dev:all
MCP on stdio
Build the MCP server, and run the API it calls:
yarn build:mcp
yarn workspace api dev
Environment variables
Variable | Description |
---|---|
DATABASE_URL | Postgres database URL, used by Prisma |
OPENAI_API_KEY | OpenAI API key |
TAVILY_API_KEY | Tavily API key, for web search |
To do
- Add a Prompt to
mcp-stdio
, use it in Claude - Add a Resource list and detail
- Add a Tool that inserts a new row into the database