Skip to main content
Glama
liliangshan

mcp-server-apidebug

by liliangshan

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CONFIG_DIRNoOptional config directory override; generally not needed. When not set, uses `PROJECT_PATH/.setting/{TOOL_PREFIX}`.
TOOL_PREFIXNoTool name prefix; default tools are `default_api_debug`, `default_api_config`, etc.default
PROJECT_PATHNoProject directory; uses current directory when not set..
API_DEBUG_BASE_URLNoAPI base URL; when configured, no need to set `baseUrl` via `api_config`.
API_DEBUG_LOGIN_URLNoLogin API URL./api/login
API_DEBUG_LOGIN_BODYNoLogin request body, supports JSON string or plain string.{"username":"","password":""}
API_DEBUG_LOGIN_METHODNoLogin API method.POST
API_DEBUG_ALLOWED_METHODSNoAllowed HTTP methods, comma-separated.GET,POST,PUT,DELETE,PATCH
API_DEBUG_LOGIN_DESCRIPTIONNoLogin tool description.
API_DEBUG_LOGIN_USER_HEADERNoHeader name for user ID (extracted from login response).new-api-user

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
default_api_loginA

API login authentication tool that uses environment variables for login credentials. Automatically extracts token from response and updates Authorization headers. Example: Call with optional baseUrl parameter to override default base URL

default_api_debugA

API debugging tool for directly executing API requests with automatic content-type detection and flexible body format support. Examples: GET /api/users with query params, POST /api/login with JSON body {"username":"admin","password":"123456"}, PUT /api/users/123 with form data "name=John&email=john@example.com"

default_api_helpA

API help tool that provides detailed documentation and examples for all API debugging tools. Use this to understand how to use api_debug, api_login, api_config, and api_execute tools effectively

default_api_executeA

Execute API requests by index from configured API list. Examples: execute API at index 0, execute with overrides {"method":"POST","body":{"key":"value"}}

default_api_configB

API configuration management tool for managing API settings, endpoints, and configurations. Examples: get config, set baseUrl to "https://api.example.com", updateHeaders with {"Authorization":"Bearer token"}, search APIs by keyword, list all configured APIs

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/liliangshan/mcp-server-apidebug'

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