API.market 标志

API.market

组织
Noveum

API Market MCP Servers

发布者Noveum
代码仓库api-market-mcp-server
语言TypeScript
复刻数
1
星标数
4
可用工具
34
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    API.market 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 34 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 4 个 Star 和 1 个 Fork。

API-MARKET MCP Server

About

A Model Context Protocol (MCP) server that exposes API-Market's endpoints as MCP resources. This server allows Large Language Models to discover and interact with APIs defined by OpenAPI specifications through the MCP protocol.
This repository provides access to the APIs available at API.market. The tool is free to use and allows agents to communicate freely with all available APIs, making it super powerful. With over 200+ APIs available at API.market, you can leverage a wide range of functionalities.

Quick Start

You do not need to clone this repository to use this MCP server. You can simply configure it in your client of choice.

For Claude Desktop

  1. Locate or create your Claude Desktop configuration file:
    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add the following configuration to enable the API-Market MCP server:
    json
    {
      "mcpServers": {
        "api-market": {
          "command": "npx",
          "args": ["-y", "@noveum-ai/mcp-server"],
          "env": {
            "API_HEADERS": "x-magicapi-key:your-api-key"
          }
        }
      }
    }

For Cursor

  1. Go to File -> Preferences -> Cursor Settings.
  2. Select MCP.
  3. Click on Add new global MCP Server.
  4. Paste the following into the mcp.json file.
json
  {
    "mcpServers": {
      "api-market": {
        "command": "npx",
        "args": [
          "-y",
          "@noveum-ai/mcp-server",
          "--headers",
          "x-magicapi-key:<your-api-key>"
        ]
      }
    }
  }

Alternatively, add this as the first entry in mcpServers.

json
    "api-market": {
      "command": "npx",
      "args": [
        "-y",
        "@noveum-ai/mcp-server",
        "--headers",
        "x-magicapi-key:<your-api-key>"
      ]
    },
  1. For older versions of Cursor, add the following command after clicking on Add new MCP server
bash
npx -y @noveum-ai/mcp-server --headers x-magicapi-key:your-api-key

Getting an API Key from API.market

To obtain an API key

  1. Log in to API.market
  2. Go to your profile and select 'My API Keys'
  3. Your API keys will be displayed here

List of APIs in this MCP

Example and Usage

Example 1

We can use the agent to find a route between any two points

Example 1

Example 2

We can use the agent to find news about any topic, and then dig deeper into the articles

Example 2.1 Example 2.2

Example 3

We can use the agent to look for available domains

Example 3

Development

Adding a New API to the MCP Server

The utils folder contains helper scripts for managing API configurations, parsing OpenAPI specifications, and registering new APIs into the MCP server.

1. Locate the OpenAPI Specification

Find the OpenAPI JSON for the API you want to integrate. After that, create a folder json_files in the root directory of the project and add your OpenAPI JSON spec to the folder

2. Modify the OpenAPI Specification

After obtaining the OpenAPI spec, use modify_api.py to update the path inside the spec to include the file name.

bash
python utils/modify_api.py

3. Update API Summaries

After modifying the paths, update the API summaries by choosing one of the following options:

  • Automatically shorten summaries using an LLM:
bash
python utils/LLM_summary_shortener.py 
  • Manually update the summaries:
bash
python utils/manual_summary_shortener.py 

4. Build and Test

Rebuild the project to apply the changes:

bash
npm run build

Then, test the new API integration using:

bash
npm run inspect

5. Submit Your Changes

If you want to contribute this new API to the repository:

  • Fork the repo.
  • Create a branch.
  • Submit a pull request (PR).

6. Publish the MCP server (Optional)

If you want to publish your changes:

  • Update the package.json accordingly (e.g., update the version, name, etc.).
  • Publish the package:
bash
npm publish --access public

Development Tools

Building

  • npm run build - Builds the TypeScript source.
  • npm run clean - Removes build artifacts.
  • npm run typecheck - Runs TypeScript type checking.

Development Mode

  • npm run dev - Watches source files and rebuilds on changes.
  • npm run inspect-watch - Runs the inspector with auto-reload on changes.

Code Quality

  • npm run lint - Runs ESLint.
  • npm run typecheck - Verifies TypeScript types.

Command Line Arguments

bash
npm run inspect -- \
  --api-base-url https://api.magicapi.dev/api/v1/ \
  --openapi-spec modified_files.txt \
  --headers "x-magicapi-key:your-api-key" \
  --name "my-mcp-server" \
  --version "1.0.0"

Development Workflow

  1. Start the development environment:
bash
npm run inspect-watch
  1. Modify the TypeScript files in src/.
  2. The server will automatically rebuild and restart.
  3. Use the MCP Inspector UI to test your changes.

Debugging or Running Locally

To debug or run the MCP server locally:

  1. Clone the repository and install dependencies:
bash
git clone https://github.com/Noveum/api-market-mcp-server.git
cd api-market-mcp-server
npm install
  1. Build the server:
bash
npm run build
  1. For debugging, you can run:
bash
npm run inspect 

Contributing

  1. Fork the repository.
  2. Create a feature branch.
  3. Make your changes.
  4. Run tests and linting:
bash
npm run typecheck
npm run lint
  1. Submit a pull request.

License

MIT

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "api-market": {
      "command": "npx",
      "args": [
        "-y",
        "@noveum-ai/mcp-server"
      ],
      "env": {
        "API_HEADERS": "x-magicapi-key:your-api-key"
      }
    }
  }
}

可用工具

  • distance_and_duration_bw_starts_and_stops

    Calculate length and driving time of the optimal routes between origin and destination points on the real road network.

  • Get_audio_analysis_URL

    This endpoint retrieves the URL of the transcription and analysis of the audio for the given request ID.

  • Whisper_Audio_Processing

    API for sentece wise transcription and analysis of audio, using AI models. Make sure to call get audio analysis URL with the request ID received from this API.

  • Upload

    Make a POST request to capix/faceswap/upload/

  • ImageFaceSwap

    Make a POST request to capix/faceswap/faceswap/v1/image

  • VideoFaceSwap

    Make a POST request to capix/faceswap/faceswap/v1/video

  • Result

    Make a POST request to capix/faceswap/result/

  • Forward_Geocoding

    Obtain location(geographic coordinates) for address.

  • Reverse_Geocoding

    Obtain address for location.

  • DNS_Checker_API

    Make a POST request to magicapi/dnschecker/dnschecker

  • Get_coder_output_URL

    This endpoint retrieves the URL of the coding assistant's response for a given request ID.

  • Coding_Assistant

    Coding Assistant. Make sure you call get coder output URL MCP tool to get the URL for the request id received from this API

  • A_fast_nsfw_detection_API

    Make a POST request to bridgeml/nsfw!detection/nsfw_detection

  • getWhoisInfo

    Make a GET request to magicapi/whois/whois/{domain}

  • Get_Unblurred_Image_URL

    This endpoint retrieves the URL of the Unblurred image for a given request ID.

  • Deblurer

    API for image deblurring. Make sure you call get deblurred image URL, MCP tool to get the URL for the request id received from this API

  • text-to-image

    Make a POST request to bridgeml/text!to!image/text_to_image

  • Get_ageing_gif_URL

    This endpoint retrieves the URL of the ageing gif for a given request ID.

  • Period_changer

    API for generating ageing gif using AI models. Make sure to call get ageing gif URL, with the result id received from this API

  • Search_for_places_by_text

    Search for places by text string

  • Search_for_nearby_places

    Search for places around location within a specified radius.

  • Get_hairstyled_image_URL

    This endpoint retrieves the URL of the simulated hairstyle image for a given request ID.

  • Hair_style_simulator

    API for simulating different hair styles using AI models. Make sure to call get hairstyled image after with the request id received from this API.

  • BridgeML_API

    Make a POST request to bridgeml/codellama/bridgeml/codellama

  • Search_Videos

    Retrieve video search results based on query parameters

  • Search_Web

    Retrieve web search results based on query parameters

  • Search_Images

    Retrieve image search results based on query parameters

  • Search_News

    Retrieve news search results based on query parameters

  • Search_Suggestions

    Retrieve search suggestions based on query parameters

  • Spellcheck_Search

    Retrieve spellcheck suggestions based on query parameters

  • Check_domain_availability

    Submit a domain name to check its availability.

  • best_route_for_multiple_stops

    Finding optimal route to visit several locations.

  • best_route_bw_start_and_stop

    Finding optimal route from a origin to a destination, passing through multiple waypoints(optional).

  • Extract_information_from_a_URL

    Make a POST request to pipfeed/parse/extract

将 API.market MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 API.market 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 API.market 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 API.market MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "api-market": {
      "command": "npx",
      "args": [
        "-y",
        "@noveum-ai/mcp-server"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 API.market MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 API.market MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 API.market 帮我完成这项任务吗?
API.market
当然。我已阅读。
以下是我使用 API.market 得到的结果。

常见问题

API.market MCP 服务器有什么用途?

API.market 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 API.market MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 API.market,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 API.market MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 API.market 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 API.market MCP 连接到 TypingMind?

API.market 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

API.market MCP 在 TypingMind 中提供哪些工具?

API.market 提供 34 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 API.market MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 API.market 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇