API Wrapper MCP Server
@gomcpgo
Create MCP server for any API
Overview
What is API Wrapper MCP Server?
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.
How to use API Wrapper MCP Server?
Create a YAML configuration file defining your API endpoints, set any required API tokens as environment variables, then run the server with your config file (./api_wrapper my-apis.yaml). For Claude Desktop, add the server to your claude_desktop_config.json.
Key features of API Wrapper MCP Server
- 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
Use cases of API Wrapper MCP Server
- Wrap existing REST APIs as MCP tools for Claude and other MCP clients
- Quickly create custom MCP tools without writing server code
- Expose multiple API endpoints through a single MCP server
FAQ from API Wrapper MCP Server
How do I configure API endpoints?
Create a YAML file with tool definitions, each specifying a name, description, endpoint URL, HTTP method, timeout, and parameters with types and defaults.
How does authentication work?
Set the main authentication token using the environment variable specified in the auth.token_env_var field. You can also reference other environment variables in templates with {{env:VARIABLE_NAME}}.
How do I integrate with Claude Desktop?
Add the server to your claude_desktop_config.json with the command, arguments (your config file path), and any required environment variables.
What HTTP methods are supported?
Both GET and POST requests are supported. For GET requests, use query_params; for POST, use a template for the request body.
Are there example configurations?
Yes, an example-config.yaml file is provided with sample API configurations.