Espanso
БесплатноНе проверенAn MCP server for managing Espanso text expansion configurations, enabling AI assistants to create, update, delete, and list shortcuts with cross-platform suppo
Описание
An MCP server for managing Espanso text expansion configurations, enabling AI assistants to create, update, delete, and list shortcuts with cross-platform support.
README
An MCP (Model Context Protocol) server for managing Espanso text expansion configurations. This server allows AI assistants like Claude to interact with your Espanso setup, making it easy to create, update, and manage text expansions.
Espanso Resources:
Features
- List all match files and expansions
- Create new text expansions with simple or complex patterns
- Update existing expansions
- Delete expansions you no longer need
- Templates for common expansion patterns
- Cross-platform support (Linux, macOS, Windows)
Installation
- Clone this repository:
git clone https://github.com/bkaes/espanso-mcp.git
cd espanso-mcp
- Install dependencies and build:
npm install
npm run build
- Add to your MCP configuration:
{
"mcpServers": {
"espanso": {
"command": "node",
"args": ["/absolute/path/to/espanso-mcp/dist/index.js"]
}
}
}
Note: The configuration file location varies by platform:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
Usage
Once configured, you can ask Claude to:
List all expansions
"Show me all my Espanso text expansions"
Create a new expansion
"Create an Espanso expansion that types my email signature when I type :sig"
Create a date expansion
"Add an expansion :today that inserts today's date in YYYY-MM-DD format"
Update an expansion
"Change the :sig expansion to include my phone number"
Delete an expansion
"Remove the :old expansion from my Espanso config"
Available Tools
list_match_files- List all YAML files containing expansionslist_matches- Show all expansions (optionally filtered by file)create_match- Add a new text expansionupdate_match- Modify an existing expansiondelete_match- Remove an expansionget_config_info- Display Espanso configuration detailsgenerate_documentation- Generate markdown documentation for your expansions
Documentation Generation
The MCP server can generate comprehensive documentation for your Espanso shortcuts:
Generate documentation for all expansions
"Create documentation for all my Espanso shortcuts"
Generate documentation for specific file
"Document just my email expansions"
Documentation is saved in your Espanso config directory under docs/ by default, making it easy to:
- Keep documentation with your expansions
- Reference from project READMEs
- Share with team members
Templates
The server provides templates for common expansion patterns:
- Simple text expansion - Basic trigger → replacement
- Date expansion - Dynamic date insertion with custom formats
- Form expansion - Interactive forms with user input
Requirements
- Node.js 18 or higher
- Espanso installed and configured
Development
Run the server in development mode:
npm run dev
Project Structure
The codebase is organized into modular components:
src/index.ts- Entry pointsrc/server.ts- MCP server implementationsrc/types/- TypeScript interfacessrc/handlers/- Business logic for each operationsrc/utils/- Utility functions
Contributing
See CLAUDE.md for detailed architecture and design decisions.
License
GPL-3.0
Установка Espanso
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/bkaes/espanso-mcpFAQ
Espanso MCP бесплатный?
Да, Espanso MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Espanso?
Нет, Espanso работает без API-ключей и переменных окружения.
Espanso — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Espanso в Claude Desktop, Claude Code или Cursor?
Открой Espanso на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Espanso with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
