mcp function app tester
A TypeScript-based MCP server that enables interaction with Azure Table Storage directly through Cline. This tool allows you to query and manage data in Azure Storage Tables.
A TypeScript-based MCP server that enables interaction with Azure Table Storage directly through Cline. This tool allows you to query and manage data in Azure Storage Tables.
x000D
x000D
A TypeScript-based MCP server that enables testing of Azure Function Apps through Cline. This tool allows you to test and interact with Function App endpoints directly from your development environment.x000D
x000D
x000D
x000D
x000D
x000D
x000D
bash_x000D_
npm install dkmaker-mcp-function-app-tester_x000D_
x000D
x000D
x000D - Test Function App endpoints with different HTTP methods_x000D_ - Support for GET, POST, PUT, and DELETE requests_x000D_ - Detailed response information_x000D_ - Custom header support_x000D_ - Request body handling for POST/PUT methods_x000D_ - Authentication support:x000D - Basic Authentication (username/password)x000D - Bearer Token Authentication_x000D_ - API Key Authentication (custom header)x000D x000D
x000D The server supports two authentication methods that can be configured via environment variables:x000D x000D
Set both environment variables to enable Basic Authentication:x000D
bash_x000D_
AUTH_BASIC_USERNAME=your-username_x000D_
AUTH_BASIC_PASSWORD=your-password_x000D_
x000D
x000D
Set this environment variable to enable Bearer Token authentication:x000D
bash_x000D_
AUTH_BEARER=your-token_x000D_
x000D
x000D
Set both environment variables to enable API Key authentication:x000D
bash_x000D_
AUTH_APIKEY_HEADER_NAME=X-API-Key # The header name to use (e.g., X-API-Key, api-key, etc.)_x000D_
AUTH_APIKEY_VALUE=your-api-key # The actual API key value_x000D_
x000D
x000D
Note: Authentication precedence order:x000D
1. Basic Authentication (if username and password are set)x000D
2. Bearer Token (if token is set and Basic Auth is not configured)x000D
3. API Key (if header name and value are set, and no other auth is configured)x000D
x000D
x000D
Once installed, you can use the Function App Tester through Cline. The server provides tools to test endpoints at the base URL: http://localhost:7071/api
x000D
x000D
Example usage:x000D
x000D
typescript_x000D_
// Test a GET endpoint_x000D_
{_x000D_
"method": "GET",_x000D_
"endpoint": "/users"_x000D_
}_x000D_
_x000D_
// Test a POST endpoint with body_x000D_
{_x000D_
"method": "POST",_x000D_
"endpoint": "/users",_x000D_
"body": {_x000D_
"name": "John Doe",_x000D_
"email": "[email protected]"_x000D_
}_x000D_
}_x000D_
_x000D_
// Test with custom headers_x000D_
{_x000D_
"method": "GET",_x000D_
"endpoint": "/secure/data",_x000D_
"headers": {_x000D_
"Authorization": "Bearer token123"_x000D_
}_x000D_
}_x000D_
x000D
x000D
x000D
1. Clone the repository:x000D
bash_x000D_
git clone https://github.com/dkmaker/mcp-function-app-tester.git_x000D_
cd mcp-function-app-tester_x000D_
x000D
x000D
2. Install dependencies:x000D
bash_x000D_
npm install_x000D_
x000D
x000D
3. Build the project:x000D
bash_x000D_
npm run build_x000D_
x000D
x000D
For development with auto-rebuild:x000D
bash_x000D_
npm run watch_x000D_
x000D
x000D
x000D This project is licensed under the MIT License - see the LICENSE file for details.x000D