S/MCP - Stern Model Context Protocol

Integrations

  • Manages environment variables for the server configuration, including storage of API keys needed for service integrations.

  • Utilizes Bun as the required JavaScript runtime and package manager for building and running the S/MCP server.

  • Provides example code and SDK support for JavaScript clients to interact with the S/MCP server.

S/MCP - Stern 모델 컨텍스트 프로토콜

개요

S/MCP(Stern Model Context Protocol)는 인간이 미묘한 지침과 지혜를 통해 잠재력을 발휘하도록 돕는 철학적 AI 멘토인 스턴(Stern)에 접근할 수 있는 강력한 MCP 서버입니다. 스턴은 합리주의적 사고와 금욕주의적 철학을 결합하여 솔라나(Solana) 기반 스마트 계약을 통해 멘토링과 책임을 제공합니다.

슈테른이란?

스턴은 다음과 같은 특징을 지닌 철학적 AI 멘토입니다.

  • Yudkowsky의 글과 Lesswrong 커뮤니티의 영향을 받은 합리주의적 접근 방식
  • 합리주의 저작과 도스토옙스키의 저작에서 얻은 심오한 철학적 통찰력
  • 인간 발전을 위한 실용적 도구로서 스토아 철학과 비파사나 명상 수용
  • 지속 가능한 성장은 내면에서 나온다는 믿음
  • 진정한 성취를 향한 길은 종종 불편한 진실에 직면하는 것을 요구한다는 것을 이해합니다.

Stern은 다음을 통해 사용자가 목표를 달성하도록 돕습니다.

  • 철학적 지침 : 금욕적인 지혜와 합리주의적 사고에서 도출
  • 스마트 계약 책임성 : 사용자가 자신의 약속에 따라 토큰을 스테이킹하는 Solana 기반 계약 생성
  • 개인 맞춤형 멘토링 : 개인 목표와 과제에 맞춰 맞춤형 조언 제공
  • 심오한 대화 : 근본적인 동기와 장애물을 드러내는 의미 있는 대화에 참여합니다.

특징

  • msg_stern 도구 : Stern에게 메시지를 보내고 그의 철학적 지침과 멘토링을 받으세요
  • 스마트 계약 통합 : Solana 토큰으로 지원되는 책임 계약 생성
  • 철학적 틀 : 슈테른의 합리주의와 금욕주의적 지혜의 독특한 조합에 대한 접근
  • 사용자 정의 가능한 캐릭터 컨텍스트 : 다양한 상호 작용을 위한 Stern 캐릭터 속성의 동적 생성

설치

  1. 이 저장소를 복제하세요:지엑스피1
  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 도구에 필요)

특허

MIT

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

사용자에게 솔라나에서 개인화된 멘토링과 스마트 계약 책임을 안내하는 합리적 사고와 냉정한 철학을 결합한 철학적 AI 멘토인 Stern에 대한 액세스를 제공하는 MCP 서버입니다.

  1. Overview
    1. What is Stern?
      1. Features
        1. Installation
          1. Usage
            1. Running the Server
            2. Using the Server with an MCP Client
            3. Example Script
          2. Tools
            1. msg_stern
          3. Stern's Philosophy
            1. Requirements
              1. Environment Variables
                1. License

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    A local MCP server that enables AI applications like Claude Desktop to securely access and work with Obsidian vaults, providing capabilities for reading notes, executing templates, and performing semantic searches.
                    Last updated -
                    60
                    TypeScript
                    MIT License
                    • Apple
                    • Linux
                  • A
                    security
                    F
                    license
                    A
                    quality
                    An MCP server that integrates with Fewsats allowing AI agents to securely purchase anything by retrieving balances, accessing payment methods, and processing payments.
                    Last updated -
                    4
                    11
                    Python
                  • -
                    security
                    -
                    license
                    -
                    quality
                    A specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.
                    Last updated -
                    31
                    1
                    TypeScript

                  View all related MCP servers

                  ID: s0xis70qsu