Skip to main content
Glama
Image Processor MCP Server

Image Processor MCP Server

by sanliunanjue

图像处理器 MCP 服务器

模型上下文协议服务器

这是一个基于 TypeScript 的 MCP 服务器,实现了一个简单的笔记系统。它通过提供以下内容来演示 MCP 的核心概念:

  • 用 URI 和元数据表示文本注释的资源

  • 创建新笔记的工具

  • 生成笔记摘要的提示

特征

资源

  • 通过note:// URI 列出并访问笔记

  • 每个笔记都有标题、内容和元数据

  • 用于简单内容访问的纯文本 MIME 类型

工具

  • create_note创建新的文本注释

    • 将标题和内容作为必需参数

    • 将注释存储在服务器状态中

提示

  • summarize_notes - 生成所有存储笔记的摘要

    • 包含所有笔记内容作为嵌入资源

    • 返回 LLM 摘要的结构化提示

Related MCP server: azure-devops MCP Server

发展

安装依赖项:

npm install

构建服务器:

npm run build

对于使用自动重建的开发:

npm run watch

安装

要与 Claude Desktop 一起使用,请添加服务器配置:

在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "image-processor": {
      "command": "/path/to/image-processor/build/index.js"
    }
  }
}

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:

npm run inspector

检查器将提供一个 URL 来访问浏览器中的调试工具。

Available Tools

2 tools
process_image_to_codeC

处理图像并生成代码

Inputs: image_url (required), language, instructions.

process_image_to_descriptionC

处理图像并生成描述

Inputs: image_url (required), detail_level, focus.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one generates code from images, and the other generates descriptions from images. There is no overlap in functionality, making it easy for an agent to choose the correct tool based on the desired output type.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern with 'process_image_to_' as a prefix, followed by the specific output type ('code' or 'description'). This naming scheme is predictable and enhances readability across the tool set.

    Tool Count2/5

    With only two tools, the server feels thin for an 'Image Processor' domain, which might imply broader capabilities like image editing, filtering, or analysis. The limited scope suggests potential gaps in functionality that could hinder agent workflows.

    Completeness2/5

    The tool set is severely incomplete for an image processing domain. It lacks basic operations such as image resizing, format conversion, filtering, or analysis tools, focusing only on generation tasks. This creates significant gaps that will likely cause agent failures when broader image processing needs arise.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    Appeared in Searches