Skip to main content
Glama

Code Reference Optimizer MCP Server

by FosterG4

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoThe logging level for the server

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
extract_code_context

Extract minimal code context from files using AST parsing

get_cached_context

Retrieve cached code context for a file

analyze_code_diff

Analyze differences between code versions and provide minimal updates

optimize_imports

Analyze and optimize import statements to reduce redundancy

get_config

Get current configuration settings

update_config

Update configuration settings

reset_config

Reset configuration to default values

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/FosterG4/mcpsaver'

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