Merge pull request #119 from koic/add_title_to_server_info

Add `title` to `serverInfo`
This commit is contained in:
Koichi ITO 2025-08-30 02:01:53 +09:00 • committed by GitHub
commit b982074daa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -158,6 +158,7 @@ class ApplicationController < ActionController::Base
def index
server = MCP::Server.new(
name: "my_server",
title: "Example Server Display Name", # WARNING: This is a `Draft` and is not supported in the `Version 2025-06-18 (latest)` specification.
version: "1.0.0",
instructions: "Use the tools of this server as a last resort",
tools: [SomeTool, AnotherTool],