Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SHELV_API_KEYYesAPI key for Shelv shelf operations. Required for stdio mode or as a fallback in HTTP mode.
SHELV_MCP_HTTP_HOSTNoThe host address to bind for HTTP transport. Defaults to 127.0.0.1.127.0.0.1
SHELV_MCP_HTTP_PORTNoThe port to bind for HTTP transport. Defaults to 3334.3334
SHELV_MCP_TRANSPORTNoMCP transport protocol to use (stdio or http). Defaults to stdio.stdio
SHELV_MCP_READ_MAX_BYTESNoThe maximum number of bytes to read from a single file. Defaults to 250000.250000
SHELV_MCP_SEARCH_MAX_BYTESNoThe maximum number of total bytes for a search operation. Defaults to 5000000.5000000
SHELV_MCP_SEARCH_MAX_FILESNoThe maximum number of files to include in a search. Defaults to 500.500
SHELV_MCP_ENABLE_WRITE_TOOLSNoSet to 'true' to enable tools like create_shelf and hydrate_shelf.
SHELV_MCP_SEARCH_MAX_MATCHESNoThe maximum number of matches to return in a search. Defaults to 200.200

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_shelves

List shelves available to the authenticated user

get_shelf_tree

Get the full file tree and file contents for a shelf

read_shelf_file

Read a single file from a shelf

search_shelf

Search for text across files in a shelf

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/shelv-dev/shelv-mcp'

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