mcp-server

mcp-server

MCP server for Factsheet authentication, providing token exchange and company listing endpoints for MCP integration.

Category
Visit Server

README

Factsheet MCP Login PoC

Next.js 14 App Router 기반의 PoC 연결 프론트엔드입니다. cb URL로 Factsheet 토큰과 회사 코드를 POST한 뒤, 응답의 redirect_url로 브라우저를 돌려보냅니다.

실행

npm install
npm run dev

로컬 주소는 http://localhost:3000입니다.

검증 URL

새 MCP callback bridge 흐름은 루트 URL의 cb 쿼리를 사용합니다.

http://localhost:3000/?cb=https%3A%2F%2Fexample.trycloudflare.com%2Foauth%2Fcallback%2Fstate123

cb가 있으면 /login으로 이동한 뒤, 사용자가 직접 입력한 accessToken, refreshToken, companyCode를 해당 URL로 JSON POST합니다. 응답의 redirect_url이 있으면 브라우저를 그 URL로 이동시킵니다.

기대 흐름:

  1. /?cb=...로 진입
  2. /login?cb=...로 이동
  3. /login에서 accessToken, refreshToken, companyCode 직접 입력
  4. cb URL로 JSON POST
  5. 응답의 redirect_url로 브라우저 이동

MCP Auth Backend API

MCP 서버가 회사 목록과 회사 전환 토큰을 조회할 수 있도록 프론트백에서 아래 API를 제공합니다.

GET /mcp/auth/companies
POST /mcp/auth/token

요청에는 테스트용 Bearer token이 필요합니다.

Authorization: Bearer fake_access_token_abc123

회사 데이터는 data/mcp-companies.json에 있습니다.

Claude Desktop 연결 주의

Claude Desktop에는 프론트 로그인 URL이 아니라 MCP 서버 주소를 등록해야 합니다.

http://localhost:8000/mcp

인증이 정상 시작되면 MCP 서버가 다음처럼 프론트로 이동시켜야 합니다.

http://localhost:3000/?cb=https%3A%2F%2F...%2Foauth%2Fcallback%2Fstate

프론트는 OAuth state, PKCE, redirect_uri를 직접 조립하지 않습니다. cb 값 그대로 JSON POST하고, 응답의 redirect_url만 따라갑니다.

환경변수

NEXT_PUBLIC_MCP_SERVER_URL=http://localhost:8000

Vercel 배포 값:

NEXT_PUBLIC_MCP_SERVER_URL=https://mcp-poc-production.up.railway.app

PRD

원본 PRD는 PRD_Login_Frontend.md에 보관되어 있습니다.

mcp-server

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured