小白如何在cursor中使用mcp服务——以使用notion的api为例

  1. 首先安装node.js,在这一步的时候不要勾选不要勾选
  1. 安装完之后,前往notion页面

我的创作者个人资料 | Notion

前往集成页面,添加新集成,自己输入名字,选择内部

新建完之后,进入选择只读

复制密匙

然后前往cursor页面

新建MCP

复制代码
{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "@suekou/mcp-notion-server"],
      "env": {
        "NOTION_API_TOKEN": "your-integration-token"
      }
    }
  }
}

这里的apikey需要换成自己的

重启cursor即可调用

如果担心json格式耗费的token太多,可以选择转换为markdown格式

复制代码
{
  "mcpServers": {
    "notion": {
      "command": "npx",
      "args": ["-y", "@suekou/mcp-notion-server"],
      "env": {
        "NOTION_API_TOKEN": "your-integration-token",
        "NOTION_MARKDOWN_CONVERSION": "true"
      }
    }
  }
}
相关推荐
Just_Paranoid11 天前
华为云Flexus+DeepSeek征文|基于Dify构建解析网页写入Notion笔记工作流
华为云·notion·dify·deepseek·firecrawl·flexusx
子非鱼@Itfuture3 个月前
notion访问慢notion卡顿怎么办,提升notion加载速度
notion
没事学点编程小知识4 个月前
Notion的AI布局:Notion Mail即将上线
人工智能·notion
罗技1235 个月前
打造智能语料库:通过Coco AI Server 实现 Notion 笔记 RAG 检索功能
人工智能·笔记·notion
AI完全体6 个月前
【AI日记】25.01.11 Weights & Biases | AI 笔记 notion
人工智能·笔记·机器学习·读书·notion·kaggle 比赛
Maxx Space9 个月前
828华为云征文|部署个人知识管理系统 SiyuanNote
linux·git·docker·华为云·github·notion
hong16168810 个月前
Notion使用详解一基础教程
notion
shiming887910 个月前
Notion使用详解一基础教程
notion