Skip to main content
Glama

Serena MCP Server

by lin2000wl
start_serena_test.ps11.73 kB
# Serena MCP 服务器测试脚本 Write-Host "=== Serena MCP 服务器测试 ===" -ForegroundColor Green # 设置环境变量 $env:UV_INDEX_URL = "https://mirrors.aliyun.com/pypi/simple/" Write-Host "1. 测试 Python 环境..." -ForegroundColor Yellow $pythonVersion = py -3.11 --version Write-Host "Python 版本: $pythonVersion" -ForegroundColor Cyan Write-Host "`n2. 测试 uv 包管理器..." -ForegroundColor Yellow $uvVersion = py -3.11 -m uv --version Write-Host "uv 版本: $uvVersion" -ForegroundColor Cyan Write-Host "`n3. 测试 Serena MCP 服务器..." -ForegroundColor Yellow Write-Host "正在启动 Serena MCP 服务器(测试模式)..." -ForegroundColor Cyan try { # 启动服务器并显示帮助信息 py -3.11 -m uv run serena-mcp-server --help | Select-Object -First 10 Write-Host "`n✅ Serena MCP 服务器测试成功!" -ForegroundColor Green } catch { Write-Host "`n❌ Serena MCP 服务器测试失败!" -ForegroundColor Red Write-Host "错误信息: $_" -ForegroundColor Red } Write-Host "`n4. 显示配置信息..." -ForegroundColor Yellow Write-Host "项目目录: $(Get-Location)" -ForegroundColor Cyan Write-Host "配置文件: serena_config.yml" -ForegroundColor Cyan Write-Host "Cursor 配置: cursor_mcp_config.json" -ForegroundColor Cyan Write-Host "`n=== 下一步 ===" -ForegroundColor Green Write-Host "1. 打开 Cursor IDE" -ForegroundColor White Write-Host "2. 在设置中配置 MCP 服务器" -ForegroundColor White Write-Host "3. 使用 cursor_mcp_config.json 中的配置" -ForegroundColor White Write-Host "4. 重启 Cursor 并测试 @serena 命令" -ForegroundColor White Write-Host "`n详细说明请查看: CURSOR_SETUP.md" -ForegroundColor Yellow

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/lin2000wl/Serena-cursor-mcp'

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