Skip to main content
Glama
Hqzdev

Lens-MCP

by Hqzdev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LENS_SCHEMA_NAMENoSchema used by introspection and table samplespublic
LENS_DATABASE_URLYesPostgres connection URL
LENS_MAX_ROW_LIMITNoMaximum allowed limit1000
LENS_ALLOWED_TABLESYesComma-separated allow-list such as public.customers,public.orders
LENS_DEFAULT_ROW_LIMITNoLimit added when a query has no limit100
LENS_STATEMENT_TIMEOUT_MSNoPostgres statement timeout5000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tablesD
describe_tableD
sample_tableD
queryD

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/Hqzdev/Lens-MCP'

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