Skip to main content
Glama

Logo MCP

by xtdexw

Logo MCP Server

一个基于 Model Context Protocol (MCP) 的 Logo 提取服务器,可以从任何网站提取高质量的 Logo 图标。

功能特性

  • 🎯 智能Logo识别 - 自动识别网站中的Logo元素
  • 🔍 多种提取策略 - 支持favicon、meta标签、图片分析等多种方式
  • 🎨 AI优化处理 - 可选的Logo优化和增强功能
  • 📐 多格式输出 - 支持PNG、SVG格式输出
  • 🔧 灵活配置 - 可自定义输出尺寸和格式
  • 🚀 MCP协议 - 完全兼容Model Context Protocol标准

安装

作为MCP服务器使用

npx @pickstar-2025/logo-mcp

本地开发安装

git clone https://github.com/xtdexw/logo-mcp.git cd logo-mcp npm install npm run build

使用方法

MCP工具调用

该服务器提供两个主要的MCP工具:

{ "tool": "extract_logo", "arguments": { "url": "https://example.com", "optimize": true, "format": "both", "size": 256 } }

参数说明:

  • url (必需): 要提取Logo的网站URL
  • optimize (可选): 是否进行AI优化处理,默认为true
  • format (可选): 输出格式,可选值:pngsvgboth,默认为both
  • size (可选): 输出图片尺寸(像素),默认为256
2. analyze_logo_candidates - 分析Logo候选项
{ "tool": "analyze_logo_candidates", "arguments": { "url": "https://example.com" } }

参数说明:

  • url (必需): 要分析的网站URL

命令行使用

# 提取Logo node cli.js extract https://example.com # 分析Logo候选项 node cli.js analyze https://example.com

MCP配置

在你的MCP客户端配置文件中添加:

{ "mcpServers": { "logo-mcp": { "command": "npx", "args": ["@pickstar-2025/logo-mcp"] } } }

技术架构

  • TypeScript - 类型安全的开发体验
  • MCP Protocol - 标准化的模型上下文协议
  • Puppeteer - 网页内容抓取和分析
  • Sharp - 高性能图像处理
  • AI优化 - 智能Logo识别和优化

开发

构建项目

npm run build

运行测试

npm test

启动开发服务器

npm run dev

API参考

LogoExtractor类

主要的Logo提取类,提供以下方法:

  • extractLogo(url, options) - 提取指定网站的Logo
  • analyzeCandidates(url) - 分析网站的所有Logo候选项

LogoOptimizer类

Logo优化处理类:

  • optimize(logoData, options) - 优化Logo质量和格式
  • resize(logoData, size) - 调整Logo尺寸

许可证

MIT License - 详见 LICENSE 文件

贡献

欢迎提交Issue和Pull Request!

更新日志

v1.0.0

  • 初始版本发布
  • 支持基本的Logo提取功能
  • 实现MCP协议兼容
  • 添加AI优化功能

支持

如果你遇到任何问题,请:

  1. 查看 Issues
  2. 提交新的Issue描述问题
  3. 联系维护者

Made with ❤️ by CodeBuddy

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

An intelligent website logo extraction system built on the Model Context Protocol (MCP) that automatically identifies and extracts logo icons from websites.

  1. 功能特性
    1. 安装
      1. 作为MCP服务器使用
      2. 本地开发安装
    2. 使用方法
      1. MCP工具调用
      2. 命令行使用
    3. MCP配置
      1. 技术架构
        1. 开发
          1. 构建项目
          2. 运行测试
          3. 启动开发服务器
        2. API参考
          1. LogoExtractor类
          2. LogoOptimizer类
        3. 许可证
          1. 贡献
            1. 更新日志
              1. v1.0.0
            2. 支持

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                MCP Tool Server for Logo Generation. This server provides logo generation capabilities using FAL AI, with tools for image generation, background removal, and image scaling.
                Last updated -
                170
                Python
                GPL 3.0
                • Apple
                • Linux
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that extracts images from URLs or base64 data and converts them into a format suitable for LLM analysis, allowing AI models to process and understand visual content.
                Last updated -
                3
                513
                10
                MIT License
              • -
                security
                A
                license
                -
                quality
                A search service based on multiple image APIs and icon generation capabilities, specifically designed for integration with Cursor MCP service. Supports image search, download, and AI-generated icons.
                Last updated -
                5
                Python
                MIT License
                • Apple
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server that enables AI models to extract structured data from websites through the extract\_structured\_data tool.
                Last updated -
                1
                615
                JavaScript
                MIT License
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/xtdexw/logo-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server