main.go 556 B

123456789101112131415161718192021
  1. package microsoftdocs
  2. import (
  3. "github.com/labring/aiproxy/core/model"
  4. mcpservers "github.com/labring/aiproxy/mcp-servers"
  5. )
  6. const defaultURL = "https://learn.microsoft.com/api/mcp"
  7. var configTemplates = mcpservers.ProxyConfigTemplates{
  8. "url": {
  9. ConfigTemplate: mcpservers.ConfigTemplate{
  10. Name: "URL",
  11. Required: mcpservers.ConfigRequiredTypeInitOptional,
  12. Example: defaultURL,
  13. Default: defaultURL,
  14. Description: "The Streamable http URL of the Microsoft Learn Docs MCP server",
  15. },
  16. Type: model.ParamTypeURL,
  17. },
  18. }