Merge pull request #119 from koic/add_title_to_server_info
Add `title` to `serverInfo`
This commit is contained in:
commit
b982074daa
1 changed files with 19 additions and 1 deletions
|
|
@ -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],
|
||||
|
|
|
|||
Loading…
Reference in a new issue