Logo API.market

API.market

Tổ chức
Noveum

API Market MCP Servers

Nhà phát hànhNoveum
Kho mãapi-market-mcp-server
Ngôn ngữTypeScript
Bản fork
1
Sao
4
Công cụ có sẵn
34
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    API.market cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 34 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    4 sao và 1 bản fork từ kho mã được liên kết.

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

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

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

Công cụ có sẵn

  • 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

Dùng MCP API.market với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối API.market, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm API.market làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của API.market.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "api-market": {
      "command": "npx",
      "args": [
        "-y",
        "@noveum-ai/mcp-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của API.market, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của API.market.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng API.market giúp tôi làm việc này không?
API.market
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng API.market.

Câu hỏi thường gặp

Máy chủ MCP API.market dùng để làm gì?

API.market là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP API.market với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng API.market với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP API.market với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối API.market, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP API.market với TypingMind?

API.market hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP API.market cung cấp những công cụ nào trong TypingMind?

API.market cung cấp 34 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP API.market không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu API.market yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇