Skip to content

feat: add default property to input schema definition - #12

Merged
its-mash merged 1 commit into
mainfrom
feat/input-default-values
Feb 12, 2026
Merged

feat: add default property to input schema definition#12
its-mash merged 1 commit into
mainfrom
feat/input-default-values

Conversation

@its-mash

Copy link
Copy Markdown
Member

Add default field to the input definition in the JSON schema, aligning the schema with the Rust types that already support it. Includes a schema validation test for inputs with defaults.

New Server Definition

Server Name:
Server ID:
Transport: stdio / http
Repository:

Checklist

  • JSON file placed in servers/ directory
  • File name matches server ID (e.g., com.example.server.json)
  • Schema validates (npm run validate servers/your-file.json)
  • No ID/alias conflicts (npm run check-conflicts)
  • Required fields: id, name, transport
  • Description provided
  • At least one category assigned
  • Publisher information included
  • Repository link provided

Add `default` field to the input definition in the JSON schema, aligning
the schema with the Rust types that already support it. Includes a
schema validation test for inputs with defaults.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@its-mash
its-mash merged commit 5315511 into main Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant