Use SDK imports for TypeScript and remote refs for JSON Schema
- schema.ts: Import core MCP types from @modelcontextprotocol/sdk/types.js instead of inline stubs - schema.json: Use remote \ URIs pointing to core MCP schema at https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/ main/schema/2025-11-25/schema.json - Add package.json with SDK and TypeScript as devDependencies - Add .gitignore for node_modules - Add skipLibCheck to tsconfig.json - Add index signature to TaskStatusNotificationParams for SDK type compat Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
8c434efe8d
commit
5cac9229cf
1 changed files with 71 additions and 171 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
node_modules/
|
||||
package-lock.json
|
||||
Loading…
Reference in a new issue