Demo MCP server
Description
# Demo MCP server * My MCP server * curl * get data from database * [MCPHost](https://github.com/mark3labs/mcphost) ## Build docker image ``` $docker compose build ``` ## Run MCP Server with mcphost Install mcphost ``` $go install github.com/mark3labs/mcphost@latest ``` Start…
About
# Demo MCP server * My MCP server * curl * get data from database * [MCPHost](https://github.com/mark3labs/mcphost) ## Build docker image ``` $docker compose build ``` ## Run MCP Server with mcphost Install mcphost ``` $go install github.com/mark3labs/mcphost@latest ``` Start server with LLM provider * Anthropic ```…
Details
- Author
- up1
- Downloads
- 317
- Categories
- Other
Jump to
- Curl for HTTP requests
- Database data retrieval
- Docker containerized setup
- Integrates with MCPHost
- Supports Anthropic LLM provider
Build the Docker image with docker compose build, then install MCPHost (go install github.com/mark3labs/mcphost@latest), set the ANTHROPIC_API_KEY environment variable, and launch the server using mcphost --config ./mcp-server.json.
Demo MCP server
My MCP server curl get data from database MCPHostBuild docker image
$docker compose build
Run MCP Server with mcphost
Install mcphost
$go install github.com/mark3labs/mcphost@latest
Start server with LLM provider
- Anthropic
$export ANTHROPIC_API_KEY='your-api-key'
$mcphost --config ./mcp-server.json
2025/02/18 23:50:07 INFO Model loaded provider=anthropic model=claude-3-5-sonnet-latest
2025/02/18 23:50:07 INFO Initializing server... name=mcp-calculator-with-docker
2025/02/18 23:50:09 INFO Server connected name=mcp-calculator-with-docker
2025/02/18 23:50:09 INFO Tools loaded server=mcp-calculator-with-docker count=1
┃ Enter your prompt (Type /help for commands, Ctrl+C to quit)
┃
┃
┃
┃
┃
┃
alt+enter / ctrl+j new line • ctrl+e open editor • enter submit
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



