Skip to main content

manifest.jsonリファレンス

repository rootのmanifest.jsonは、Unity UPM用MCPForUnity/package.jsonとは別に、MCP marketplace / aggregator向けのpackage metadataを記述します。

top-level field

FieldType内容
manifest_versionstringmanifest schema version
namestring表示名
versionstringrelease semver
descriptionstringproduct説明
author.namestringmaintainer表示名
author.urlstringmaintainer URL
repository.typestring通常git
repository.urlstringcanonical repository URL
homepagestringhomepage
documentationstringdocs landing URL
supportstringIssue等のsupport URL
iconstringmanifestからの相対icon path

server

Python serverの起動方法をaggregatorへ伝えます。

"server": {
"type": "python",
"entry_point": "Server/src/main.py",
"mcp_config": {
"command": "uvx",
"args": ["--from", "mcpforunityserver", "mcp-for-unity"],
"env": {}
}
}
  • type — runtime family
  • entry_point — server entry file
  • mcp_config.command / args — 推奨起動command
  • mcp_config.env — 起動時environment variable

tools

{name, description}のflat arrayで、marketplaceがlive serverを起動せずtool catalogを表示するために使います。

parameterを含む最も詳しいtool metadataの正本はPython registryです。Tool referenceはそこから自動生成されます。

他のmanifestとの違い

  • MCP marketplace: repository root manifest.json
  • Unity UPM: MCPForUnity/package.json
  • Python package: Server/pyproject.toml

似たmetadataを持ちますが別surfaceです。versionやrenameを行う場合はそれぞれの役割を確認します。

MCPB bundle生成にはtools/generate_mcpb.pyを使用します。

現在のmanifest自体はrepository rootのmanifest.jsonを正本として確認してください。