Votars-MCP:多语言支持的MCP服务器
为Votars AI平台提供多语言实现的MCP工具,目前支持Go语言。
快速入门
安装
使用 Smithery 安装
运行以下命令以通过 Smithery 自动安装: npx -y @smithery/cli install @scarletlabs-ai/votars-mcp --client claude
手动安装
使用以下命令手动安装 Go 版本: go install github.com/scarletlabs-ai/Votars-MCP/go/votars-mcp@latest
使用方法
启动服务
运行以下命令启动 MCP 服务: votars-mcp -t sse -p 8080
SSE 模式
创建配置文件 mcp.config.json:
{
"mcpServers": {
"Votars MCP": {
"type": "sse",
"url": "http://0.0.0.0:8080/sse",
"headers": {
"Authorization": "Bearer
Stdio 模式
配置示例:
{
"mcpServers": {
"Votars MCP Stdio": {
"type": "stdio",
"command": "votars-mcp",
"args": ["-t", "stdio"],
"env": {
"VOTARS_API_KEY": "
获取 API 密钥
- 注册并登录 Votars.AI。
- 在工作区设置中生成 API 密钥。