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:
parent
bf81793991
commit
217756edf7
1 changed files with 51 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue