Skip to main content

Prompt synchronization MCP server

Project description

Shinkuro - Prompt synchronization MCP server

PyPI - Version

Loads markdown files from a local folder or git repository and serves them as MCP prompts.

Useful when you need to share prompts across organizations.

Usage

Local Files

Add to your MCP client configuration:

{
  "mcpServers": {
    "shinkuro": {
      "command": "uvx",
      "args": ["shinkuro"],
      "env": {
        "FOLDER": "/path/to/prompts"
      }
    }
  }
}

Git Repository

Add to your MCP client configuration:

{
  "mcpServers": {
    "shinkuro": {
      "command": "uvx",
      "args": ["shinkuro"],
      "env": {
        "GIT_URL": "https://github.com/owner/repo.git",
        "FOLDER": "" // optional, subfolder within git repo
      }
    }
  }
}

This will clone the repository into a local cache dir. Make sure you have correct permission.

Environment Variables

  • FOLDER: Path to local folder containing markdown files, or subfolder within git repo
  • GIT_URL: Git repository URL (supports GitHub, GitLab, SSH, HTTPS with credentials)
  • CACHE_DIR: Directory to cache cloned repositories (optional, defaults to ~/.shinkuro/remote)
  • AUTO_PULL: Whether to pull latest changes if repo exists locally (optional, defaults to false)

Prompt Loading

Each markdown file in the specified folder is loaded as a prompt.

Example folder structure:

my-prompts/
├── code-review.md
├── dev.md
└── commit.md

Example Prompt Files

Simplest

Commit to git using conventional commit.

Prompt with Metadata

---
name: "code-review" # optional, defaults to filename
title: "Code Review Assistant" # optional, defaults to filename
description: "" # optional, defaults to file path
---

# Code Review

Please review this code for best practices and potential issues.

Prompt with Arguments

---
name: "greeting"
description: "Generate a personalized greeting message"
arguments:
  - name: "user"
    description: "Name of the user"
    # no default = required parameter
  - name: "project"
    description: "Project name"
    default: "MyApp"
---

Say: Hello {user}! Welcome to {project}. Hope you enjoy your stay!

Variables like {user} and {project} will be replaced with actual values when the prompt is retrieved. Use {{var}} (double brackets) to escape and display literal brackets.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shinkuro-0.3.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shinkuro-0.3.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file shinkuro-0.3.0.tar.gz.

File metadata

  • Download URL: shinkuro-0.3.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for shinkuro-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8020f40f802f62c8c7250c2a4a7e89dbe559e18f61737c70c2a6c1180fb91f72
MD5 5801a9a39e7bb4cc2309c176b490f0d0
BLAKE2b-256 b9df5b85886b4d4c2e30acd14df5c3220fdc4c0f6021848bd0365cda7afc1598

See more details on using hashes here.

Provenance

The following attestation bundles were made for shinkuro-0.3.0.tar.gz:

Publisher: publish.yml on DiscreteTom/shinkuro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file shinkuro-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: shinkuro-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for shinkuro-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54471d5220e723ae3e0b9c5b44b7e41acfd2a038c8074ef4ae00d1cb7a6a4059
MD5 6154fb7e787310f04622504ef0163cce
BLAKE2b-256 f0d4a7337831efbd38b19d58c53969e2ef8d7ff22a53e00f152ac3785db7cd3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for shinkuro-0.3.0-py3-none-any.whl:

Publisher: publish.yml on DiscreteTom/shinkuro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page