APINow.fun MCP Integration

Connect AI assistants like Cursor and Claude Desktop to the APINow.fun API marketplace using the Model Control Protocol (MCP).

View MCP Server on GitHub

Overview

The Model Control Protocol (MCP) allows AI models to interact with external tools and services. Our MCP server acts as a bridge, enabling your AI assistant (like Cursor or Claude Desktop) to:

  • Discover available APIs on the APINow.fun marketplace.
  • Execute these APIs using natural language requests.
  • Pay for API usage directly from your configured wallet.

By connecting to our MCP server, you equip your AI with the ability to search and run any API listed on APINow.fun, turning your assistant into a powerful tool integrator.

Integration Guide

Follow these steps to connect your MCP client (e.g., Cursor) to the APINow.fun MCP server.

1. Clone the MCP Server Repository

First, clone the APINow.fun MCP server repository to your local machine. This server will run locally and handle communication between your AI assistant and APINow.fun.

git clone https://github.com/1dolinski/apnow-fun-mcp.git
cd apnow-fun-mcp
npm install

Ensure you have Node.js and npm installed.

2. Configure Your MCP Client

Add the following configuration to your MCP client's settings file. For Cursor, this is typically located at ~/.cursor/mcp.json.

{
  "mcpServers": {
    "apinow-fun-mcp": {
      "command": "node",
      "args": [
        "/path/to/your/clone/src/server.js"
      ],
      "env": {
        "APINOW_WALLET_PKEY": "YOUR_APINOW_WALLET_PRIVATE_KEY"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Important:

  • Update the args path to point to the server.js file within your cloned repository directory.
  • Replace YOUR_APINOW_WALLET_PRIVATE_KEY with the private key of the wallet you want to use for API payments.
  • For security, it's highly recommended to create a new, separate wallet specifically for use with this MCP server and fund it with only the necessary amount for expected API calls. Never expose your primary wallet's private key.

3. Start the Local MCP Server

Navigate to the cloned repository directory in your terminal and start the server:

npm start

Leave this terminal window running. Your MCP client (Cursor, etc.) should now automatically connect to this local server and gain access to the APINow.fun tools.

4. Use the Tools

You can now ask your AI assistant to use the APINow tools. For example:

  • "Search APINow for weather APIs"
  • "Execute the 'get-crypto-price' endpoint on APINow with symbol 'ETH'"

Refer to the "Available APIs" section below for the specific tool names and functionalities.

Available Tools

The MCP server provides the following tools to your AI assistant:

`apinow_search`

Searches the APINow.fun marketplace for endpoints using natural language queries.

Example Usage: "Use apinow_search to find APIs related to image generation."

`apinow_execute`

Executes a specific APINow.fun endpoint by its namespace and name, or by its full URL. Handles payment using the configured wallet private key.

Example Usage: "Use apinow_execute for namespace 'web3' and endpoint 'get-token-balance' with address '0x...' on chain 'base'."

Your AI assistant will determine which tool to use based on your request. You typically don't need to specify the tool name explicitly unless you want to be very precise.

Community & Support

Need help or want to connect with other users? Join our community channels: