MCP.so
ログイン

TinaCMS MCP Server (C#)

@calumjs

基本情報

カテゴリ

その他

トランスポート

stdio

作者

calumjs

TinaCMS MCP Server について

A Model Context Protocol (MCP) Server built with C# to manage TinaCMS file-based content via MCP tools.

TinaCMS MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "TinaMCP": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "dotnet",
        "bin/Debug/net8.0/TinaMcpServer.dll"
      ]
    }
  }
}

TinaCMS MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is TinaCMS MCP Server (C#)?

The TinaCMS MCP Server (C#) is a standalone server that implements the Model Context Protocol (MCP) using the official C# SDK. It enables AI models or other MCP clients to list, read, create, update, and delete content files within a local TinaCMS project repository.

How to use TinaCMS MCP Server (C#)?

Clone the source, set the RootPath in appsettings.json to the absolute path of your TinaCMS project, restore dependencies with dotnet restore, and build with dotnet build. Run the server through an MCP client (e.g., MCP Inspector) by executing npx @modelcontextprotocol/inspector dotnet bin/Debug/net8.0/TinaMcpServer.dll. The server communicates via standard input/output (Stdio transport).

Key features of TinaCMS MCP Server (C#)

  • Connects to a local TinaCMS project directory.
  • Uses standard MCP Stdio transport.
  • Provides tools for listing collections and documents.
  • Supports creating, reading, updating, deleting documents.
  • Offers move, copy, and rename operations.
  • Reads and updates YAML frontmatter (metadata).
  • Reads TinaCMS generated schema (.tina/schema.json).
  • Includes basic path validation and security checks.

Use cases of TinaCMS MCP Server (C#)

  • AI assistant listing all content collections in a TinaCMS site.
  • Automated tool reading a document’s full content or frontmatter.
  • Creating a new blog post or page within a collection.
  • Updating or deleting existing documents programmatically.
  • Moving or copying documents between locations in the content tree.

よくある質問

1

What runtime does the server require?

It requires the .NET 8 SDK (or later) to build and run.

2

How do I point the server to my TinaCMS project?

Edit `appsettings.json` and set the `TinaProject.RootPath` value to the full, absolute path of your TinaCMS project’s root directory (the one containing the `.tina` folder).

3

What transport protocol does the server use?

It uses the MCP Stdio transport – standard input/output for communication with an MCP client.

4

How can I test the server’s tools?

Run the official MCP Inspector: `npx @modelcontextprotocol/inspector dotnet bin/Debug/net8.0/TinaMcpServer.dll` (after building), then open the provided URL in a browser to list and invoke tools.

5

Does the server have security or validation measures?

Yes, it includes basic path validation and security checks to prevent operations outside the project root.

コメント

「その他」の他のコンテンツ