Image Processor MCP Server
Bildprozessor MCP Server
Ein Model Context Protocol-Server
Dies ist ein TypeScript-basierter MCP-Server, der ein einfaches Notizensystem implementiert. Er veranschaulicht die Kernkonzepte von MCP anhand von:
Ressourcen, die Textnotizen mit URIs und Metadaten darstellen
Tools zum Erstellen neuer Notizen
Eingabeaufforderungen zum Generieren von Notizenzusammenfassungen
Merkmale
Ressourcen
Auflisten und Zugreifen auf Notizen über
note://URIsJede Notiz hat einen Titel, Inhalt und Metadaten
MIME-Typ im Klartext für einfachen Inhaltszugriff
Werkzeuge
create_note- Neue Textnotizen erstellenNimmt Titel und Inhalt als erforderliche Parameter
Speichert die Notiz im Serverstatus
Eingabeaufforderungen
summarize_notes- Erstellen Sie eine Zusammenfassung aller gespeicherten NotizenEnthält alle Notizinhalte als eingebettete Ressourcen
Gibt eine strukturierte Eingabeaufforderung für die LLM-Zusammenfassung zurück
Related MCP server: azure-devops MCP Server
Entwicklung
Installieren Sie Abhängigkeiten:
npm installErstellen Sie den Server:
npm run buildFür die Entwicklung mit automatischem Rebuild:
npm run watchInstallation
Zur Verwendung mit Claude Desktop fügen Sie die Serverkonfiguration hinzu:
Unter MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Unter Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"image-processor": {
"command": "/path/to/image-processor/build/index.js"
}
}
}Debuggen
Da MCP-Server über stdio kommunizieren, kann das Debuggen eine Herausforderung darstellen. Wir empfehlen die Verwendung des MCP Inspector , der als Paketskript verfügbar ist:
npm run inspectorDer Inspector stellt eine URL für den Zugriff auf Debugging-Tools in Ihrem Browser bereit.
Available Tools
2 toolsprocess_image_to_codeC
处理图像并生成代码
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | Yes | 图像URL | |
| language | No | 目标编程语言,例如:python, javascript, html, css等 | python |
| instructions | No | 额外的指令或要求 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool processes images and generates code, but doesn't explain how it handles different image types, what the output format is (e.g., code snippet, full file), error handling, or any limitations (e.g., image size, supported languages beyond the schema). This leaves significant gaps in understanding the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise with a single sentence '处理图像并生成代码' that directly states the tool's function. It's front-loaded with no wasted words, making it efficient and easy to parse. Every word earns its place by conveying essential information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of image-to-code conversion, no annotations, and no output schema, the description is insufficiently complete. It doesn't address what the output looks like (e.g., code structure, error messages), how it handles ambiguous images, or any prerequisites (e.g., image format requirements). For a tool with three parameters and no structured output documentation, more context is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema description coverage is 100%, with clear descriptions for all three parameters in the input schema. The description doesn't add any additional meaning beyond what's already documented in the schema (e.g., it doesn't explain how 'instructions' modify code generation or provide examples). Given the high schema coverage, the baseline score of 3 is appropriate as the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description '处理图像并生成代码' clearly states the tool's purpose: processing images and generating code. It specifies both the verb ('处理' - process) and resource ('图像' - image) with the output ('代码' - code). However, it doesn't differentiate from its sibling 'process_image_to_description', which suggests a similar input but different output type.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. There's no mention of the sibling tool 'process_image_to_description' or any context about when code generation is preferred over description generation. It lacks explicit usage scenarios or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
process_image_to_descriptionC
处理图像并生成描述
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | Yes | 图像URL | |
| detail_level | No | 描述详细程度:简洁(brief)、标准(standard)或详细(detailed) | standard |
| focus | No | 描述重点,例如:物体、场景、人物、情感等 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool processes images and generates descriptions, but doesn't reveal important behavioral aspects like whether this is a read-only operation, what permissions might be required, potential rate limits, error conditions, or what format the description output takes. For a tool with no annotation coverage, this leaves significant gaps in understanding how the tool behaves.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise - a single Chinese sentence that directly states the tool's function. There's no wasted language or unnecessary elaboration. It's front-loaded with the core purpose and doesn't include any extraneous information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 3 parameters, no annotations, and no output schema, the description is insufficiently complete. While concise, it doesn't address the behavioral aspects needed when annotations are absent, doesn't explain the relationship between parameters, and provides no information about the output format or structure. The description should do more to compensate for the lack of structured metadata.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds no parameter information beyond what's already in the schema, which has 100% coverage. All three parameters (image_url, detail_level, focus) are fully documented in the schema with descriptions, enums, defaults, and requirements. The description doesn't provide additional context about parameter usage, relationships, or examples, so it meets the baseline for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: '处理图像并生成描述' (process image and generate description). It specifies both the action (process) and resource (image) with a clear output (description). However, it doesn't explicitly differentiate from its sibling tool 'process_image_to_code', which processes images but generates code instead of descriptions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. There's no mention of the sibling tool 'process_image_to_code' or any other context for choosing between image processing tools. The description simply states what the tool does without indicating appropriate use cases or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
- First observed
process_image_to_code - First observed
process_image_to_description
TDQS
Scored across 2 tools
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.
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.
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.
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
Related MCP Connectors
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
An MCP server that used to create notes
- TaprootOAuthcom.taproothq
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Related MCP Servers
- FlicenseBqualityDmaintenanceA simple TypeScript-based MCP server that implements a notes system, allowing users to create, list, and generate summaries of text notes via Claude.13-
- AlicenseBqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.12559 npm3MIT
- AlicenseCqualityFmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes through Claude Desktop.11,271 npm1MIT
- FlicenseBqualityDmaintenanceA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.23-