神经痛药
CLI用于 Neuralingual --人工智能驱动的肯定练习集。
从自然语言意图创建个性化的肯定集,将其渲染为具有高级语音的音频,并从命令行管理您的库。
安装
npm install -g @innerstacklabs/neuralingual-mcp或者直接使用npx运行:
npx @innerstacklabs/neuralingual-mcp login快速开始
# Log in with Apple Sign-In (opens browser)
neuralingual login
# Create a practice set from intent text
neuralingual create "I want to feel confident before presentations"
# Browse your library
neuralingual library
# Get detailed info on a set
neuralingual info
# Configure rendering
neuralingual voices # browse available voices
neuralingual render configure --voice --context general --duration 10
# Render and play
neuralingual render start --wait
neuralingual play --open命令
| 命令 | 描述 |
|---|---|
login | 通过Apple登录登录 |
logout | 注销并清除令牌 |
whoami | 显示当前用户信息 |
library | 列出你的练习集 |
search | 按标题或上下文搜索 |
create | 创建新的练习集 |
info | 显示详细设置信息 |
rename | 重命名练习集 |
delete | 删除练习集 |
render configure | 配置渲染设置 |
render start | 启动渲染作业 |
render status | 检查渲染进度 |
rerender | 使用当前配置重新渲染 |
voices | 列出可用声音 |
voices preview | 预览语音 |
play | 下载/播放渲染音频 |
download | 将音频下载为MP3 |
credits | 显示信用余额 |
share | 生成共享链接 |
unshare | 撤销共享链接 |
set export | 导出设置为YAML |
set edit | 在$EDITOR中编辑集 |
set apply | 应用YAML更改 |
set create | 从YAML创建集合 |
settings | 查看/更新首选项 |
请参阅 用户指南 详细用法和示例。
MCP服务器(AI助手集成)
此软件包包括一个MCP服务器,允许AI助手(Claude Code等)直接管理您的Neuralingual库。
设置
添加到您的 .mcp.json (克劳德代码)或MCP客户端配置:
{
"mcpServers": {
"neuralingual": {
"type": "stdio",
"command": "npx",
"args": ["-y", "-p", "@innerstacklabs/neuralingual-mcp", "neuralingual-mcp"]
}
}
}先决条件: 跑 neuralingual login 首先进行身份验证。
MCP工具
| 工具 | 说明 |
|---|---|
nl_library | 列出所有练习集,包括标题、上下文、渲染状态 |
nl_info | 全套细节——确认、渲染配置、共享状态 |
nl_search | 按关键字搜索集 |
nl_create | 从意图文本创建一个新集合(花费1个学分) |
nl_delete | 删除练习集 |
nl_rename | 更新标题和/或表情符号 |
nl_play | 将渲染的音频下载到本地缓存 |
nl_credits | 检查信用余额 |
nl_voices | 列出带口音、性别、等级的可用声音 |
nl_render_configure | 配置语音、背景、节奏、持续时间、上下文 |
nl_render_start | 开始音频渲染 |
nl_render_status | 检查渲染进度 |
nl_rerender | 使用当前配置重新渲染 |
nl_share / nl_unshare | 生成或撤销公共共享链接 |
nl_set_export | 导出设置为可编辑的YAML |
nl_set_import | 将编辑后的YAML应用回集合 |
nl_sync_affirmations | 声明式同步——添加、更新、删除肯定 |
示例(克劳德代码)
> Create a neuralingual set about being a great father
Creating "Present & Intentional Dad" with 30 affirmations...
Drew on Fred Rogers, Brené Brown, and John Gottman.
> Render it with Graham's voice, meditation context, 15 minutes
Configured: Meditation · Graham · Acoustic Guitar · 15m
Rendering... done.
> Play it
Downloaded to ~/.config/neuralingual/audio/abc123.mp3许可证
麻省理工学院
