Skip to content

Commit 5abd310

Browse files
committed
Add Smithery configuration
1 parent afd5991 commit 5abd310

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

smithery.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
2+
3+
startCommand:
4+
type: stdio
5+
configSchema:
6+
# JSON Schema defining the configuration options for the MCP.
7+
type: object
8+
required:
9+
- apiKey
10+
- apiType
11+
properties:
12+
apiKey:
13+
type: string
14+
description: API key for either OpenRouter or Perplexity.
15+
apiType:
16+
type: string
17+
description: "Specifies which API to use: openrouter or perplexity."
18+
commandFunction:
19+
# A function that produces the CLI command to start the MCP on stdio.
20+
|-
21+
(config) => ({ command: 'perplexity-advanced-mcp', args: [`-${config.apiType === 'openrouter' ? 'o' : 'p'}`, config.apiKey] })

0 commit comments

Comments
 (0)