AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Mcp Server Tutorial

mcp-akiranuma-mcp-server-tutorial · by akiraNuma

技術書「MCPサーバー実装入門」のサンプルコード

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add mcp-akiranuma-mcp-server-tutorial

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-akiranuma-mcp-server-tutorial)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
6mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Mcp Server Tutorial? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MCP Server Application

概要

このディレクトリは、Express + TypeScript + MCP SDK を使ったMCPサーバーのサンプルプロジェクトです。

環境情報

Node.js バージョン

  • 推奨バージョン: Node.js 22.22.0 ( .node-version で指定)

バージョン管理ツールでのセットアップ

# mise を使用している場合
mise install

# nodenv を使用している場合
nodenv install 22.22.0
nodenv local 22.22.0

# nvm を使用している場合
nvm install 22.22.0
nvm use 22.22.0

セットアップ手順

  1. 依存関係のインストール
npm install
  1. 環境変数の設定
cp .env.example .env
# .envファイルを編集して適切な値を設定してください
  1. サーバー起動(開発モード)
npm run dev

エンドポイント

  • http://localhost:3000/mcp(デフォルト設定の場合)

デバッグ用ツール

npx @modelcontextprotocol/inspector

(応用編)Redmine連携機能

実践的なサンプルとして、Redmine APIと連携するツールを実装しています。チケットの取得・作成・更新が可能です。

必要なヘッダー

MCPクライアントから以下のヘッダーを送信してください。

| ヘッダー | 説明 | | ------------------- | ------------------------------------------------------- | | x-redmine-url | RedmineのベースURL(例: https://redmine.example.com) | | x-redmine-api-key | Redmine APIキー |

Redmine APIキーの取得方法

  1. Redmine管理者に「REST APIを有効にする」設定を依頼(管理 → 設定 → API)
  2. Redmineにログイン
  3. 右上のアカウント名 → 「個人設定」
  4. 右ペインの「APIアクセスキー」欄で「表示」をクリック

クライアント設定例(VS Code)

# mcp.json
{
  "servers": {
    "redmine-mcp": {
      "type": "http",
      "url": "http://localhost:3000/mcp",
      "headers": {
        "x-redmine-url": "https://your-redmine.example.com",
        "x-redmine-api-key": "your-api-key-here"
      }
    }
  }
}

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.