Demo MCP server
by up1
A demo MCP server that can be run with mcphost. It uses curl and retrieves data from a database.
Last updated: N/A
What is Demo MCP server?
This is a demo MCP (Model Control Plane) server built with Go. It's designed to be used with mcphost to interact with LLM providers.
How to use Demo MCP server?
- Build the docker image using
docker compose build
. 2. Install mcphost usinggo install github.com/mark3labs/mcphost@latest
. 3. Set the Anthropic API key usingexport ANTHROPIC_API_KEY='your-api-key'
. 4. Start the server withmcphost --config ./mcp-server.json
.
Key features of Demo MCP server
Uses curl
Retrieves data from a database
Integrates with Anthropic LLM provider
Can be run with mcphost
Dockerized
Use cases of Demo MCP server
Demonstrating MCP server functionality
Testing mcphost integration
Experimenting with LLM providers
Building custom tools for interacting with LLMs
FAQ from Demo MCP server
What is MCP?
What is MCP?
MCP stands for Model Control Plane. It's a system for managing and controlling access to machine learning models.
What is mcphost?
What is mcphost?
mcphost is a tool that helps run and manage MCP servers.
Which LLM provider is supported?
Which LLM provider is supported?
The demo server supports Anthropic.
How do I set the API key?
How do I set the API key?
You need to set the ANTHROPIC_API_KEY
environment variable.
Where can I find the mcp-server.json
config file?
Where can I find the mcp-server.json
config file?
The README doesn't provide the location, you might need to check the repository for it.