Skip to main content
Glama
elastic

Semantic Code Search MCP Server

Official
by elastic

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for HTTP mode (default: 3000).3000
SCS_MCP_SERVER_URLNoPublic URL of the server. Required for OAuth and non-localhost deployments.
ELASTICSEARCH_INDEXNoThe name of the Elasticsearch index to use.semantic-code-search
SCS_MCP_OAUTH_ISSUERNoOIDC issuer URL. Required when SCS_MCP_OAUTH_ENABLED=true.
ELASTICSEARCH_API_KEYNoAn API key for Elasticsearch authentication.
SCS_MCP_OAUTH_ENABLEDNoEnable OAuth 2.0 bearer token authentication (HTTP mode only).false
ELASTICSEARCH_CLOUD_IDNoThe Cloud ID for your Elastic Cloud instance.
ELASTICSEARCH_ENDPOINTNoThe Elasticsearch endpoint URL (e.g., http://localhost:9200). Alternative to ELASTICSEARCH_CLOUD_ID and ELASTICSEARCH_API_KEY.
SCS_MCP_OAUTH_AUDIENCENoExpected aud claim override. Use for Okta non-URL audiences (e.g., api://default).
SCS_MCP_OAUTH_CLIENT_IDNoClient ID for token introspection (opt-in). Requires SCS_MCP_OAUTH_CLIENT_SECRET.
SCS_MCP_OAUTH_CLIENT_SECRETNoClient secret for token introspection (opt-in).
SCS_MCP_OAUTH_REQUIRED_SCOPESNoSpace-separated scopes the server requires on every token. Minimum openid for Okta.
SCS_MCP_OAUTH_ALLOWED_CLIENT_IDSNoSpace-separated allowlist of OAuth client IDs. Empty = any client from the issuer.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/elastic/semantic-code-search-mcp-server'

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