init.go 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package sqlite
  2. import (
  3. _ "embed"
  4. "github.com/labring/aiproxy/core/model"
  5. mcpservers "github.com/labring/aiproxy/mcp-servers"
  6. )
  7. //go:embed README.md
  8. var readme string
  9. //go:embed README.cn.md
  10. var readmeCN string
  11. // need import in mcpregister/init.go
  12. func init() {
  13. mcpservers.Register(
  14. mcpservers.NewMcp(
  15. "sqlite",
  16. "SQLite",
  17. model.PublicMCPTypeDocs,
  18. mcpservers.WithNameCN("SQLite"),
  19. mcpservers.WithTags([]string{"database"}),
  20. mcpservers.WithGitHubURL(
  21. "https://github.com/modelcontextprotocol/servers-archived/tree/main/src/sqlite",
  22. ),
  23. mcpservers.WithDescription(
  24. "A Model Context Protocol (MCP) server implementation that provides database interaction and business intelligence features through SQLite. The server supports running SQL queries, analyzing business data, and automatically generating business insight memos.",
  25. ),
  26. mcpservers.WithDescriptionCN(
  27. "一种模型上下文协议(MCP)服务器实现,通过SQLite提供数据库交互和商业智能功能。该服务器支持运行SQL查询、分析业务数据以及自动生成业务洞察备忘录。",
  28. ),
  29. mcpservers.WithReadme(readme),
  30. mcpservers.WithReadmeCN(readmeCN),
  31. ),
  32. )
  33. }