Sponsored by Deepsite.site

Blue Prince Architect Notes (MCP Server)

Created By
myungbeans6 months ago
MCP Server for local notes while playing through Blue Prince
Content

Blue Prince Architect Notes (MCP Server)

This repository contains the code for an MCP (Multi-Agent Communication Protocol) server designed to act as a dedicated note-taking and brainstorming assistant specifically tailored for playing the game Blue Prince.

By integrating with an Obsidian vault, this server allows an AI agent (or any MCP client) to interact with your game notes, helping you track characters, locations, items, lore, puzzles, and general thoughts as you explore the mysterious world of Blue Prince.

Features

  • MCP Server: Implements the MCP protocol to expose note-taking capabilities as tools.
  • Obsidian Vault Integration: Stores notes directly within a local Obsidian vault directory structure.
  • Structured Notes: Enforces a predefined directory structure within the vault (/people, /puzzles, /rooms, /items, /lore, /general) to help organize information and facilitate targeted AI interactions.
  • Basic Note Management Tools: Provides initial tools for listing files (representing notes) within the vault. (Future tools will include Create, Read, Update, and Delete operations).
  • Setup Utility: A convenient Go program (cmd/setup) to initialize the Obsidian vault directory and configure the server's config.yaml.
  • Configuration: Uses a config.yaml file for server settings and vault location.
  • Structured Logging: Utilizes go.uber.org/zap for improved logging.

Getting Started

Prerequisites

  • Go (version 1.20 or higher recommended)
  • An MCP client (e.g., a compatible AI agent or a testing tool)
  • Git

Setup

  1. Clone the repository:

    git clone https://github.com/your_username/blueprince-mcp.git # Replace with your repo URL
    cd blueprince-mcp
    
  2. Run the setup utility: This program will create the necessary Obsidian vault directory structure and update your config.yaml file with the vault's path.

    By default, it will create the vault at ~/Documents/blueprince_mcp/.

    go run ./cmd/setup
    

    Alternatively, you can specify a custom path for your vault:

    go run ./cmd/setup /path/to/your/custom/vault
    

    The setup utility will ensure the required subdirectories (people, puzzles, rooms, items, lore, general) exist within the vault.

  3. Review config.yaml: The setup utility updates config.yaml with the obsidian_vault_path. You can review this file and adjust other settings like server.host or server.port if needed.

    # Example config.yaml
    server:
      host: "localhost"
      port: 8001
    
    obsidian_vault_path: "/Users/michael.myung/Documents/blueprince_mcp" # This will be set by the setup script
    backup_dir_name: ".obsidian_backup" # Directory name for potential future backups within the vault
    

Running the Server

Make sure you are in the project root directory.

go run ./cmd/server/main.go

The server will start and listen for MCP connections on the configured host and port (defaulting to localhost:8001).

Connecting an MCP Client

Connect your MCP client to the server address (localhost:8001 by default). The client should then be able to discover and use the available tools (currently list_notes and hello_world).

Project Structure

  • cmd/server: Contains the main MCP server application.
  • cmd/setup: Contains the utility program for initial setup.
  • cmd/server/config: Configuration loading logic.
  • runtime/handlers: Placeholder and initial implementations for tool handlers (e.g., list.go).
  • runtime/utils: Common utility functions (e.g., file system operations in files.go).

Future Development

  • Implement full CRUD (Create, Read, Update, Delete) operations for notes.
  • Implement a search tool for notes.
  • Add more sophisticated note parsing and structuring capabilities.
  • Explore additional tools for brainstorming and game assistance.

Contributing

Contributions are welcome! Please feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Amap Maps高德地图官方 MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Serper MCP ServerA Serper MCP Server
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
DeepChatYour AI Partner on Desktop
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
WindsurfThe new purpose-built IDE to harness magic
Playwright McpPlaywright MCP server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
CursorThe AI Code Editor
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.