We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/FreePeak/db-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
run:
timeout: 5m
allow-parallel-runners: true
skip-dirs:
- vendor
- bin
linters:
disable-all: true
enable:
- errcheck
- govet
- ineffassign
- staticcheck
- unused
- misspell
- revive
version: "2"
formatters:
enable:
- gofmt
- goimports
settings:
gofmt:
simplify: true
goimports:
local-prefixes: github.com/FreePeak/db-mcp-server
linters-settings:
govet:
revive:
rules:
- name: var-naming
severity: warning
disabled: false
- name: exported
severity: warning
disabled: false
errcheck:
# Report about not checking of errors in type assertions: `a := b.(MyStruct)`.
check-type-assertions: true
# Report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`.
check-blank: true
# List of functions to exclude from error checking (useful for os.Setenv)
exclude-functions:
- os.Setenv
issues:
exclude-use-default: false
max-issues-per-linter: 0
max-same-issues: 0
exclude-dirs:
- vendor/
exclude:
- "exported \\w+ (\\S*['.]*)([a-zA-Z'.*]*) should have comment or be unexported"
# Excluding the specific errors that are reported but that we can't reproduce locally
exclude-rules:
- path: internal/delivery/mcp/tool_registry.go
text: "Error return value of `tr.registerTool` is not checked"
- path: internal/delivery/mcp/tool_registry.go
text: "Error return value of `tr.createToolAlias` is not checked"
- path: cmd/server/main.go
text: "Error return value of `os.Setenv` is not checked"
- path: _test\.go$
linters:
- errcheck
- path: pkg/dbtools/dbtools.go
text: "func `_loadConfigFromFile` is unused"
linters:
- unused
- path: pkg/dbtools/dbtools.go
text: "func `_getEnv` is unused"
linters:
- unused
- path: pkg/dbtools/dbtools.go
text: "func `_getIntEnv` is unused"
linters:
- unused
- path: pkg/dbtools/dbtools.go
text: "func `_loadConfigFromEnv` is unused"
linters:
- unused