Skip to content

Commit b2a4cfa

Browse files
committed
Added MCP Integration
1 parent be84188 commit b2a4cfa

1 file changed

Lines changed: 70 additions & 1 deletion

File tree

src/pages/Integrations.jsx

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,12 @@ export default function IntegrationsPage() {
156156
</svg>
157157
<span className="text-gray-600"><strong className="text-gray-900">Auto Scanner</strong> — Python scanner to populate graph from scp.yaml files</span>
158158
</li>
159+
<li className="flex items-start gap-3">
160+
<svg className="w-5 h-5 text-green-500 mt-0.5 flex-shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor">
161+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M5 13l4 4L19 7" />
162+
</svg>
163+
<span className="text-gray-600"><strong className="text-gray-900">MCP Server</strong> — Model Context Protocol server for LLM access to SCP data</span>
164+
</li>
159165
</ul>
160166
</div>
161167
</div>
@@ -179,11 +185,74 @@ export default function IntegrationsPage() {
179185
</div>
180186
</div>
181187

188+
<h3 className="font-medium text-gray-900 mt-8 mb-4">MCP Server Setup</h3>
189+
<p className="text-gray-600 mb-4">
190+
Enable LLM access to your SCP architecture by adding the MCP server to Claude Desktop:
191+
</p>
192+
193+
<div className="bg-gray-900 rounded-xl p-6">
194+
<p className="text-gray-400 text-sm mb-2"># Add to ~/.config/claude/claude_desktop_config.json</p>
195+
<pre className="text-gray-300 font-mono text-sm overflow-x-auto">
196+
{`{
197+
"mcpServers": {
198+
"scp": {
199+
"command": "node",
200+
"args": ["/path/to/scp-viewer/packages/mcp/src/index.js"],
201+
"env": {
202+
"SCP_API_URL": "http://localhost:4000"
203+
}
204+
}
205+
}
206+
}`}
207+
</pre>
208+
</div>
209+
210+
<h3 className="font-medium text-gray-900 mt-8 mb-4">Example Usage</h3>
211+
<p className="text-gray-600 mb-4">
212+
Once configured, you can query your SCP architecture directly from Claude:
213+
</p>
214+
215+
<div className="space-y-4">
216+
<div className="bg-blue-50 border-l-4 border-blue-500 p-4 rounded">
217+
<p className="text-sm font-medium text-blue-900 mb-1">User Query</p>
218+
<p className="text-blue-800 italic">"List all systems in the architecture"</p>
219+
</div>
220+
221+
<div className="bg-gray-50 border-l-4 border-gray-400 p-4 rounded">
222+
<p className="text-sm font-medium text-gray-900 mb-2">Claude Response</p>
223+
<p className="text-gray-700 text-sm mb-2">Using <code className="bg-gray-200 px-1 rounded">list_systems</code> tool...</p>
224+
<p className="text-gray-600 text-sm">Returns all systems organized by tier (Critical, Important, etc.) with their URNs and descriptions.</p>
225+
</div>
226+
227+
<div className="bg-blue-50 border-l-4 border-blue-500 p-4 rounded">
228+
<p className="text-sm font-medium text-blue-900 mb-1">User Query</p>
229+
<p className="text-blue-800 italic">"What is the blast radius of the fraud service?"</p>
230+
</div>
231+
232+
<div className="bg-gray-50 border-l-4 border-gray-400 p-4 rounded">
233+
<p className="text-sm font-medium text-gray-900 mb-2">Claude Response</p>
234+
<p className="text-gray-700 text-sm mb-2">Using <code className="bg-gray-200 px-1 rounded">blast_radius</code> tool...</p>
235+
<p className="text-gray-600 text-sm">Analyzes the cascading impact showing 5 affected systems including Payment Orchestrator, Checkout Service, Webhook Ingress, and API Gateway, with dependency criticality details.</p>
236+
</div>
237+
</div>
238+
239+
<a
240+
href="https://github.com/krackenservices/scp-viewer/blob/main/examples/mcp_acmepay.md"
241+
target="_blank"
242+
rel="noopener noreferrer"
243+
className="inline-flex items-center gap-2 mt-6 text-indigo-600 hover:text-indigo-700 font-medium"
244+
>
245+
View full example conversation
246+
<svg className="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">
247+
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14" />
248+
</svg>
249+
</a>
250+
182251
<a
183252
href="https://github.com/krackenservices/scp-viewer"
184253
target="_blank"
185254
rel="noopener noreferrer"
186-
className="inline-flex items-center gap-2 px-5 py-2.5 bg-indigo-600 text-white font-medium rounded-lg hover:bg-indigo-700 transition-colors"
255+
className="inline-flex items-center gap-2 px-5 py-2.5 bg-indigo-600 text-white font-medium rounded-lg hover:bg-indigo-700 transition-colors mt-6"
187256
>
188257
View on GitHub
189258
<svg className="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">

0 commit comments

Comments
 (0)