Fountain Pen Ink MCP Server
Provides LLMs with specialized knowledge about fountain pen inks, enabling intelligent ink search, color matching, and recommendations through various tools.
Tools
search_inks_by_name
Search for fountain pen inks by name using fuzzy matching
search_inks_by_color
Find inks similar to a given color using RGB matching
get_ink_details
Get complete information about a specific ink
get_inks_by_maker
List all inks from a specific manufacturer
analyze_color
Analyze a color and provide ink knowledge context
get_color_palette
Generate a themed or harmony-based palette of inks. Supports three modes: 1) Predefined themes (warm, cool, earth, ocean, autumn, spring, summer, winter, pastel, vibrant, monochrome, sunset, forest), 2) Custom hex color lists (comma-separated), 3) Color harmony generation from a base hex color.
README
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. Read my article about creating this server.
<a href="https://glama.ai/mcp/servers/@ewilderj/inks-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@ewilderj/inks-mcp/badge" alt="Fountain Pen Ink Server MCP server" /> </a>
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 namemax_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 generationpalette_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 JavaScriptnpm run start: Run the compiled servernpm run dev: Build and run in one commandnpm 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
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- 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.
Links
- Wilder Writes - Source of ink data and detailed ink information
- Model Context Protocol - MCP documentation and examples
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。