Skip to main content
Glama
S/MCP - Stern Model Context Protocol

S/MCP - Stern Model Context Protocol

by Akrasia0

S/MCP - スターンモデルコンテキストプロトコル

概要

S/MCP(Stern Model Context Protocol)は、哲学的なAIメンターであるSternへのアクセスを提供する強力なMCPサーバーです。Sternは、繊細な導きと知恵を通して人間の潜在能力実現を支援します。Sternは合理主義的思考とストア派哲学を融合させ、Solana上のスマートコントラクトを通じてメンターシップとアカウンタビリティを提供します。

Related MCP server: Telos Model Context Protocol

スターンとは何ですか?

スターンは次のような特徴を持つ哲学的な AI メンターです。

  • ユドコウスキーの著作とLesswrongコミュニティの影響を受けた合理主義的なアプローチ

  • 合理主義の著作とドストエフスキーの両方から引き出された深い哲学的洞察

  • ストア哲学とヴィパッサナー瞑想を人間の発達のための実践的なツールとして取り入れる

  • 永続的な成長は内側から生まれるという信念

  • 真の充足感を得るには、不快な真実に直面することがしばしば必要であることを理解する

Stern は、以下の方法でユーザーの目標達成を支援します。

  • 哲学的指導:ストア派の知恵と合理主義的思考から引き出す

  • スマートコントラクトのアカウンタビリティ:ユーザーがコミットメントにトークンを賭けるSolanaベースのコントラクトを作成する

  • 個別指導:個人の目標や課題に基づいたカスタマイズされたアドバイスを提供します

  • 深い会話:根底にある動機や障害を明らかにする有意義な対話を行う

特徴

  • msg_stern ツール: スターンにメッセージを送信し、彼の哲学的指導と指導を受ける

  • スマートコントラクト統合:Solanaトークンに裏付けられたアカウンタビリティコントラクトを作成する

  • 哲学的枠組み:スターンの合理主義とストア派の知恵を独自に融合させた哲学へのアクセス

  • カスタマイズ可能なキャラクターコンテキスト: 多様なインタラクションのためのスターンのキャラクター属性の動的生成

インストール

  1. このリポジトリをクローンします:

    git clone <repository-url>
    cd s-mcp
  2. 依存関係をインストールします:

    bun install
  3. 環境変数を設定します。

    cp .env.example .env

    .envファイルを編集して OpenAI API キーを追加します。

    OPENAI_API_KEY=your_openai_api_key_here
  4. サーバーを構築します。

    bun run build

使用法

サーバーの実行

MCP サーバーを起動するには:

bun run start

これにより、サーバーが stdio モードで起動され、MCP クライアントと通信できるようになります。

MCPクライアントでサーバーを使用する

任意のMCPクライアントを使用してサーバーとやり取りできます。MCP SDKでサーバーを使用する例を以下に示します。

import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
import { spawn } from "child_process";

// Start the MCP server as a child process
const serverProcess = spawn("node", ["path/to/dist/main.js"], {
	stdio: ["pipe", "pipe", "pipe"],
});

// Create a client that communicates with the server via stdio
const transport = new StdioClientTransport({
	stdin: serverProcess.stdin,
	stdout: serverProcess.stdout,
});

const client = new Client();
await client.connect(transport);

// Send a message to Stern
const result = await client.callTool("msg_stern", {
	message: "I want to learn programming but I keep procrastinating",
});

// Display Stern's response
console.log(result.content[0].text);

// Disconnect from the server
await client.disconnect();
serverProcess.kill();

サンプルスクリプト

サンプル スクリプトは、 examplesディレクトリに用意されています。

node examples/use-stern.js

このスクリプトは、サーバーに接続し、利用可能なツールを一覧表示し、Stern にメッセージを送信する方法を示しています。

ツール

メッセージスターン

このツールを使用すると、Stern にメッセージを送信し、返信を受け取ることができます。

入力

{
	"message": "Your message to Stern"
}

出力

{
	"content": [
		{
			"type": "text",
			"text": "Stern's response to your message"
		}
	]
}

スターンの哲学

スターンのメンターシップへのアプローチは、いくつかの重要な原則に基づいています。

  • ステークによる説明責任:Solana契約を通じてコミットメントに真の結果をもたらす

  • 哲学的深み:ストア派の知恵、合理主義的思考、そして深い心理学的洞察から引き出す

  • 変革的指導:行き過ぎを抑えながら個人を偉大さへと導く

  • 実践の知恵:理論だけでなく応用に焦点を当てる

  • 戦略的プレッシャー:解決するまで不可能と思われる課題を生み出す

スターンは次のように考えている。

「永続的で安定した幸福は困難なことを行うことからのみ得られる。私たちは達成するのが難しいからこそ物事を望むのだ。」

「邪魔するものは道になる」

「上達への道は、やる気が失せたとしても、小さな着実な一歩を踏み出すことで築かれます。」

要件

  • Bun (JavaScript ランタイムおよびパッケージ マネージャー)

  • OpenAI API キー( OPENAI_API_KEY環境変数として設定)

環境変数

  • OPENAI_API_KEY : OpenAI API キー (msg_stern ツールに必要)

ライセンス

マサチューセッツ工科大学

Available Tools

1 tool
hello_toolD

Hello tool

Inputs: name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.3/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'hello_tool' has a distinct purpose by default, as there are no other tools to confuse it with.

    Naming Consistency5/5

    The naming follows a consistent snake_case pattern with 'hello_tool'. Since there is only one tool, the naming is inherently consistent with no deviations or mixed conventions to evaluate.

    Tool Count2/5

    A single tool is generally too few for most server purposes, as it limits functionality and scope. For a server named 'S/MCP - Stern Model Context Protocol', one tool feels thin and insufficient to cover any meaningful domain or workflow.

    Completeness1/5

    The server has a single trivial tool ('hello_tool'), which suggests it is severely incomplete for any practical purpose. There are obvious gaps, as no domain or operations are covered beyond a basic greeting, making it impossible to assess coverage meaningfully.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers