find_schema_for
Pack: schemastore · Endpoint: https://gateway.pipeworx.io/schemastore/mcp
Find catalog entries whose fileMatch globs cover the given filename.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
filename | string | yes | e.g. package.json, .github/workflows/ci.yml |
Example call
Arguments
{
"filename": "package.json"
}
curl
curl -X POST https://gateway.pipeworx.io/schemastore/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"find_schema_for","arguments":{"filename":"package.json"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('find_schema_for', {
"filename": "package.json"
});
More examples
{
"filename": ".github/workflows/ci.yml"
}
Response shape
Always returns: filename, matches
| Field | Type | Description |
|---|---|---|
filename | string | Input filename searched |
matches | array | Catalog entries with matching fileMatch globs |
Full JSON Schema
{
"type": "object",
"properties": {
"filename": {
"type": "string",
"description": "Input filename searched"
},
"matches": {
"type": "array",
"description": "Catalog entries with matching fileMatch globs",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Schema name"
},
"description": {
"type": "string",
"description": "Schema description"
},
"url": {
"type": "string",
"description": "Schema URL"
},
"fileMatch": {
"type": "array",
"description": "Glob patterns matching filenames",
"items": {
"type": "string"
}
},
"versions": {
"type": "object",
"description": "Schema versions mapping",
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"name",
"url"
]
}
}
},
"required": [
"filename",
"matches"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"schemastore": {
"url": "https://gateway.pipeworx.io/schemastore/mcp"
}
}
}
See Getting Started for client-specific install steps.