API Wrapper MCP Server

by gomcpgo

293 downloads Not rated yet

About

API Wrapper MCP Server is a generic server for the Model Context Protocol (MCP) that allows you to easily wrap REST APIs as MCP tools. These tools can be accessed by Claude and other MCP clients.

Explore

- Easy YAML configuration for multiple API endpoints
- Support for both GET and POST requests
- Parameter validation and default values
- Authentication via environment variables
- Custom timeouts for API calls

Usage

1. Create a YAML configuration file defining your API endpoints (see example-config.yaml)
2. Set any required API tokens as environment variables
3. Run the server with your config file:

```bash

tools:
- name: "tool-name"
description: "Tool description"
endpoint: "https://api.example.com/endpoint"
method: "POST" # or "GET"
timeout: 30 # in seconds
template: |
{
"param1": "{{variable1}}",
"param2": {{variable2}}
}

This is a generic API wrapper server for the Model Context Protocol (MCP). It allows you to easily wrap REST APIs as MCP tools that can be accessed by Claude and other MCP clients.

Features

- Easy YAML configuration for multiple API endpoints
- Support for both GET and POST requests
- Parameter validation and default values
- Authentication via environment variables
- Custom timeouts for API calls

Usage

1. Create a YAML configuration file defining your API endpoints (see example-config.yaml)
2. Set any required API tokens as environment variables
3. Run the server with your config file:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.