mcp: update SDK for SEP 973 + add to example server (#904)

Co-authored-by: David Soria Parra <167242713+dsp-ant@users.noreply.github.com>
This commit is contained in:
Jesse Lumarie 2025-09-09 07:21:03 -04:00 • committed by GitHub
commit 217756edf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,9 @@ const strictOAuth = process.argv.includes('--oauth-strict');
const getServer = () => {
const server = new McpServer({
name: 'simple-streamable-http-server',
version: '1.0.0'
version: '1.0.0',
icons: [{src: './mcp.svg', sizes: '512x512', mimeType: 'image/svg+xml'}],
websiteUrl: 'https://github.com/modelcontextprotocol/typescript-sdk',
}, { capabilities: { logging: {} } });
// Register a simple tool that returns a greeting