1. Conduid
  2. AI
  3. Fgclip MCP
MCP server · AI

Fgclip MCP

MCP (Model Context Protocol) server for FG-CLIP embedding services.

Unclaimed Apache-2.0 last commit 11 months ago ai
51Fair

Scored 3 months ago · breakdown

About Fgclip MCP

Fgclip MCP is an MCP server published by 360CVGroup in the AI category: mCP (Model Context Protocol) server for FG-CLIP embedding services. It has been installed 0 times through Conduid.

The repository has 4 stars and 0 forks, with the last commit 11 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx fgclip-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Fgclip MCP

Powered by Claude · Grounded in docs

I know everything about Fgclip MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

FGCLIP-MCP

MCP (Model Context Protocol) server for FG-CLIP embedding services. To obtain and configure the API key, please apply at https://research.360.cn/sass.

Features

This MCP server provides the following tools and resources:

Tools

  • text_embedding: Generate embedding vectors for text
  • image_embedding: Generate embedding vectors for images
  • cosine_similarity: Compute cosine similarity between two lists of vectors

Use Cases

This MCP server helps users achieve the following capabilities:

  • Image Feature Extraction: Convert images into high-dimensional vector representations for machine learning and similarity computation
  • Text Feature Extraction: Transform text into semantic vector representations with multi-language support
  • Multi-modal Similarity Computation:
    • Image-to-Image Similarity: Compare visual similarity between different images
    • Image-to-Text Similarity: Enable cross-modal retrieval, such as finding relevant images based on text descriptions
    • Text-to-Text Similarity: Calculate semantic similarity between texts

Through these capabilities, users can build powerful search engines, recommendation systems, content classification, and multi-modal AI applications.

Tool Details

text_embedding

Generate embedding vectors for input texts.

Parameters:

  • texts: A list of text strings to embed
  • model: The model to use (default: "fg-clip")

Returns:

  • saved_uris: A list of URIs where the embeddings are stored
  • success: Whether the operation succeeded
  • error_msg: Error message, if any

image_embedding

Generate embedding vectors for images.

Parameters:

  • images: A list of image URLs or base64-encoded images
  • model: The model to use (default: "fg-clip")

Returns:

  • saved_uris: A list of URIs where the embeddings are stored
  • success: Whether the operation succeeded
  • error_msg: Error message, if any

cosine_similarity

Compute cosine similarity between two lists of vectors.

Parameters:

  • uris_a: A list of URIs for the first set of embeddings
  • uris_b: A list of URIs for the second set of embeddings
  • mode: Calculation mode (default: "pairwise")
    • "pairwise": Compute similarity for vectors at corresponding positions
    • "matrix": Compute a full similarity matrix for all vector pairs

Returns:

  • similarities: Similarity values or a similarity matrix
  • shape: Shape information of the result
  • success: Whether the operation succeeded

Development & Testing

git clone https://github.com/360CVGroup/FGCLIP-MCP 
cd FGCLIP-MCP
uv venv
uv sync
source .venv/bin/activate
export MCP_API_KEY=your_api_key 
pytest -q

MCP Host Configuration

From pypi

{
  "mcpServers": {  
    "fgclip-mcp": {
      "command": "uvx",
      "args": [
        "fgclip-mcp"
      ],
      "env": {
        "MCP_API_KEY": "your_api_key"
      }
    }
  }
}

From local

{
  "mcpServers": {  
    "fgclip-mcp-local": {
      "command": "uv",
      "args": [
        "--directory",
        "/path_to_fgclip-mcp/src/fgclip_mcp",
        "run",
        "/path_to_fgclip-mcp/src/fgclip_mcp/__main__.py"
      ],
      "env": {
        "MCP_API_KEY": "your_api_key"
      }    
    }
  }
}

Use Case in Cursor IDE

Locate MCP Setting step1

Config MCP Setting step2

Enable MCP step3

Chat with MCP

Example: Searching for images based on given text text_2_image

Image URLs:

License

Apache License 2.0

README mirrored from the source repository 3 months ago. The original is authoritative.

Questions

About Fgclip MCP

How do I install Fgclip MCP?

Run npx fgclip-mcp, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Fgclip MCP safe to use with an AI agent?

Its trust score is 51 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Fgclip MCP still maintained?

The last commit was 11 months ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.