mcp-server-apidebug
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CONFIG_DIR | No | Optional config directory override; generally not needed. When not set, uses `PROJECT_PATH/.setting/{TOOL_PREFIX}`. | |
| TOOL_PREFIX | No | Tool name prefix; default tools are `default_api_debug`, `default_api_config`, etc. | default |
| PROJECT_PATH | No | Project directory; uses current directory when not set. | . |
| API_DEBUG_BASE_URL | No | API base URL; when configured, no need to set `baseUrl` via `api_config`. | |
| API_DEBUG_LOGIN_URL | No | Login API URL. | /api/login |
| API_DEBUG_LOGIN_BODY | No | Login request body, supports JSON string or plain string. | {"username":"","password":""} |
| API_DEBUG_LOGIN_METHOD | No | Login API method. | POST |
| API_DEBUG_ALLOWED_METHODS | No | Allowed HTTP methods, comma-separated. | GET,POST,PUT,DELETE,PATCH |
| API_DEBUG_LOGIN_DESCRIPTION | No | Login tool description. | |
| API_DEBUG_LOGIN_USER_HEADER | No | Header name for user ID (extracted from login response). | new-api-user |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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