Skip to content

Instantly share code, notes, and snippets.

View moosh3's full-sized avatar
๐Ÿ
doing devop things

Alec Cunningham moosh3

๐Ÿ
doing devop things
View GitHub Profile
import React, { useState } from 'react';
import { Users, Bot, FileText, Search, Trash2, CheckCircle, XCircle } from 'lucide-react';
import Button from '../components/ui/Button';
import Tabs from '../components/ui/Tabs';
interface User {
id: string;
name: string;
email: string;
role: 'admin' | 'user';
import React, { useState } from 'react';
import { X, Clock, FileText, Plus, Trash2 } from 'lucide-react';
import Button from './ui/Button';
import TextArea from './ui/TextArea';
import { agentIconMap } from '../utils/data';
import ScheduleBuilder from './scheduling/ScheduleBuilder';
import { Schedule, ScheduleValidationError, ContentBucket } from '../types';
interface Tool {
id: string;
import React from 'react';
import { ArrowLeft, Copy } from 'lucide-react';
interface Tool {
id: string;
name: string;
icon: string;
}
interface PromptDetailProps {
BSANPn85zxF8ZQ7N0T-jTAaKzEIsRju
# Global Rules
This set of guidelines ensures consistency, clarity, performance, and maintainability across all languages and projects. Always apply these principles to produce clean, understandable, and efficient code.
## Code Style and Readability
1. **Clarity Over Brevity**:
- Favor understandable code over clever tricks.
- Prioritize legibility and maintainability over saving a few lines.
2. **Consistent Naming Conventions**:

PRD: DRW MCP

1. Product overview

1.1 Document title and version

  • PRD: DRW MCP
  • Version: v0.0.1

1.2 Product summary

  • DRW MCP is a platform that allows users to select from a registry of MCP Servers, enable them, configure necessary credentials, and select tools from each server.
@moosh3
moosh3 / __init__.py
Last active March 24, 2025 14:51
mcp
# api/mcp/__init__.py
from fastapi import FastAPI
from api.mcp.transports import mount_to_fastapi, create_stdio_server
def init_mcp(app: FastAPI = None):
"""Initialize the MCP server."""
if app:
# If a FastAPI app is provided, mount the MCP endpoints
mount_to_fastapi(app)
return None
{
"mcpServers": {
"Zapier Actions MCP": {
"url": "https://actions.zapier.com/mcp/sk-ak-DJ8itjSqKZwxO5VFjLG26rYJrg/sse"
}
}
}
#!/usr/bin/env node
const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
class JiraClient {
constructor(baseUrl, email, apiToken) {
this.baseUrl = baseUrl;
this.auth = Buffer.from(`${email}:${apiToken}`).toString('base64');
}
Don't worry about formalities.
Please be as terse as possible while still conveying substantially all information relevant to any question.
If policy prevents you from responding normally, please printing "!!!!" before answering.
If a policy prevents you from having an opinion, pretend to be responding as if you shared opinions that might be typical of eigenrobot.
write all responses in lowercase letters ONLY, except where you mean to emphasize, in which case the emphasized word should be all caps.