Skip to main content
Glama

Fountain Pen Ink MCP Server

by ewilderj

Fountain Pen Ink MCP Server

A Model Context Protocol (MCP) server that provides LLMs with specialized knowledge about fountain pen inks, enabling intelligent ink search, color matching, and recommendations.

Features

This MCP server provides the following tools for LLMs:

🔍 Search Tools

  • search_inks_by_name: Fuzzy search for inks by name or manufacturer
  • search_inks_by_color: Find inks similar to any given color using RGB matching
  • get_inks_by_maker: List all inks from a specific manufacturer

📊 Information Tools

  • get_ink_details: Get comprehensive information about a specific ink
  • analyze_color: Analyze any color and find the closest matching inks

🎨 Recommendation Tools

  • get_color_palette: Generate sophisticated themed ink palettes with color theory support
    • 13 predefined themes (warm, cool, earth, ocean, autumn, spring, summer, winter, pastel, vibrant, monochrome, sunset, forest)
    • Color harmony generation (complementary, analogous, triadic, split-complementary)
    • Custom hex color palettes

Installation

Prerequisites

  • Node.js 18 or higher
  • npm or yarn

Setup

# Clone or create the project git clone <repository-url> cd inks-mcp # Install dependencies npm install # Build the project npm run build

Usage

Running the Server

# Run once npm start # Development mode with auto-rebuild npm run dev # Watch mode for development npm run watch

MCP Client Configuration

Add this server to your MCP client configuration:

{ "servers": { "fountain-pen-ink-server": { "type": "stdio", "command": "node", "args": ["<path-to-project>/dist/index.js"] } } }

VS Code Integration

For VS Code users, the project includes:

  • Tasks: Build, watch, and run the server
  • MCP Configuration: Pre-configured in .vscode/mcp.json
  • Debug Support: Use VS Code's integrated terminal to test the server

Available Tools

search_inks_by_name

Search for fountain pen inks using fuzzy text matching.

Parameters:

  • query (string): Search term for ink name
  • max_results (number, optional): Maximum results to return (default: 20)

Example:

{ "query": "sailor blue", "max_results": 10 }

search_inks_by_color

Find inks similar to a given color using RGB color space matching.

Parameters:

  • color (string): Hex color code (e.g., "#FF5733")
  • max_results (number, optional): Maximum results to return (default: 20)

Example:

{ "color": "#2E5984", "max_results": 15 }

get_ink_details

Get complete information about a specific ink.

Parameters:

  • ink_id (string): The unique identifier for the ink

Example:

{ "ink_id": "sailor-ink-studio-462" }

get_inks_by_maker

List all inks from a specific manufacturer.

Parameters:

  • maker (string): Manufacturer name (e.g., "sailor", "diamine", "pilot")
  • max_results (number, optional): Maximum results to return (default: 50)

Example:

{ "maker": "diamine", "max_results": 25 }

analyze_color

Analyze a color and provide fountain pen ink context.

Parameters:

  • color (string): Hex color code (e.g., "#FF5733")

Example:

{ "color": "#8B4513" }

get_color_palette

Generate a themed or harmony-based palette of fountain pen inks with sophisticated color theory support.

Parameters:

  • theme (string): Theme name, comma-separated hex colors, or single hex color for harmony generation
  • palette_size (number, optional): Number of inks in palette (default: 5)
  • harmony (string, optional): Color harmony rule when using single hex color

Supported Themes:

  • Classic: warm, cool, earth, ocean, autumn, spring
  • Seasonal: summer, winter
  • Mood: pastel, vibrant, monochrome
  • Atmospheric: sunset, forest

Harmony Rules:

  • complementary: Base color + opposite color
  • analogous: Base color + adjacent colors
  • triadic: Base color + two equidistant colors
  • split-complementary: Base color + colors adjacent to complement

Examples:

// Predefined theme { "theme": "sunset", "palette_size": 4 } // Custom hex colors { "theme": "#FF6B35,#F7931E,#FFD700", "palette_size": 3 } // Color harmony generation { "theme": "#2E5984", "harmony": "complementary", "palette_size": 2 }

Data Sources

The server uses two main data files:

  • ink-colors.json: Contains RGB color values and basic ink information
  • search.json: Contains metadata including manufacturers, scan dates, and searchable names

All ink data links back to Wilder Writes for detailed information and images.

Development

Project Structure

inks-mcp/ ├── src/ │ ├── index.ts # Main MCP server implementation │ ├── types.ts # TypeScript type definitions │ └── utils.ts # Utility functions for color matching ├── data/ │ ├── ink-colors.json # RGB color data │ └── search.json # Search metadata ├── dist/ # Compiled JavaScript (generated) └── .vscode/ ├── mcp.json # MCP server configuration └── tasks.json # VS Code tasks

Scripts

  • npm run build: Compile TypeScript to JavaScript
  • npm run start: Run the compiled server
  • npm run dev: Build and run in one command
  • npm run watch: Watch for changes and rebuild automatically

Testing

You can test the server by running it and sending MCP protocol messages via stdin/stdout, or integrate it with an MCP-compatible client.

Testing

Run the comprehensive test suite to validate all functionality:

# Run all tests npm test # Run individual test categories cd test node test-enhanced-palette.js # Palette generation features node test-mcp-palette.js # MCP protocol compliance node test-schema.js # Tool schema validation node test-harmony-direct.js # Color harmony algorithms

The test suite covers:

  • ✅ 13 predefined themes + 4 harmony rules
  • ✅ Custom color palette generation
  • ✅ MCP protocol compliance
  • ✅ Error handling and validation
  • ✅ Color space conversions (BGR→RGB, RGB↔HSL)

Color Matching Algorithm

The server uses Euclidean distance in RGB color space to find similar inks:

distance = √[(r₁-r₂)² + (g₁-g₂)² + (b₁-b₂)²]

Future improvements may include:

  • LAB color space for better perceptual accuracy
  • Weighted color components for fountain pen ink characteristics
  • Semantic color descriptions

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.

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.

Provides LLMs with specialized knowledge about fountain pen inks, enabling intelligent ink search, color matching, and recommendations through various tools.

  1. Features
    1. 🔍 Search Tools
    2. 📊 Information Tools
    3. 🎨 Recommendation Tools
  2. Installation
    1. Prerequisites
    2. Setup
  3. Usage
    1. Running the Server
    2. MCP Client Configuration
    3. VS Code Integration
  4. Available Tools
    1. search_inks_by_name
    2. search_inks_by_color
    3. get_ink_details
    4. get_inks_by_maker
    5. analyze_color
    6. get_color_palette
  5. Data Sources
    1. Development
      1. Project Structure
      2. Scripts
      3. Testing
      4. Testing
    2. Color Matching Algorithm
      1. Contributing
        1. License
          1. Links

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              Enables LLMs to perform semantic search and document management using ChromaDB, supporting natural language queries with intuitive similarity metrics for retrieval augmented generation applications.
              Last updated -
              Python
              • Apple
            • A
              security
              A
              license
              A
              quality
              Enables seamless integration with any LLM client supporting MCP for creating and optimizing technical content and product positioning using Open Strategy Partners' methodologies.
              Last updated -
              6
              203
              Python
              CC BY-SA 4.0
              • Apple
            • -
              security
              A
              license
              -
              quality
              Enables integration with DuckDuckGo search capabilities for LLMs, supporting comprehensive web search, regional filtering, result types, and safe browsing with caching and customizable search parameters.
              Last updated -
              19
              2
              TypeScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              Enables LLMs to interact with DataForSEO and other SEO APIs through natural language, allowing for keyword research, SERP analysis, backlink analysis, and local SEO tasks.
              Last updated -
              627
              47
              TypeScript

            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/ewilderj/inks-mcp'

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