Demo MCP Server
데모 MCP 서버 (헤드리스)
MCP 전용 프로젝트 — React UI 없음. HTTP를 통해 모든 React(또는 다른) 앱을 연결하세요.
에이전트
폴더 | ID | 역할 |
|
| MongoDB Atlas CRUD |
|
| 로컬 Excel |
Any React app
│ POST /api/login { apiKey }
│ Authorization: Bearer <token>
├─► POST /api/agent (plain English)
├─► /api/* (REST Mongo helpers)
└─► /mcp (MCP Streamable HTTP for agent hosts)
│
▼
demo-mcp-server
├── agents/mongo
└── agents/excelRelated MCP server: MongoDB MCP Server
실행
npm install
npm run api # http://127.0.0.1:3000
npm run mcp # stdio for Cursor로그인 (모든 React 앱에서)
.env에 CLIENT_API_KEY를 설정하세요. 그런 다음:
const login = await fetch('http://127.0.0.1:3000/api/login', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ apiKey: import.meta.env.VITE_MCP_API_KEY }),
}).then((r) => r.json());
const token = login.token;
const result = await fetch('http://127.0.0.1:3000/api/agent', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${token}`,
},
body: JSON.stringify({ prompt: 'show rows in people' }),
}).then((r) => r.json());가능하면 브라우저 번들에서 비밀을 제외하세요(React 앱의 백엔드를 통해 프록시). 로컬 데모 전용으로만 Vite 환경 변수가 괜찮습니다.
CORS
CORS_ORIGIN=*는 모든 React 오리진을 허용합니다. 또는 쉼표로 구분된 목록을 설정하세요:
CORS_ORIGIN=http://localhost:5173,http://localhost:3001레이아웃
src/
agents/
mongo/ # Agent 1
excel/ # Agent 2
catalog.ts # Public agent list
orchestrator/ # Plain-English → tool calls (LLM or rules)
mcp/ # MCP factory + stdio
http/ # REST + /mcp + login auth
shared/db/ # Mongo connection helpers
data/workbook.xlsxCursor (stdio)
.cursor/mcp.json은 여전히 src/mcp/stdio.ts를 가리킵니다.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for AI-driven data ops. Create apps, manage schemas, and CRUD structured data.
- mcpOAuthcom.airtable
Official Airtable MCP server — database and operations layer for agents.
API-first CRM for LLMs - contacts, companies, deals and activities over a native MCP server.
- UnifAPIOAuthcom.unifapi
Hosted MCP server for live public-data APIs and Skills for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants like Claude to interact with MongoDB databases through standardized MCP tools. Supports full CRUD operations, aggregations, and natural language queries with Clean Architecture and dual transport modes (STDIO/HTTP).-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for MongoDB operations, enabling AI assistants to interact with MongoDB databases through a standardized interface.13 npm4MIT
- AlicenseNot gradedqualityBmaintenanceSelf-hosted MCP server that bridges your MongoDB or PostgreSQL database to AI agents, with sandbox isolation and field-level control.73MIT
- AlicenseNot gradedqualityDmaintenanceFeature-rich MCP server for MongoDB with multi-connection support, enabling users to interact with multiple MongoDB clusters simultaneously, perform CRUD operations, run aggregations, diagnostics, and more, all through natural language.10 npmMIT