XA

xakpc/anymcp-io

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

60 stars 9 forks 品質 76 トレンド 21MIT

.NET 10 用の単一ファイル MCP サーバーのカタログ

概要

.NET 10. 用の単一ファイル MCP (Model Context Protocol) サーバーの静的サイトカタログ これらのサーバーは、C# で書かれ、ローカル MCP 接続をサポートする LLM と連携します。 各サーバーは1つのファイルです。 それはあなたの機械に、ないプロジェクトに、取付けます。 プロジェクトのルートから: MCP クライアントごとにサーバーファイルが共有されます。 コンフィギュレーションファイルはありません。 (claude デスクトップ、カーソル、Windsurf) は .mcp.json を読みます: Codex は、信頼できるプロジェクトからのみプロジェクトコンフィグをロードします。そのため、個人的な ~/.codex/config.toml は、trust level = "trusted" で [projects.' '] も必要です。 Windows では、プレーン C:\Users... パスを使用して、拡張 \?\C:... フォーム — Codex は、2 が一致しない場合、プロジェクトコンフィグを静かに無視します。 エントリーを信頼し、プロジェクトのインストールにコードx mcp add を実行しないでください。サーバーをグローバルに登録します。 [https://anymcp.net/install/codex.md.のフルステップ .mcp-servers/date-times-mcp をコミットします.

概要(AI 翻訳)

.NET 10. 用の単一ファイル MCP (Model Context Protocol) サーバーの静的サイトカタログ これらのサーバーは、C# で書かれ、ローカル MCP 接続をサポートする LLM と連携します。

サーバーを使用する

各サーバーは1つのファイルです。 それはあなたの機械に、ないプロジェクトに、取付けます。 根元から プロジェクト:

MCP クライアントごとにサーバーファイルが共有されます。 コンフィギュレーションファイルはありません。

Claude Code (また、Claudeデスクトップ、Cursor、Windsurf) 読み込み [[.mcp.json]:

Codex 読み込み [.codex/config.toml]:

Codex は、信頼できるプロジェクトからのみプロジェクトコンフィグを読み込むので、個人的な [~/.codex/config.toml [projects.' '] を [trust_level = "trusted"] で必要です。 Windows では plain を使用します [C:\Users\... パス、拡張しない[\\?\C:\...] フォーム — Codex はプロジェクト config を無視します。 2 が一致しないとき。 プロジェクトの codex mcp add を実行していないと、その信頼エントリをコミットしないでください。 インストール: 代わりにサーバーをグローバルに登録します。 完全なステップ。

Commit [.mcp-servers/date-times-mcp.cs と、クライアントのコンフィグと、プロジェクトをクローンする全員 サーバを取得します。 パスは相対的なので、すべてのオペレーティングシステムで動作します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

AnyMCP - MCP Server Catalog

A static site catalog of single-file MCP (Model Context Protocol) servers for .NET 10. These servers written with C# and works with any LLM that supports local MCP connections.

Using a server

Every server is one file. It installs into a project, not into your machine. From the root of the project:

mkdir -p .mcp-servers
curl -fsSL -o .mcp-servers/date-times-mcp.cs https://anymcp.net/servers/date-times-mcp/date-times-mcp.cs
dotnet build .mcp-servers/date-times-mcp.cs -v q

The server file is shared by every MCP client. The configuration file is not — pick yours:

Claude Code (also Claude Desktop, Cursor, Windsurf) reads .mcp.json:

claude mcp add date-times-mcp --scope project -- dotnet run ./.mcp-servers/date-times-mcp.cs -v q

Codex reads .codex/config.toml:

[mcp_servers.date-times-mcp]
command = "dotnet"
args = [
    "run",
    "./.mcp-servers/date-times-mcp.cs",
    "-v",
    "q",
]
startup_timeout_sec = 60

Codex loads a project config only from a trusted project, so your personal ~/.codex/config.toml also needs [projects.''] with trust_level = "trusted". On Windows use the plain C:\Users\... path, not the extended \\?\C:\... form — Codex silently ignores the project config when the two don’t match. Don’t commit that trust entry, and don’t run codex mcp add for a project install: it registers the server globally instead. Full steps at .

Commit .mcp-servers/date-times-mcp.cs and your client’s config, and everyone who clones the project gets the server. The path is relative, so it works on every operating system.

The build adds no bin or obj directory to the project: a file-based app is not a project, so the SDK caches the compiled output under your temp directory. .gitignore needs no new line.

-v q is required: standard output carries the JSON-RPC stream, and without it the build output can reach that stream and break the connection.

Use --scope user with an absolute path instead to install a server for every project.

The full procedure, including the .NET 10 SDK prerequisite and the configuration shape for each client, is at . Every server also has its own page:

Resource URL
Catalog index for agents
Catalog as JSON
Claude Code setup
Codex setup
One server, for an agent https://anymcp.net/servers//index.md
One server, raw C# https://anymcp.net/servers//.cs

Contributing

Want to add your MCP server to the catalog? See CONTRIBUTING.md for detailed instructions.

Adding New Servers

Create a .cs file in the mcp/ directory with YAML front matter in comments:

// ---
// id: my-server
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →