Skip to main content
Glama

MCP Demo Server

by keosu
start_demo.ps11.69 kB
# MCP 演示项目 - 快速启动脚本 Write-Host "==========================================" -ForegroundColor Green Write-Host "🚀 MCP 演示项目 - 选择启动版本" -ForegroundColor Green Write-Host "==========================================" -ForegroundColor Green Write-Host "" Write-Host "📋 可用版本:" -ForegroundColor Yellow Write-Host " 1. FastAPI版本 (概念演示) - HTTP RESTful API" -ForegroundColor White Write-Host " 🔧 特点: 简单易懂、有Web界面、学习友好" -ForegroundColor Gray Write-Host " 🌐 访问: http://localhost:8000/docs" -ForegroundColor Gray Write-Host "" Write-Host " 2. MCP SDK版本 (官方实现) - 真正的MCP协议" -ForegroundColor White Write-Host " 🚀 特点: 官方协议、Claude Desktop兼容" -ForegroundColor Gray Write-Host " 🔌 支持: 真正的MCP客户端连接" -ForegroundColor Gray Write-Host "" $choice = Read-Host "请选择版本 (1 或 2)" switch ($choice) { "1" { Write-Host "" Write-Host "🔧 启动 FastAPI 版本..." -ForegroundColor Cyan Write-Host "正在进入 mcp_fastapi_demo 目录..." -ForegroundColor Yellow Set-Location "mcp_fastapi_demo" & ".\setup_and_run.ps1" break } "2" { Write-Host "" Write-Host "🚀 启动 MCP SDK 版本..." -ForegroundColor Cyan Write-Host "正在进入 mcp_sdk_demo 目录..." -ForegroundColor Yellow Set-Location "mcp_sdk_demo" & ".\start_mcp_sdk.ps1" break } default { Write-Host "" Write-Host "❌ 无效选择,请输入 1 或 2" -ForegroundColor Red Read-Host "按回车键退出" } }

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/keosu/mcpdemo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server