npm meta-api-mcp-serverstdioupdated 0y ago
A meta API Gateway server that works with the Model Context Protocol (MCP). You can connect any API to LLMs (Claude, GPT, etc.) through MCP. This enables AI assistants to interact directly with APIs and access real-world data sources.
What can you do with meta api mcp server?
Meta API MCP Server
A meta API Gateway server that works with the Model Context Protocol (MCP). You can connect any API to LLMs (Claude, GPT, etc.) through MCP. This enables AI assistants to interact directly with APIs and access real-world data sources.
Features
- π Multi-API support: Manage multiple APIs through a single server
- π οΈ Easily add APIs with JSON configuration files
- π Automatically convert Postman Collections to MCP tools
- π Comprehensive support for HTTP APIs (GET, POST, PUT, DELETE, PATCH)
- π Various authentication methods (API Key, Bearer Token)
- π Load configurations from local files or remote URLs
- π Support for configuration file lists
API Editor Tool
A user-friendly editor tool has been developed to create or edit JSON configuration files:
Installation
Global Installation with NPM (Recommended)
npm install -g meta-api-mcp-server
Installation from Source Code
git clone https://github.com/savhascelik/meta-api-mcp-server.git
cd meta-api-mcp-server
npm install
Usage
As a Command Line Tool
# Load from default api-configs/ folder
meta-api-mcp-server
# Specify a configuration file (in the directory where you run the server, there should be a folder with this name and structured json in it)
meta-api-mcp-server path/to/config.json
# Load from a specific folder
meta-api-mcp-server path/to/configs/
# Load from a remote URL
meta-api-mcp-server https://example.com/api-config.json
# Load from a remote configuration list
meta-api-mcp-server https://example.com/config-list.json
# Load from a Postman Collection ( your filename must contain the word βpostmanβ, I'll bind it to a variable when I have time )
meta-api-mcp-server path/to/My-API.postman_collection.json
Using with Cursor or Other MCP Clients
To connect to an MCP client like Cursor, configure your mcp.json file as follows:
{
"mcpServers": {
"myApiServer": {
"command": "meta-api-mcp-server",
"args": [
],
"env": {
"MCP_CONFIG_SOURCE":"api-configs/flexweather-endpoints.json",
"API_KEY": "your-api-key-here"
}
}
}
}
{
"mcpServers": {
"myApiServer": {
"command": "meta-api-mcp-server",
"args": [
"server.js",
"path/to/api-config.json"
],
"env": {
"EXAMPLE_API_KEY": "your-api-key-here"
}
}
}
}
{
"mcpServers": {
"flexweather": {
"command": "node",
"args": [
"server.js"
],
"env": {
"MCP_CONFIG_SOURCE":"api-configs/flexweather-endpoints.json"
}
}
}
}
{
"mcpServers": {
"lemonsqueezy": {
"command": "node",
"args": [
"server.js"
],
"env": {
"MCP_CONFIG_SOURCE":"api-configs/lemon-squeezy-api.json",
"LEMON_SQUEEZY_API_KEY": ""
}
}
}
}
Postman Collection Conversion
Using your existing Postman collections with Meta API MCP Server is now very easy! You can use hundreds of ready-made APIs without writing a single line of code.
- Export your Postman collection (in v2.1.0 format)
- Start Meta API MCP Server with the collection file:
meta-mcp my-collection.postman_collection.json
-
The server will automatically:
- Analyze all endpoints
- Detect the authentication method
- Extract path/query parameters
- Analyze request body structure
- Create MCP tools
-
Add your API key to the
.envfile (the server will tell you which environment variable to use)
Supported Postman Collection Features
- β Multi-level folder structure
- β Bearer token authentication
- β API Key authentication
- β Path parameters
- β Query parameters
- β Headers
- β JSON request body
- β Postman variables (like {{api_url}})
API Editor Tool
A user-friendly editor tool has been developed to create or edit JSON configuration files:
With this web tool, you can:
- Create API configurations through a visual interface
- Edit existing JSON configurations
- Convert Postman collections to MCP-compatible configuration files
- Validate configuration files
- Export your configurations as JSON
Postman Collections: You can upload your existing Postman collections to the editor tool and automatically convert them to MCP-compatible configurations. This allows you to quickly use your existing collections instead of configuring APIs from scratch.
The editor makes it easy to manage tool names, parameters, and all other configuration options.
Project Structure
The codebase is organized in a modular way to facilitate maintenance and extension:
meta-api-mcp-server/
βββ serve.js
βββ api-configs/ # Default config directory
βββ package.json
API Configuration File Format
You can manually configure APIs using the following JSON format:
{
"apiId": "my-api",
"handlerType": "httpApi",
"baseUrl": "https://api.example.com",
"authentication": {
"type": "bearerToken",
"envVariable": "MY_API_TOKEN"
},
"endpoints": [
{
"mcpOperationId": "getUsers",
"description": "Get a list of users",
"targetPath": "/users",
"targetMethod": "GET",
"parameters": [
{
"name": "page",
"in": "query",
"required": false,
"type": "integer",
"description": "Page number"
}
]
}
]
}
License
MIT
Install
Add meta api mcp server to your client. Pick the one you use.
claude mcp add meta-api-mcp-server -- npx -y meta-api-mcp-servercodex mcp add meta-api-mcp-server -- npx -y meta-api-mcp-serveramp mcp add meta-api-mcp-server -- npx -y meta-api-mcp-server{
"mcpServers": {
"meta-api-mcp-server": {
"command": "npx",
"args": [
"-y",
"meta-api-mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"meta-api-mcp-server": {
"command": "npx",
"args": [
"-y",
"meta-api-mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"meta-api-mcp-server","command":"npx","args":["-y","meta-api-mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"meta-api-mcp-server": {
"command": "npx",
"args": [
"-y",
"meta-api-mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"meta-api-mcp-server": {
"command": "npx",
"args": [
"-y",
"meta-api-mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"meta-api-mcp-server": {
"command": "npx",
"args": [
"-y",
"meta-api-mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"meta-api-mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"meta-api-mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"meta-api-mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"meta-api-mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y meta-api-mcp-serverRun `goose configure`, choose **Add Extension β Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance9/25
- Trust6/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 357 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint β no local install
Version history
| Versions | Published |
|---|---|
| 1.0.1Latest | Sep 9, 2025 |
| 1.0.0 | Sep 9, 2025 |