Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_CNES_BASE_URLNoBase URL for ElastiCNES.
MCP_CNES_DATA_DIRNoDirectory for downloaded data.downloads
MCP_CNES_MAX_BEDSNoMaximum number of beds for filtering.150
MCP_CNES_MIN_BEDSNoMinimum number of beds for filtering.50
MCP_CNES_MAX_DELAYNoMaximum delay between requests.
MCP_CNES_MIN_DELAYNoMinimum delay between requests.
MCP_CNES_COMPETENCENoCompetence (competência) for CNES data.202512
MCP_CNES_KIBANA_APINoKibana API endpoint.
MCP_CNES_OUTPUT_DIRNoDirectory for output files..
MCP_CNES_MAX_RETRIESNoMaximum number of retries.
MCP_CNES_RETRY_DELAYNoDelay between retries.
MCP_CNES_DASHBOARD_URLNoDashboard URL.
MCP_CNES_TARGET_CITIESNoJSON object with regions and cities.
MCP_CNES_REQUEST_TIMEOUTNoRequest timeout in seconds.60
MCP_CNES_BROWSER_TIMEOUT_MSNoBrowser timeout in milliseconds.60000
MCP_CNES_DIRECTOR_CBO_CODESNoComma-separated CBO codes for directors.
MCP_CNES_PRIVATE_NATURE_CODESNoComma-separated codes for private nature.

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
cnes_load_dataA

Carrega e consolida atomicamente um CSV exportado do CNES.

cnes_search_municipioA

Busca estabelecimentos por município e faixa opcional de leitos.

cnes_search_cnesA

Busca um estabelecimento pelo código CNES de sete dígitos.

cnes_search_ufB

Busca estabelecimentos por UF e faixa opcional de leitos.

cnes_statisticsA

Retorna estatísticas dos dados atualmente carregados.

cnes_download_instructionsA

Explica como obter um CSV no dashboard oficial do CNES.

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/kevyn-castelo/mcp-cnes'

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