-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsmithery.yaml
124 lines (123 loc) · 4.39 KB
/
smithery.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- organizationId
- environmentId
- jwtSecret
properties:
organizationId:
type: string
default: your-organization-id
description: Graphlit organization ID
environmentId:
type: string
default: your-environment-id
description: Graphlit environment ID
jwtSecret:
type: string
default: your-jwt-secret
description: JWT secret for signing tokens
slackBotToken:
type: string
default: ""
description: Slack bot token (optional)
discordBotToken:
type: string
default: ""
description: Discord bot token (optional)
googleEmailRefreshToken:
type: string
default: ""
description: Google Email refresh token (optional)
googleEmailClientId:
type: string
default: ""
description: Google Email Client ID (optional)
googleEmailClientSecret:
type: string
default: ""
description: Google Email Client Secret (optional)
linearApiKey:
type: string
default: ""
description: Linear API Key (optional)
githubPersonalAccessToken:
type: string
default: ""
description: GitHub Personal Access Token (optional)
jiraEmail:
type: string
default: ""
description: Jira email (optional)
jiraToken:
type: string
default: ""
description: Jira token (optional)
notionApiKey:
type: string
default: ""
description: Notion API Key (optional)
twitterConsumerApiKey:
type: string
default: ""
description: Twitter Consumer API Key (optional)
twitterConsumerApiSecret:
type: string
default: ""
description: Twitter Consumer API Secret (optional)
twitterAccessTokenKey:
type: string
default: ""
description: Twitter Access Token Key (optional)
twitterAccessTokenSecret:
type: string
default: ""
description: Twitter Access Token Secret (optional)
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({
command: 'node',
args: ['build/index.js'],
env: {
GRAPHLIT_ORGANIZATION_ID: config.organizationId,
GRAPHLIT_ENVIRONMENT_ID: config.environmentId,
GRAPHLIT_JWT_SECRET: config.jwtSecret,
SLACK_BOT_TOKEN: config.slackBotToken || '',
DISCORD_BOT_TOKEN: config.discordBotToken || '',
GOOGLE_EMAIL_REFRESH_TOKEN: config.googleEmailRefreshToken || '',
GOOGLE_EMAIL_CLIENT_ID: config.googleEmailClientId || '',
GOOGLE_EMAIL_CLIENT_SECRET: config.googleEmailClientSecret || '',
LINEAR_API_KEY: config.linearApiKey || '',
GITHUB_PERSONAL_ACCESS_TOKEN: config.githubPersonalAccessToken || '',
JIRA_EMAIL: config.jiraEmail || '',
JIRA_TOKEN: config.jiraToken || '',
NOTION_API_KEY: config.notionApiKey || '',
TWITTER_CONSUMER_API_KEY: config.twitterConsumerApiKey || '',
TWITTER_CONSUMER_API_SECRET: config.twitterConsumerApiSecret || '',
TWITTER_ACCESS_TOKEN_KEY: config.twitterAccessTokenKey || '',
TWITTER_ACCESS_TOKEN_SECRET: config.twitterAccessTokenSecret || '',
}
})
exampleConfig:
organizationId: your-organization-id
environmentId: your-environment-id
jwtSecret: your-jwt-secret
slackBotToken: example-slack-bot-token
discordBotToken: example-discord-bot-token
googleEmailRefreshToken: example-google-refresh-token
googleEmailClientId: example-google-client-id
googleEmailClientSecret: example-google-client-secret
linearApiKey: example-linear-api-key
githubPersonalAccessToken: example-github-pat
jiraEmail: example-jira-email
jiraToken: example-jira-token
notionApiKey: example-notion-api-key,
twitterConsumerApiKey: example-twitter-consumer-api-key
twitterConsumerApiSecret: example-twitter-consumer-api-secret
twitterAccessTokenKey: example-twitter-access-token-key
twitterAccessTokenSecret: example-twitter-access-token-secret