About My Mcp Server
My Mcp Server is a personal-use MCP server with tools for collecting news and retrieving IT hot entries. It can also scrape a web page for more detail on a selected topic.
Key features
- 01News collection tool
- 02IT hot-entry retrieval
- 03Web-page scraping for details
Use cases
- 01Collecting news about Apple
- 02Retrieving IT hot entries
- 03Reading more about a selected item
MCP support
The README describes configuring this local server in Claude Desktop or Cursor; it does not specify the MCP tools' implementation details.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEサーバ起動
npm install
npm run build
node ./build/index.js
Claude Desktopでの使い方
claude_desktop_config.jsonにローカルのmy-mcp-server/build/index.jsのパスとNews APIのパスを設定してください。
コードを書き換えた場合はnpm run buildを実行して変更を反映させてください
Cursorでの使い方
ヘッダのPreference→Cursor Settings→MCPからClaudeと同じようにjsonで設定を追加してください
MCP設定jsonの例
{
"mcpServers": {
"myMcpServer": {
"command": "node",
"args": [
"/Users/ikegayayuuki/workspace/my-mcp-server/build/index.js"
],
"env": {
"NEWS_API_KEY": "xxxxxx",
"NOTION_TOKEN": "xxxxxx"
}
}
}
}
プロンプト例
ニュース収集Toolを実行する場合
Appleのニュースを収集して
ITホットエントリー取得Toolを実行する場合
ITホットエントリーを取得して
→気になった情報があれば「〇〇について詳しく教えて」などど入力するとwebページの内容スクレイピングしてくれます
prettier
npm run prettier
メモ
MACのホストで開発しているのでnodeの管理が必要
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
nvm install node
プロジェクト作成
npm init -y
npm install typescript
npx tsc --init
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.