让 Cursor 等 AI 助手把 Markdown 内容保存为印象笔记中的笔记,并可测试连接状态。
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add a8ba6b --env YINXIANG_AUTH_TOKEN='<YINXIANG_AUTH_TOKEN>' -- npx yxbj-mcp~/.codex/config.toml
[mcp_servers.a8ba6b]
command = "npx"
args = ["yxbj-mcp"]
env = { YINXIANG_AUTH_TOKEN = "<YINXIANG_AUTH_TOKEN>" }
# codex mcp add a8ba6b --env YINXIANG_AUTH_TOKEN='<YINXIANG_AUTH_TOKEN>' -- npx yxbj-mcp~/.cursor/mcp.json
{
"mcpServers": {
"a8ba6b": {
"command": "npx",
"args": [
"yxbj-mcp"
],
"env": {
"YINXIANG_AUTH_TOKEN": "<YINXIANG_AUTH_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"a8ba6b": {
"type": "stdio",
"command": "npx",
"args": [
"yxbj-mcp"
],
"env": {
"YINXIANG_AUTH_TOKEN": "<YINXIANG_AUTH_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"a8ba6b": {
"command": "npx",
"args": [
"yxbj-mcp"
],
"env": {
"YINXIANG_AUTH_TOKEN": "<YINXIANG_AUTH_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"a8ba6b": {
"command": "npx",
"args": [
"yxbj-mcp"
],
"env": {
"YINXIANG_AUTH_TOKEN": "<YINXIANG_AUTH_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"a8ba6b": {
"command": "npx",
"args": [
"yxbj-mcp"
],
"env": {
"YINXIANG_AUTH_TOKEN": "<YINXIANG_AUTH_TOKEN>"
}
}
}
}Environment variables
YINXIANG_AUTH_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.