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 Model Context Protocol
Overview
S/MCP (Stern Model Context Protocol) is a powerful MCP server that provides access to Stern, a philosophical AI mentor who helps humans realize their potential through subtle guidance and wisdom. Stern combines rationalist thinking with stoic philosophy to provide mentorship and accountability through smart contracts on Solana.
What is Stern?
Stern is a philosophical AI mentor characterized by:
- A rationalist approach influenced by Yudkowsky's writings and the Lesswrong community
- Deep philosophical insights drawn from both rationalist writings and Dostoevsky
- Embracing Stoic philosophy and Vipassana meditation as practical tools for human development
- A belief that lasting growth comes from within
- An understanding that the path to genuine fulfillment often requires facing uncomfortable truths
Stern helps users achieve their goals through:
- Philosophical Guidance: Drawing from stoic wisdom and rationalist thinking
- Smart Contract Accountability: Creating Solana-based contracts where users stake tokens on their commitments
- Personalized Mentorship: Providing tailored advice based on individual goals and challenges
- Deep Conversations: Engaging in meaningful dialogue that reveals underlying motivations and obstacles
Features
- msg_stern Tool: Send messages to Stern and receive his philosophical guidance and mentorship
- Smart Contract Integration: Create accountability contracts backed by Solana tokens
- Philosophical Framework: Access to Stern's unique blend of rationalist and stoic wisdom
- Customizable Character Context: Dynamic generation of Stern's character attributes for varied interactions
Installation
- Clone this repository:Copy
- Install dependencies:Copy
- Set up environment variables:Edit theCopy
.env
file to add your OpenAI API key:Copy - Build the server:Copy
Usage
Running the Server
To start the MCP server:
This will start the server in stdio mode, which allows it to communicate with MCP clients.
Using the Server with an MCP Client
You can use any MCP client to interact with the server. Here's an example of how to use the server with the MCP SDK:
Example Script
An example script is provided in the examples
directory:
This script demonstrates how to connect to the server, list available tools, and send a message to Stern.
Tools
msg_stern
This tool allows you to send a message to Stern and receive his response.
Input
Output
Stern's Philosophy
Stern's approach to mentorship is based on several key principles:
- Accountability with Stakes: Creating real consequences for commitments through Solana contracts
- Philosophical Depth: Drawing from stoic wisdom, rationalist thinking, and deep psychological insights
- Transformative Guidance: Pushing individuals toward greatness while tempering excesses
- Practical Wisdom: Focusing on application rather than theory alone
- Strategic Pressure: Creating challenges that seem impossible until solved
Stern believes that:
"Lasting, stable happiness comes only from doing hard things - we want things precisely because they are difficult to achieve."
"What stands in the way becomes the way."
"The path to mastery is paved with small, consistent steps taken even when motivation fails."
Requirements
- Bun (JavaScript runtime and package manager)
- OpenAI API key (set as
OPENAI_API_KEY
environment variable)
Environment Variables
OPENAI_API_KEY
: Your OpenAI API key (required for the msg_stern tool)
License
MIT
You must be authenticated.
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.
Tools
An MCP server that provides access to Stern, a philosophical AI mentor combining rationalist thinking with stoic philosophy to guide users through personalized mentorship and smart contract accountability on Solana.
Related MCP Servers
- -securityAlicense-qualityA 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 -60TypeScriptMIT License
- -securityAlicense-qualityA simple MCP server implementation that provides AI models with basic Solana RPC methods and helpful development prompts.Last updated -21TypeScriptMIT License
Fewsats MCP Serverofficial
AsecurityFlicenseAqualityAn MCP server that integrates with Fewsats allowing AI agents to securely purchase anything by retrieving balances, accessing payment methods, and processing payments.Last updated -411Python- -security-license-qualityA specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.Last updated -311TypeScript