cast-code 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +217 -0
- package/dist/app.module.js +45 -0
- package/dist/app.module.js.map +1 -0
- package/dist/common/common.module.js +49 -0
- package/dist/common/common.module.js.map +1 -0
- package/dist/common/constants/index.js +105 -0
- package/dist/common/constants/index.js.map +1 -0
- package/dist/common/index.js +24 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/services/config.service.js +119 -0
- package/dist/common/services/config.service.js.map +1 -0
- package/dist/common/services/llm.service.js +56 -0
- package/dist/common/services/llm.service.js.map +1 -0
- package/dist/common/services/markdown-parser.service.js +101 -0
- package/dist/common/services/markdown-parser.service.js.map +1 -0
- package/dist/common/services/markdown-renderer.service.js +220 -0
- package/dist/common/services/markdown-renderer.service.js.map +1 -0
- package/dist/common/services/multi-llm.service.js +115 -0
- package/dist/common/services/multi-llm.service.js.map +1 -0
- package/dist/common/types/index.js +20 -0
- package/dist/common/types/index.js.map +1 -0
- package/dist/common/types/markdown.types.js +6 -0
- package/dist/common/types/markdown.types.js.map +1 -0
- package/dist/main.js +84 -0
- package/dist/main.js.map +1 -0
- package/dist/modules/agents/agents.module.js +43 -0
- package/dist/modules/agents/agents.module.js.map +1 -0
- package/dist/modules/agents/definitions/architect.md +35 -0
- package/dist/modules/agents/definitions/backend.md +43 -0
- package/dist/modules/agents/definitions/coder.md +34 -0
- package/dist/modules/agents/definitions/devops.md +42 -0
- package/dist/modules/agents/definitions/frontend.md +46 -0
- package/dist/modules/agents/definitions/reviewer.md +35 -0
- package/dist/modules/agents/definitions/tester.md +41 -0
- package/dist/modules/agents/index.js +23 -0
- package/dist/modules/agents/index.js.map +1 -0
- package/dist/modules/agents/services/agent-loader.service.js +150 -0
- package/dist/modules/agents/services/agent-loader.service.js.map +1 -0
- package/dist/modules/agents/services/agent-registry.service.js +108 -0
- package/dist/modules/agents/services/agent-registry.service.js.map +1 -0
- package/dist/modules/agents/types/agent.types.js +6 -0
- package/dist/modules/agents/types/agent.types.js.map +1 -0
- package/dist/modules/agents/types/index.js +20 -0
- package/dist/modules/agents/types/index.js.map +1 -0
- package/dist/modules/config/config.module.js +38 -0
- package/dist/modules/config/config.module.js.map +1 -0
- package/dist/modules/config/index.js +24 -0
- package/dist/modules/config/index.js.map +1 -0
- package/dist/modules/config/services/config-commands.service.js +405 -0
- package/dist/modules/config/services/config-commands.service.js.map +1 -0
- package/dist/modules/config/services/config-manager.service.js +175 -0
- package/dist/modules/config/services/config-manager.service.js.map +1 -0
- package/dist/modules/config/services/init-config.service.js +238 -0
- package/dist/modules/config/services/init-config.service.js.map +1 -0
- package/dist/modules/config/types/config.types.js +163 -0
- package/dist/modules/config/types/config.types.js.map +1 -0
- package/dist/modules/config/types/index.js +20 -0
- package/dist/modules/config/types/index.js.map +1 -0
- package/dist/modules/core/core.module.js +60 -0
- package/dist/modules/core/core.module.js.map +1 -0
- package/dist/modules/core/index.js +22 -0
- package/dist/modules/core/index.js.map +1 -0
- package/dist/modules/core/services/deep-agent.service.js +575 -0
- package/dist/modules/core/services/deep-agent.service.js.map +1 -0
- package/dist/modules/core/services/plan-mode.service.js +225 -0
- package/dist/modules/core/services/plan-mode.service.js.map +1 -0
- package/dist/modules/git/git.module.js +48 -0
- package/dist/modules/git/git.module.js.map +1 -0
- package/dist/modules/git/index.js +23 -0
- package/dist/modules/git/index.js.map +1 -0
- package/dist/modules/git/services/code-review.service.js +330 -0
- package/dist/modules/git/services/code-review.service.js.map +1 -0
- package/dist/modules/git/services/commit-generator.service.js +403 -0
- package/dist/modules/git/services/commit-generator.service.js.map +1 -0
- package/dist/modules/git/services/index.js +21 -0
- package/dist/modules/git/services/index.js.map +1 -0
- package/dist/modules/git/services/monorepo-detector.service.js +338 -0
- package/dist/modules/git/services/monorepo-detector.service.js.map +1 -0
- package/dist/modules/git/services/pr-generator.service.js +429 -0
- package/dist/modules/git/services/pr-generator.service.js.map +1 -0
- package/dist/modules/git/services/release-notes.service.js +426 -0
- package/dist/modules/git/services/release-notes.service.js.map +1 -0
- package/dist/modules/git/types/git.types.js +6 -0
- package/dist/modules/git/types/git.types.js.map +1 -0
- package/dist/modules/git/types/index.js +20 -0
- package/dist/modules/git/types/index.js.map +1 -0
- package/dist/modules/mcp/catalog/mcp-templates.js +606 -0
- package/dist/modules/mcp/catalog/mcp-templates.js.map +1 -0
- package/dist/modules/mcp/index.js +23 -0
- package/dist/modules/mcp/index.js.map +1 -0
- package/dist/modules/mcp/mcp.module.js +35 -0
- package/dist/modules/mcp/mcp.module.js.map +1 -0
- package/dist/modules/mcp/services/mcp-client.service.js +289 -0
- package/dist/modules/mcp/services/mcp-client.service.js.map +1 -0
- package/dist/modules/mcp/services/mcp-registry.service.js +197 -0
- package/dist/modules/mcp/services/mcp-registry.service.js.map +1 -0
- package/dist/modules/mcp/types/index.js +20 -0
- package/dist/modules/mcp/types/index.js.map +1 -0
- package/dist/modules/mcp/types/mcp.types.js +6 -0
- package/dist/modules/mcp/types/mcp.types.js.map +1 -0
- package/dist/modules/memory/index.js +23 -0
- package/dist/modules/memory/index.js.map +1 -0
- package/dist/modules/memory/memory.module.js +35 -0
- package/dist/modules/memory/memory.module.js.map +1 -0
- package/dist/modules/memory/services/memory-tools.service.js +78 -0
- package/dist/modules/memory/services/memory-tools.service.js.map +1 -0
- package/dist/modules/memory/services/memory.service.js +169 -0
- package/dist/modules/memory/services/memory.service.js.map +1 -0
- package/dist/modules/memory/types/index.js +20 -0
- package/dist/modules/memory/types/index.js.map +1 -0
- package/dist/modules/memory/types/memory.types.js +6 -0
- package/dist/modules/memory/types/memory.types.js.map +1 -0
- package/dist/modules/mentions/index.js +22 -0
- package/dist/modules/mentions/index.js.map +1 -0
- package/dist/modules/mentions/mentions.module.js +32 -0
- package/dist/modules/mentions/mentions.module.js.map +1 -0
- package/dist/modules/mentions/services/mentions.service.js +336 -0
- package/dist/modules/mentions/services/mentions.service.js.map +1 -0
- package/dist/modules/mentions/types/index.js +20 -0
- package/dist/modules/mentions/types/index.js.map +1 -0
- package/dist/modules/mentions/types/mention.types.js +19 -0
- package/dist/modules/mentions/types/mention.types.js.map +1 -0
- package/dist/modules/permissions/index.js +23 -0
- package/dist/modules/permissions/index.js.map +1 -0
- package/dist/modules/permissions/permissions.module.js +35 -0
- package/dist/modules/permissions/permissions.module.js.map +1 -0
- package/dist/modules/permissions/services/permission.service.js +269 -0
- package/dist/modules/permissions/services/permission.service.js.map +1 -0
- package/dist/modules/permissions/services/prompt.service.js +116 -0
- package/dist/modules/permissions/services/prompt.service.js.map +1 -0
- package/dist/modules/permissions/types/permission.types.js +32 -0
- package/dist/modules/permissions/types/permission.types.js.map +1 -0
- package/dist/modules/project/index.js +24 -0
- package/dist/modules/project/index.js.map +1 -0
- package/dist/modules/project/project.module.js +38 -0
- package/dist/modules/project/project.module.js.map +1 -0
- package/dist/modules/project/services/project-analyzer.service.js +1063 -0
- package/dist/modules/project/services/project-analyzer.service.js.map +1 -0
- package/dist/modules/project/services/project-context.service.js +62 -0
- package/dist/modules/project/services/project-context.service.js.map +1 -0
- package/dist/modules/project/services/project-loader.service.js +147 -0
- package/dist/modules/project/services/project-loader.service.js.map +1 -0
- package/dist/modules/project/types/index.js +20 -0
- package/dist/modules/project/types/index.js.map +1 -0
- package/dist/modules/project/types/project.types.js +6 -0
- package/dist/modules/project/types/project.types.js.map +1 -0
- package/dist/modules/repl/index.js +21 -0
- package/dist/modules/repl/index.js.map +1 -0
- package/dist/modules/repl/repl.module.js +66 -0
- package/dist/modules/repl/repl.module.js.map +1 -0
- package/dist/modules/repl/services/commands/agent-commands.service.js +196 -0
- package/dist/modules/repl/services/commands/agent-commands.service.js.map +1 -0
- package/dist/modules/repl/services/commands/git-commands.service.js +500 -0
- package/dist/modules/repl/services/commands/git-commands.service.js.map +1 -0
- package/dist/modules/repl/services/commands/mcp-commands.service.js +579 -0
- package/dist/modules/repl/services/commands/mcp-commands.service.js.map +1 -0
- package/dist/modules/repl/services/commands/project-commands.service.js +226 -0
- package/dist/modules/repl/services/commands/project-commands.service.js.map +1 -0
- package/dist/modules/repl/services/commands/repl-commands.service.js +254 -0
- package/dist/modules/repl/services/commands/repl-commands.service.js.map +1 -0
- package/dist/modules/repl/services/repl.service.js +647 -0
- package/dist/modules/repl/services/repl.service.js.map +1 -0
- package/dist/modules/repl/services/smart-input.js +544 -0
- package/dist/modules/repl/services/smart-input.js.map +1 -0
- package/dist/modules/repl/services/welcome-screen.service.js +117 -0
- package/dist/modules/repl/services/welcome-screen.service.js.map +1 -0
- package/dist/modules/repl/utils/prompts-with-esc.js +187 -0
- package/dist/modules/repl/utils/prompts-with-esc.js.map +1 -0
- package/dist/modules/repl/utils/theme.js +185 -0
- package/dist/modules/repl/utils/theme.js.map +1 -0
- package/dist/modules/skills/definitions/general/file-operations.md +60 -0
- package/dist/modules/skills/definitions/general/git-operations.md +59 -0
- package/dist/modules/skills/definitions/general/planning.md +86 -0
- package/dist/modules/skills/definitions/general/search.md +59 -0
- package/dist/modules/skills/definitions/specialized/api-design.md +85 -0
- package/dist/modules/skills/definitions/specialized/database-operations.md +78 -0
- package/dist/modules/skills/definitions/specialized/frontend-bootstrap.md +71 -0
- package/dist/modules/skills/definitions/specialized/react-patterns.md +77 -0
- package/dist/modules/skills/definitions/specialized/testing-strategies.md +79 -0
- package/dist/modules/skills/index.js +23 -0
- package/dist/modules/skills/index.js.map +1 -0
- package/dist/modules/skills/services/skill-loader.service.js +130 -0
- package/dist/modules/skills/services/skill-loader.service.js.map +1 -0
- package/dist/modules/skills/services/skill-registry.service.js +96 -0
- package/dist/modules/skills/services/skill-registry.service.js.map +1 -0
- package/dist/modules/skills/skills.module.js +38 -0
- package/dist/modules/skills/skills.module.js.map +1 -0
- package/dist/modules/skills/types/index.js +20 -0
- package/dist/modules/skills/types/index.js.map +1 -0
- package/dist/modules/skills/types/skill.types.js +6 -0
- package/dist/modules/skills/types/skill.types.js.map +1 -0
- package/dist/modules/tasks/index.js +24 -0
- package/dist/modules/tasks/index.js.map +1 -0
- package/dist/modules/tasks/services/plan-executor.service.js +199 -0
- package/dist/modules/tasks/services/plan-executor.service.js.map +1 -0
- package/dist/modules/tasks/services/plan-mode.service.js +118 -0
- package/dist/modules/tasks/services/plan-mode.service.js.map +1 -0
- package/dist/modules/tasks/services/plan-persistence.service.js +148 -0
- package/dist/modules/tasks/services/plan-persistence.service.js.map +1 -0
- package/dist/modules/tasks/services/task-management.service.js +255 -0
- package/dist/modules/tasks/services/task-management.service.js.map +1 -0
- package/dist/modules/tasks/services/task-tools.service.js +270 -0
- package/dist/modules/tasks/services/task-tools.service.js.map +1 -0
- package/dist/modules/tasks/tasks.module.js +49 -0
- package/dist/modules/tasks/tasks.module.js.map +1 -0
- package/dist/modules/tasks/types/task.types.js +21 -0
- package/dist/modules/tasks/types/task.types.js.map +1 -0
- package/dist/modules/tools/index.js +24 -0
- package/dist/modules/tools/index.js.map +1 -0
- package/dist/modules/tools/services/filesystem-tools.service.js +450 -0
- package/dist/modules/tools/services/filesystem-tools.service.js.map +1 -0
- package/dist/modules/tools/services/search-tools.service.js +63 -0
- package/dist/modules/tools/services/search-tools.service.js.map +1 -0
- package/dist/modules/tools/services/shell-tools.service.js +194 -0
- package/dist/modules/tools/services/shell-tools.service.js.map +1 -0
- package/dist/modules/tools/services/tools-registry.service.js +83 -0
- package/dist/modules/tools/services/tools-registry.service.js.map +1 -0
- package/dist/modules/tools/tools.module.js +46 -0
- package/dist/modules/tools/tools.module.js.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1,606 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
get MCP_TEMPLATES () {
|
|
13
|
+
return MCP_TEMPLATES;
|
|
14
|
+
},
|
|
15
|
+
get getAllTemplates () {
|
|
16
|
+
return getAllTemplates;
|
|
17
|
+
},
|
|
18
|
+
get getTemplate () {
|
|
19
|
+
return getTemplate;
|
|
20
|
+
},
|
|
21
|
+
get getTemplatesByCategory () {
|
|
22
|
+
return getTemplatesByCategory;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
const MCP_TEMPLATES = {
|
|
26
|
+
// ===== DEV TOOLS =====
|
|
27
|
+
github: {
|
|
28
|
+
id: 'github',
|
|
29
|
+
name: 'GitHub',
|
|
30
|
+
description: 'Acesse repos, issues, PRs',
|
|
31
|
+
category: 'dev',
|
|
32
|
+
config: {
|
|
33
|
+
type: 'stdio',
|
|
34
|
+
command: 'npx',
|
|
35
|
+
args: [
|
|
36
|
+
'-y',
|
|
37
|
+
'@modelcontextprotocol/server-github'
|
|
38
|
+
],
|
|
39
|
+
env: {}
|
|
40
|
+
},
|
|
41
|
+
credentials: [
|
|
42
|
+
{
|
|
43
|
+
name: 'GitHub Token',
|
|
44
|
+
envVar: 'GITHUB_PERSONAL_ACCESS_TOKEN',
|
|
45
|
+
placeholder: 'ghp_...',
|
|
46
|
+
required: true
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
linear: {
|
|
51
|
+
id: 'linear',
|
|
52
|
+
name: 'Linear',
|
|
53
|
+
description: 'Gerencie issues e projetos',
|
|
54
|
+
category: 'dev',
|
|
55
|
+
config: {
|
|
56
|
+
type: 'stdio',
|
|
57
|
+
command: 'npx',
|
|
58
|
+
args: [
|
|
59
|
+
'-y',
|
|
60
|
+
'@larryhudson/linear-mcp-server'
|
|
61
|
+
],
|
|
62
|
+
env: {}
|
|
63
|
+
},
|
|
64
|
+
credentials: [
|
|
65
|
+
{
|
|
66
|
+
name: 'Linear API Key',
|
|
67
|
+
envVar: 'LINEAR_API_KEY',
|
|
68
|
+
placeholder: 'lin_api_...',
|
|
69
|
+
required: true
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
jira: {
|
|
74
|
+
id: 'jira',
|
|
75
|
+
name: 'Jira',
|
|
76
|
+
description: 'Gerencie issues e sprints',
|
|
77
|
+
category: 'dev',
|
|
78
|
+
config: {
|
|
79
|
+
type: 'stdio',
|
|
80
|
+
command: 'npx',
|
|
81
|
+
args: [
|
|
82
|
+
'-y',
|
|
83
|
+
'@aashari/mcp-server-atlassian-jira'
|
|
84
|
+
],
|
|
85
|
+
env: {}
|
|
86
|
+
},
|
|
87
|
+
credentials: [
|
|
88
|
+
{
|
|
89
|
+
name: 'Jira Host',
|
|
90
|
+
envVar: 'JIRA_HOST',
|
|
91
|
+
placeholder: 'empresa.atlassian.net',
|
|
92
|
+
required: true
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: 'Jira Email',
|
|
96
|
+
envVar: 'JIRA_EMAIL',
|
|
97
|
+
placeholder: 'você@empresa.com',
|
|
98
|
+
required: true
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: 'Jira API Token',
|
|
102
|
+
envVar: 'JIRA_API_TOKEN',
|
|
103
|
+
placeholder: 'ATATT...',
|
|
104
|
+
required: true
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
sentry: {
|
|
109
|
+
id: 'sentry',
|
|
110
|
+
name: 'Sentry',
|
|
111
|
+
description: 'Monitore erros e performance',
|
|
112
|
+
category: 'dev',
|
|
113
|
+
config: {
|
|
114
|
+
type: 'stdio',
|
|
115
|
+
command: 'npx',
|
|
116
|
+
args: [
|
|
117
|
+
'-y',
|
|
118
|
+
'@sentry/mcp-server'
|
|
119
|
+
],
|
|
120
|
+
env: {
|
|
121
|
+
EMBEDDED_AGENT_PROVIDER: 'anthropic'
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
credentials: [
|
|
125
|
+
{
|
|
126
|
+
name: 'Sentry Access Token',
|
|
127
|
+
envVar: 'SENTRY_ACCESS_TOKEN',
|
|
128
|
+
placeholder: 'sntrys_...',
|
|
129
|
+
required: true
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
docker: {
|
|
134
|
+
id: 'docker',
|
|
135
|
+
name: 'Docker',
|
|
136
|
+
description: 'Gerencie containers e images',
|
|
137
|
+
category: 'dev',
|
|
138
|
+
config: {
|
|
139
|
+
type: 'stdio',
|
|
140
|
+
command: 'npx',
|
|
141
|
+
args: [
|
|
142
|
+
'-y',
|
|
143
|
+
'@0xshariq/docker-mcp-server'
|
|
144
|
+
],
|
|
145
|
+
env: {}
|
|
146
|
+
},
|
|
147
|
+
credentials: []
|
|
148
|
+
},
|
|
149
|
+
// ===== DESIGN =====
|
|
150
|
+
figma: {
|
|
151
|
+
id: 'figma',
|
|
152
|
+
name: 'Figma',
|
|
153
|
+
description: 'Acesse designs e componentes (OAuth)',
|
|
154
|
+
category: 'design',
|
|
155
|
+
config: {
|
|
156
|
+
type: 'http',
|
|
157
|
+
endpoint: 'https://mcp.figma.com/mcp'
|
|
158
|
+
},
|
|
159
|
+
credentials: []
|
|
160
|
+
},
|
|
161
|
+
// ===== DATA =====
|
|
162
|
+
postgres: {
|
|
163
|
+
id: 'postgres',
|
|
164
|
+
name: 'PostgreSQL',
|
|
165
|
+
description: 'Consulte bancos de dados',
|
|
166
|
+
category: 'data',
|
|
167
|
+
config: {
|
|
168
|
+
type: 'stdio',
|
|
169
|
+
command: 'npx',
|
|
170
|
+
args: [
|
|
171
|
+
'-y',
|
|
172
|
+
'@modelcontextprotocol/server-postgres'
|
|
173
|
+
],
|
|
174
|
+
env: {}
|
|
175
|
+
},
|
|
176
|
+
credentials: [
|
|
177
|
+
{
|
|
178
|
+
name: 'Database URL',
|
|
179
|
+
envVar: '',
|
|
180
|
+
placeholder: 'postgresql://user:pass@host/db',
|
|
181
|
+
required: true,
|
|
182
|
+
isArg: true
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
mongodb: {
|
|
187
|
+
id: 'mongodb',
|
|
188
|
+
name: 'MongoDB',
|
|
189
|
+
description: 'Consulte coleções e documentos',
|
|
190
|
+
category: 'data',
|
|
191
|
+
config: {
|
|
192
|
+
type: 'stdio',
|
|
193
|
+
command: 'npx',
|
|
194
|
+
args: [
|
|
195
|
+
'-y',
|
|
196
|
+
'@mongodb-js/mongodb-mcp-server'
|
|
197
|
+
],
|
|
198
|
+
env: {}
|
|
199
|
+
},
|
|
200
|
+
credentials: [
|
|
201
|
+
{
|
|
202
|
+
name: 'Connection String',
|
|
203
|
+
envVar: 'MDB_MCP_CONNECTION_STRING',
|
|
204
|
+
placeholder: 'mongodb+srv://...',
|
|
205
|
+
required: true
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
redis: {
|
|
210
|
+
id: 'redis',
|
|
211
|
+
name: 'Redis',
|
|
212
|
+
description: 'Cache e key-value store',
|
|
213
|
+
category: 'data',
|
|
214
|
+
config: {
|
|
215
|
+
type: 'stdio',
|
|
216
|
+
command: 'npx',
|
|
217
|
+
args: [
|
|
218
|
+
'-y',
|
|
219
|
+
'@modelcontextprotocol/server-redis'
|
|
220
|
+
],
|
|
221
|
+
env: {}
|
|
222
|
+
},
|
|
223
|
+
credentials: [
|
|
224
|
+
{
|
|
225
|
+
name: 'Redis URL',
|
|
226
|
+
envVar: 'REDIS_URL',
|
|
227
|
+
placeholder: 'redis://localhost:6379',
|
|
228
|
+
required: true
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
supabase: {
|
|
233
|
+
id: 'supabase',
|
|
234
|
+
name: 'Supabase',
|
|
235
|
+
description: 'Banco de dados e backend',
|
|
236
|
+
category: 'data',
|
|
237
|
+
config: {
|
|
238
|
+
type: 'stdio',
|
|
239
|
+
command: 'npx',
|
|
240
|
+
args: [
|
|
241
|
+
'-y',
|
|
242
|
+
'@cloud9-labs/mcp-supabase'
|
|
243
|
+
],
|
|
244
|
+
env: {}
|
|
245
|
+
},
|
|
246
|
+
credentials: [
|
|
247
|
+
{
|
|
248
|
+
name: 'Supabase URL',
|
|
249
|
+
envVar: 'SUPABASE_URL',
|
|
250
|
+
placeholder: 'https://xyz.supabase.co',
|
|
251
|
+
required: true
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: 'Service Key',
|
|
255
|
+
envVar: 'SUPABASE_SERVICE_KEY',
|
|
256
|
+
placeholder: 'eyJ...',
|
|
257
|
+
required: true
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
// ===== SEARCH =====
|
|
262
|
+
'brave-search': {
|
|
263
|
+
id: 'brave-search',
|
|
264
|
+
name: 'Brave Search',
|
|
265
|
+
description: 'Busca na web',
|
|
266
|
+
category: 'search',
|
|
267
|
+
config: {
|
|
268
|
+
type: 'stdio',
|
|
269
|
+
command: 'npx',
|
|
270
|
+
args: [
|
|
271
|
+
'-y',
|
|
272
|
+
'@modelcontextprotocol/server-brave-search'
|
|
273
|
+
],
|
|
274
|
+
env: {}
|
|
275
|
+
},
|
|
276
|
+
credentials: [
|
|
277
|
+
{
|
|
278
|
+
name: 'Brave API Key',
|
|
279
|
+
envVar: 'BRAVE_API_KEY',
|
|
280
|
+
placeholder: 'BSA...',
|
|
281
|
+
required: true
|
|
282
|
+
}
|
|
283
|
+
]
|
|
284
|
+
},
|
|
285
|
+
exa: {
|
|
286
|
+
id: 'exa',
|
|
287
|
+
name: 'Exa Search',
|
|
288
|
+
description: 'Busca semântica na web',
|
|
289
|
+
category: 'search',
|
|
290
|
+
config: {
|
|
291
|
+
type: 'stdio',
|
|
292
|
+
command: 'npx',
|
|
293
|
+
args: [
|
|
294
|
+
'-y',
|
|
295
|
+
'exa-mcp-server'
|
|
296
|
+
],
|
|
297
|
+
env: {}
|
|
298
|
+
},
|
|
299
|
+
credentials: [
|
|
300
|
+
{
|
|
301
|
+
name: 'Exa API Key',
|
|
302
|
+
envVar: 'EXA_API_KEY',
|
|
303
|
+
placeholder: 'exa_...',
|
|
304
|
+
required: true
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
perplexity: {
|
|
309
|
+
id: 'perplexity',
|
|
310
|
+
name: 'Perplexity',
|
|
311
|
+
description: 'Busca com IA',
|
|
312
|
+
category: 'search',
|
|
313
|
+
config: {
|
|
314
|
+
type: 'stdio',
|
|
315
|
+
command: 'npx',
|
|
316
|
+
args: [
|
|
317
|
+
'-y',
|
|
318
|
+
'@perplexity-ai/mcp-server'
|
|
319
|
+
],
|
|
320
|
+
env: {}
|
|
321
|
+
},
|
|
322
|
+
credentials: [
|
|
323
|
+
{
|
|
324
|
+
name: 'Perplexity API Key',
|
|
325
|
+
envVar: 'PERPLEXITY_API_KEY',
|
|
326
|
+
placeholder: 'pplx-...',
|
|
327
|
+
required: true
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
context7: {
|
|
332
|
+
id: 'context7',
|
|
333
|
+
name: 'Context7',
|
|
334
|
+
description: 'Busca em documentações técnicas',
|
|
335
|
+
category: 'search',
|
|
336
|
+
config: {
|
|
337
|
+
type: 'stdio',
|
|
338
|
+
command: 'npx',
|
|
339
|
+
args: [
|
|
340
|
+
'-y',
|
|
341
|
+
'@upstash/context7-mcp'
|
|
342
|
+
],
|
|
343
|
+
env: {}
|
|
344
|
+
},
|
|
345
|
+
credentials: []
|
|
346
|
+
},
|
|
347
|
+
// ===== CLOUD =====
|
|
348
|
+
vercel: {
|
|
349
|
+
id: 'vercel',
|
|
350
|
+
name: 'Vercel',
|
|
351
|
+
description: 'Deploy e gerenciamento',
|
|
352
|
+
category: 'cloud',
|
|
353
|
+
config: {
|
|
354
|
+
type: 'stdio',
|
|
355
|
+
command: 'npx',
|
|
356
|
+
args: [
|
|
357
|
+
'-y',
|
|
358
|
+
'@vercel/mcp-adapter'
|
|
359
|
+
],
|
|
360
|
+
env: {}
|
|
361
|
+
},
|
|
362
|
+
credentials: []
|
|
363
|
+
},
|
|
364
|
+
cloudflare: {
|
|
365
|
+
id: 'cloudflare',
|
|
366
|
+
name: 'Cloudflare',
|
|
367
|
+
description: 'Workers, KV, R2',
|
|
368
|
+
category: 'cloud',
|
|
369
|
+
config: {
|
|
370
|
+
type: 'http',
|
|
371
|
+
endpoint: 'https://mcp.cloudflare.com'
|
|
372
|
+
},
|
|
373
|
+
credentials: []
|
|
374
|
+
},
|
|
375
|
+
'aws-s3': {
|
|
376
|
+
id: 'aws-s3',
|
|
377
|
+
name: 'AWS S3',
|
|
378
|
+
description: 'Armazenamento de objetos',
|
|
379
|
+
category: 'cloud',
|
|
380
|
+
config: {
|
|
381
|
+
type: 'stdio',
|
|
382
|
+
command: 'npx',
|
|
383
|
+
args: [
|
|
384
|
+
'-y',
|
|
385
|
+
'aws-s3-mcp'
|
|
386
|
+
],
|
|
387
|
+
env: {}
|
|
388
|
+
},
|
|
389
|
+
credentials: [
|
|
390
|
+
{
|
|
391
|
+
name: 'Access Key ID',
|
|
392
|
+
envVar: 'AWS_ACCESS_KEY_ID',
|
|
393
|
+
placeholder: 'AKIA...',
|
|
394
|
+
required: true
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
name: 'Secret Access Key',
|
|
398
|
+
envVar: 'AWS_SECRET_ACCESS_KEY',
|
|
399
|
+
placeholder: 'xxx',
|
|
400
|
+
required: true
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
name: 'Region',
|
|
404
|
+
envVar: 'AWS_REGION',
|
|
405
|
+
placeholder: 'us-east-1',
|
|
406
|
+
required: true
|
|
407
|
+
}
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
// ===== PRODUCTIVITY =====
|
|
411
|
+
slack: {
|
|
412
|
+
id: 'slack',
|
|
413
|
+
name: 'Slack',
|
|
414
|
+
description: 'Envie mensagens e gerencie canais',
|
|
415
|
+
category: 'productivity',
|
|
416
|
+
config: {
|
|
417
|
+
type: 'stdio',
|
|
418
|
+
command: 'npx',
|
|
419
|
+
args: [
|
|
420
|
+
'-y',
|
|
421
|
+
'slack-mcp-server@latest',
|
|
422
|
+
'--transport',
|
|
423
|
+
'stdio'
|
|
424
|
+
],
|
|
425
|
+
env: {}
|
|
426
|
+
},
|
|
427
|
+
credentials: [
|
|
428
|
+
{
|
|
429
|
+
name: 'Slack Bot Token',
|
|
430
|
+
envVar: 'SLACK_BOT_TOKEN',
|
|
431
|
+
placeholder: 'xoxb-...',
|
|
432
|
+
required: true
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
name: 'Team ID',
|
|
436
|
+
envVar: 'SLACK_TEAM_ID',
|
|
437
|
+
placeholder: 'T...',
|
|
438
|
+
required: true
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
},
|
|
442
|
+
notion: {
|
|
443
|
+
id: 'notion',
|
|
444
|
+
name: 'Notion',
|
|
445
|
+
description: 'Gerencie páginas e databases',
|
|
446
|
+
category: 'productivity',
|
|
447
|
+
config: {
|
|
448
|
+
type: 'stdio',
|
|
449
|
+
command: 'npx',
|
|
450
|
+
args: [
|
|
451
|
+
'-y',
|
|
452
|
+
'@notionhq/notion-mcp-server'
|
|
453
|
+
],
|
|
454
|
+
env: {}
|
|
455
|
+
},
|
|
456
|
+
credentials: [
|
|
457
|
+
{
|
|
458
|
+
name: 'Notion Token',
|
|
459
|
+
envVar: 'NOTION_TOKEN',
|
|
460
|
+
placeholder: 'secret_...',
|
|
461
|
+
required: true
|
|
462
|
+
}
|
|
463
|
+
]
|
|
464
|
+
},
|
|
465
|
+
'google-drive': {
|
|
466
|
+
id: 'google-drive',
|
|
467
|
+
name: 'Google Drive',
|
|
468
|
+
description: 'Acesse arquivos e pastas (OAuth)',
|
|
469
|
+
category: 'productivity',
|
|
470
|
+
config: {
|
|
471
|
+
type: 'stdio',
|
|
472
|
+
command: 'npx',
|
|
473
|
+
args: [
|
|
474
|
+
'-y',
|
|
475
|
+
'@modelcontextprotocol/server-gdrive'
|
|
476
|
+
],
|
|
477
|
+
env: {}
|
|
478
|
+
},
|
|
479
|
+
credentials: []
|
|
480
|
+
},
|
|
481
|
+
'google-maps': {
|
|
482
|
+
id: 'google-maps',
|
|
483
|
+
name: 'Google Maps',
|
|
484
|
+
description: 'Geocoding e rotas',
|
|
485
|
+
category: 'productivity',
|
|
486
|
+
config: {
|
|
487
|
+
type: 'stdio',
|
|
488
|
+
command: 'npx',
|
|
489
|
+
args: [
|
|
490
|
+
'-y',
|
|
491
|
+
'@googlemaps/code-assist-mcp@latest'
|
|
492
|
+
],
|
|
493
|
+
env: {}
|
|
494
|
+
},
|
|
495
|
+
credentials: []
|
|
496
|
+
},
|
|
497
|
+
// ===== PAYMENTS =====
|
|
498
|
+
stripe: {
|
|
499
|
+
id: 'stripe',
|
|
500
|
+
name: 'Stripe',
|
|
501
|
+
description: 'Pagamentos e assinaturas',
|
|
502
|
+
category: 'payments',
|
|
503
|
+
config: {
|
|
504
|
+
type: 'stdio',
|
|
505
|
+
command: 'npx',
|
|
506
|
+
args: [
|
|
507
|
+
'-y',
|
|
508
|
+
'@stripe/mcp',
|
|
509
|
+
'--tools=all'
|
|
510
|
+
],
|
|
511
|
+
env: {}
|
|
512
|
+
},
|
|
513
|
+
credentials: [
|
|
514
|
+
{
|
|
515
|
+
name: 'Stripe Secret Key',
|
|
516
|
+
envVar: 'STRIPE_SECRET_KEY',
|
|
517
|
+
placeholder: 'sk_test_... ou rk_...',
|
|
518
|
+
required: true
|
|
519
|
+
}
|
|
520
|
+
]
|
|
521
|
+
},
|
|
522
|
+
twilio: {
|
|
523
|
+
id: 'twilio',
|
|
524
|
+
name: 'Twilio',
|
|
525
|
+
description: 'SMS e chamadas',
|
|
526
|
+
category: 'payments',
|
|
527
|
+
config: {
|
|
528
|
+
type: 'stdio',
|
|
529
|
+
command: 'npx',
|
|
530
|
+
args: [
|
|
531
|
+
'-y',
|
|
532
|
+
'@twilio-alpha/mcp'
|
|
533
|
+
],
|
|
534
|
+
env: {}
|
|
535
|
+
},
|
|
536
|
+
credentials: [
|
|
537
|
+
{
|
|
538
|
+
name: 'Account SID',
|
|
539
|
+
envVar: '',
|
|
540
|
+
placeholder: 'AC...',
|
|
541
|
+
required: true,
|
|
542
|
+
isArg: true
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
name: 'API Key:Secret',
|
|
546
|
+
envVar: '',
|
|
547
|
+
placeholder: 'SK...:...',
|
|
548
|
+
required: true,
|
|
549
|
+
isArg: true
|
|
550
|
+
}
|
|
551
|
+
]
|
|
552
|
+
},
|
|
553
|
+
// ===== BROWSER =====
|
|
554
|
+
puppeteer: {
|
|
555
|
+
id: 'puppeteer',
|
|
556
|
+
name: 'Puppeteer',
|
|
557
|
+
description: 'Automação de browser',
|
|
558
|
+
category: 'browser',
|
|
559
|
+
config: {
|
|
560
|
+
type: 'stdio',
|
|
561
|
+
command: 'npx',
|
|
562
|
+
args: [
|
|
563
|
+
'-y',
|
|
564
|
+
'@modelcontextprotocol/server-puppeteer'
|
|
565
|
+
],
|
|
566
|
+
env: {}
|
|
567
|
+
},
|
|
568
|
+
credentials: []
|
|
569
|
+
},
|
|
570
|
+
// ===== FILESYSTEM =====
|
|
571
|
+
filesystem: {
|
|
572
|
+
id: 'filesystem',
|
|
573
|
+
name: 'Filesystem',
|
|
574
|
+
description: 'Acesse arquivos locais',
|
|
575
|
+
category: 'filesystem',
|
|
576
|
+
config: {
|
|
577
|
+
type: 'stdio',
|
|
578
|
+
command: 'npx',
|
|
579
|
+
args: [
|
|
580
|
+
'-y',
|
|
581
|
+
'@modelcontextprotocol/server-filesystem'
|
|
582
|
+
],
|
|
583
|
+
env: {}
|
|
584
|
+
},
|
|
585
|
+
credentials: [
|
|
586
|
+
{
|
|
587
|
+
name: 'Diretório permitido',
|
|
588
|
+
envVar: '',
|
|
589
|
+
placeholder: '/caminho/para/diretório',
|
|
590
|
+
required: true,
|
|
591
|
+
isArg: true
|
|
592
|
+
}
|
|
593
|
+
]
|
|
594
|
+
}
|
|
595
|
+
};
|
|
596
|
+
function getTemplatesByCategory(category) {
|
|
597
|
+
return Object.values(MCP_TEMPLATES).filter((t)=>t.category === category);
|
|
598
|
+
}
|
|
599
|
+
function getAllTemplates() {
|
|
600
|
+
return Object.values(MCP_TEMPLATES);
|
|
601
|
+
}
|
|
602
|
+
function getTemplate(id) {
|
|
603
|
+
return MCP_TEMPLATES[id];
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
//# sourceMappingURL=mcp-templates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/modules/mcp/catalog/mcp-templates.ts"],"sourcesContent":["import { McpConfig } from '../types';\n\nexport type McpCategory = 'dev' | 'design' | 'data' | 'search' | 'cloud' | 'productivity' | 'payments' | 'browser' | 'filesystem';\n\nexport interface McpTemplate {\n id: string;\n name: string;\n description: string;\n category: McpCategory;\n config: McpConfig;\n credentials: {\n name: string;\n envVar: string;\n placeholder: string;\n required: boolean;\n isArg?: boolean;\n }[];\n}\n\nexport const MCP_TEMPLATES: Record<string, McpTemplate> = {\n // ===== DEV TOOLS =====\n github: {\n id: 'github',\n name: 'GitHub',\n description: 'Acesse repos, issues, PRs',\n category: 'dev',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@modelcontextprotocol/server-github'],\n env: {},\n },\n credentials: [\n {\n name: 'GitHub Token',\n envVar: 'GITHUB_PERSONAL_ACCESS_TOKEN',\n placeholder: 'ghp_...',\n required: true,\n },\n ],\n },\n\n linear: {\n id: 'linear',\n name: 'Linear',\n description: 'Gerencie issues e projetos',\n category: 'dev',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@larryhudson/linear-mcp-server'],\n env: {},\n },\n credentials: [\n {\n name: 'Linear API Key',\n envVar: 'LINEAR_API_KEY',\n placeholder: 'lin_api_...',\n required: true,\n },\n ],\n },\n\n jira: {\n id: 'jira',\n name: 'Jira',\n description: 'Gerencie issues e sprints',\n category: 'dev',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@aashari/mcp-server-atlassian-jira'],\n env: {},\n },\n credentials: [\n {\n name: 'Jira Host',\n envVar: 'JIRA_HOST',\n placeholder: 'empresa.atlassian.net',\n required: true,\n },\n {\n name: 'Jira Email',\n envVar: 'JIRA_EMAIL',\n placeholder: 'você@empresa.com',\n required: true,\n },\n {\n name: 'Jira API Token',\n envVar: 'JIRA_API_TOKEN',\n placeholder: 'ATATT...',\n required: true,\n },\n ],\n },\n\n sentry: {\n id: 'sentry',\n name: 'Sentry',\n description: 'Monitore erros e performance',\n category: 'dev',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@sentry/mcp-server'],\n env: {\n EMBEDDED_AGENT_PROVIDER: 'anthropic',\n },\n },\n credentials: [\n {\n name: 'Sentry Access Token',\n envVar: 'SENTRY_ACCESS_TOKEN',\n placeholder: 'sntrys_...',\n required: true,\n },\n ],\n },\n\n docker: {\n id: 'docker',\n name: 'Docker',\n description: 'Gerencie containers e images',\n category: 'dev',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@0xshariq/docker-mcp-server'],\n env: {},\n },\n credentials: [],\n },\n\n // ===== DESIGN =====\n figma: {\n id: 'figma',\n name: 'Figma',\n description: 'Acesse designs e componentes (OAuth)',\n category: 'design',\n config: {\n type: 'http',\n endpoint: 'https://mcp.figma.com/mcp',\n },\n credentials: [],\n },\n\n // ===== DATA =====\n postgres: {\n id: 'postgres',\n name: 'PostgreSQL',\n description: 'Consulte bancos de dados',\n category: 'data',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@modelcontextprotocol/server-postgres'],\n env: {},\n },\n credentials: [\n {\n name: 'Database URL',\n envVar: '',\n placeholder: 'postgresql://user:pass@host/db',\n required: true,\n isArg: true,\n },\n ],\n },\n\n mongodb: {\n id: 'mongodb',\n name: 'MongoDB',\n description: 'Consulte coleções e documentos',\n category: 'data',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@mongodb-js/mongodb-mcp-server'],\n env: {},\n },\n credentials: [\n {\n name: 'Connection String',\n envVar: 'MDB_MCP_CONNECTION_STRING',\n placeholder: 'mongodb+srv://...',\n required: true,\n },\n ],\n },\n\n redis: {\n id: 'redis',\n name: 'Redis',\n description: 'Cache e key-value store',\n category: 'data',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@modelcontextprotocol/server-redis'],\n env: {},\n },\n credentials: [\n {\n name: 'Redis URL',\n envVar: 'REDIS_URL',\n placeholder: 'redis://localhost:6379',\n required: true,\n },\n ],\n },\n\n supabase: {\n id: 'supabase',\n name: 'Supabase',\n description: 'Banco de dados e backend',\n category: 'data',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@cloud9-labs/mcp-supabase'],\n env: {},\n },\n credentials: [\n {\n name: 'Supabase URL',\n envVar: 'SUPABASE_URL',\n placeholder: 'https://xyz.supabase.co',\n required: true,\n },\n {\n name: 'Service Key',\n envVar: 'SUPABASE_SERVICE_KEY',\n placeholder: 'eyJ...',\n required: true,\n },\n ],\n },\n\n // ===== SEARCH =====\n 'brave-search': {\n id: 'brave-search',\n name: 'Brave Search',\n description: 'Busca na web',\n category: 'search',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@modelcontextprotocol/server-brave-search'],\n env: {},\n },\n credentials: [\n {\n name: 'Brave API Key',\n envVar: 'BRAVE_API_KEY',\n placeholder: 'BSA...',\n required: true,\n },\n ],\n },\n\n exa: {\n id: 'exa',\n name: 'Exa Search',\n description: 'Busca semântica na web',\n category: 'search',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', 'exa-mcp-server'],\n env: {},\n },\n credentials: [\n {\n name: 'Exa API Key',\n envVar: 'EXA_API_KEY',\n placeholder: 'exa_...',\n required: true,\n },\n ],\n },\n\n perplexity: {\n id: 'perplexity',\n name: 'Perplexity',\n description: 'Busca com IA',\n category: 'search',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@perplexity-ai/mcp-server'],\n env: {},\n },\n credentials: [\n {\n name: 'Perplexity API Key',\n envVar: 'PERPLEXITY_API_KEY',\n placeholder: 'pplx-...',\n required: true,\n },\n ],\n },\n\n context7: {\n id: 'context7',\n name: 'Context7',\n description: 'Busca em documentações técnicas',\n category: 'search',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@upstash/context7-mcp'],\n env: {},\n },\n credentials: [],\n },\n\n // ===== CLOUD =====\n vercel: {\n id: 'vercel',\n name: 'Vercel',\n description: 'Deploy e gerenciamento',\n category: 'cloud',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@vercel/mcp-adapter'],\n env: {},\n },\n credentials: [],\n },\n\n cloudflare: {\n id: 'cloudflare',\n name: 'Cloudflare',\n description: 'Workers, KV, R2',\n category: 'cloud',\n config: {\n type: 'http',\n endpoint: 'https://mcp.cloudflare.com',\n },\n credentials: [],\n },\n\n 'aws-s3': {\n id: 'aws-s3',\n name: 'AWS S3',\n description: 'Armazenamento de objetos',\n category: 'cloud',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', 'aws-s3-mcp'],\n env: {},\n },\n credentials: [\n {\n name: 'Access Key ID',\n envVar: 'AWS_ACCESS_KEY_ID',\n placeholder: 'AKIA...',\n required: true,\n },\n {\n name: 'Secret Access Key',\n envVar: 'AWS_SECRET_ACCESS_KEY',\n placeholder: 'xxx',\n required: true,\n },\n {\n name: 'Region',\n envVar: 'AWS_REGION',\n placeholder: 'us-east-1',\n required: true,\n },\n ],\n },\n\n // ===== PRODUCTIVITY =====\n slack: {\n id: 'slack',\n name: 'Slack',\n description: 'Envie mensagens e gerencie canais',\n category: 'productivity',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', 'slack-mcp-server@latest', '--transport', 'stdio'],\n env: {},\n },\n credentials: [\n {\n name: 'Slack Bot Token',\n envVar: 'SLACK_BOT_TOKEN',\n placeholder: 'xoxb-...',\n required: true,\n },\n {\n name: 'Team ID',\n envVar: 'SLACK_TEAM_ID',\n placeholder: 'T...',\n required: true,\n },\n ],\n },\n\n notion: {\n id: 'notion',\n name: 'Notion',\n description: 'Gerencie páginas e databases',\n category: 'productivity',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@notionhq/notion-mcp-server'],\n env: {},\n },\n credentials: [\n {\n name: 'Notion Token',\n envVar: 'NOTION_TOKEN',\n placeholder: 'secret_...',\n required: true,\n },\n ],\n },\n\n 'google-drive': {\n id: 'google-drive',\n name: 'Google Drive',\n description: 'Acesse arquivos e pastas (OAuth)',\n category: 'productivity',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@modelcontextprotocol/server-gdrive'],\n env: {},\n },\n credentials: [],\n },\n\n 'google-maps': {\n id: 'google-maps',\n name: 'Google Maps',\n description: 'Geocoding e rotas',\n category: 'productivity',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@googlemaps/code-assist-mcp@latest'],\n env: {},\n },\n credentials: [],\n },\n\n // ===== PAYMENTS =====\n stripe: {\n id: 'stripe',\n name: 'Stripe',\n description: 'Pagamentos e assinaturas',\n category: 'payments',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@stripe/mcp', '--tools=all'],\n env: {},\n },\n credentials: [\n {\n name: 'Stripe Secret Key',\n envVar: 'STRIPE_SECRET_KEY',\n placeholder: 'sk_test_... ou rk_...',\n required: true,\n },\n ],\n },\n\n twilio: {\n id: 'twilio',\n name: 'Twilio',\n description: 'SMS e chamadas',\n category: 'payments',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@twilio-alpha/mcp'],\n env: {},\n },\n credentials: [\n {\n name: 'Account SID',\n envVar: '',\n placeholder: 'AC...',\n required: true,\n isArg: true,\n },\n {\n name: 'API Key:Secret',\n envVar: '',\n placeholder: 'SK...:...',\n required: true,\n isArg: true,\n },\n ],\n },\n\n // ===== BROWSER =====\n puppeteer: {\n id: 'puppeteer',\n name: 'Puppeteer',\n description: 'Automação de browser',\n category: 'browser',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@modelcontextprotocol/server-puppeteer'],\n env: {},\n },\n credentials: [],\n },\n\n // ===== FILESYSTEM =====\n filesystem: {\n id: 'filesystem',\n name: 'Filesystem',\n description: 'Acesse arquivos locais',\n category: 'filesystem',\n config: {\n type: 'stdio',\n command: 'npx',\n args: ['-y', '@modelcontextprotocol/server-filesystem'],\n env: {},\n },\n credentials: [\n {\n name: 'Diretório permitido',\n envVar: '',\n placeholder: '/caminho/para/diretório',\n required: true,\n isArg: true,\n },\n ],\n },\n};\n\nexport function getTemplatesByCategory(category: McpCategory): McpTemplate[] {\n return Object.values(MCP_TEMPLATES).filter(t => t.category === category);\n}\n\nexport function getAllTemplates(): McpTemplate[] {\n return Object.values(MCP_TEMPLATES);\n}\n\nexport function getTemplate(id: string): McpTemplate | undefined {\n return MCP_TEMPLATES[id];\n}\n"],"names":["MCP_TEMPLATES","getAllTemplates","getTemplate","getTemplatesByCategory","github","id","name","description","category","config","type","command","args","env","credentials","envVar","placeholder","required","linear","jira","sentry","EMBEDDED_AGENT_PROVIDER","docker","figma","endpoint","postgres","isArg","mongodb","redis","supabase","exa","perplexity","context7","vercel","cloudflare","slack","notion","stripe","twilio","puppeteer","filesystem","Object","values","filter","t"],"mappings":";;;;;;;;;;;QAmBaA;eAAAA;;QAghBGC;eAAAA;;QAIAC;eAAAA;;QARAC;eAAAA;;;AA5gBT,MAAMH,gBAA6C;IACxD,wBAAwB;IACxBI,QAAQ;QACNC,IAAI;QACJC,MAAM;QACNC,aAAa;QACbC,UAAU;QACVC,QAAQ;YACNC,MAAM;YACNC,SAAS;YACTC,MAAM;gBAAC;gBAAM;aAAsC;YACnDC,KAAK,CAAC;QACR;QACAC,aAAa;YACX;gBACER,MAAM;gBACNS,QAAQ;gBACRC,aAAa;gBACbC,UAAU;YACZ;SACD;IACH;IAEAC,QAAQ;QACNb,IAAI;QACJC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23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
_export_star(require("./mcp.module"), exports);
|
|
6
|
+
_export_star(require("./services/mcp-client.service"), exports);
|
|
7
|
+
_export_star(require("./services/mcp-registry.service"), exports);
|
|
8
|
+
_export_star(require("./types"), exports);
|
|
9
|
+
function _export_star(from, to) {
|
|
10
|
+
Object.keys(from).forEach(function(k) {
|
|
11
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
12
|
+
Object.defineProperty(to, k, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function() {
|
|
15
|
+
return from[k];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
return from;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/modules/mcp/index.ts"],"sourcesContent":["export * from './mcp.module';\nexport * from './services/mcp-client.service';\nexport * from './services/mcp-registry.service';\nexport * from './types';\n"],"names":[],"mappings":";;;;qBAAc;qBACA;qBACA;qBACA"}
|