Skip to main content
Glama

get_config

Retrieve the current configuration settings from the ~/.prompte/config.json file to access prompt enhancement preferences and optimization parameters.

Instructions

Read the current ~/.prompte/config.json

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The 'get_config' tool handler inside the MCP server's dispatch function.
    case 'get_config': {
      return getConfig();
    }
  • The core implementation that reads and returns the configuration JSON.
    export function getConfig() {
      const stored = readJSON(CONFIG_FILE);
      return { ...DEFAULT_CONFIG, ...stored };
    }

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/AlanRoybal/prompte-mcp'

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