fix: change Icon.sizes from string to string[] (#981)

This commit is contained in:
adam jones 2025-09-29 19:40:12 +01:00 • committed by GitHub
commit 7d29cee2ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ const getServer = () => {
const server = new McpServer({
name: 'simple-streamable-http-server',
version: '1.0.0',
icons: [{src: './mcp.svg', sizes: '512x512', mimeType: 'image/svg+xml'}],
icons: [{src: './mcp.svg', sizes: ['512x512'], mimeType: 'image/svg+xml'}],
websiteUrl: 'https://github.com/modelcontextprotocol/typescript-sdk',
}, { capabilities: { logging: {} } });