agentic-mcp-gateway
Model Context Protocol (MCP)
운영 작업을 위한 에이전틱 루프로의 도구: 로컬 지식 베이스(RAG)에서 정책을 검색하고, 모의 결제를 검색하고, 티켓을 엽니다 — 독점 코드 없이 코어 뱅킹/운영 API 앞에 있는 프로덕션 코파일럿과 동일한 형태입니다.
이 저장소는 Md Tanvir Alam의 오리지널 데모 소프트웨어입니다. 일반적인 결제, KYC, 은행 간 메시징 개념만 사용합니다.
Related MCP server: LightsOut
아키텍처
flowchart LR
subgraph Client
Recruiter["CLI / curl / MCP client"]
end
subgraph HTTP["Optional FastAPI"]
Chat["POST /chat"]
Health["GET /health"]
end
subgraph Agent["Agent loop"]
LLM["LLM or FakeLLM stub"]
ReAct["ReAct planner"]
end
subgraph MCP["MCP server"]
T1["retrieve_docs"]
T2["search_payments"]
T3["create_ticket"]
end
subgraph Data
KB["Markdown KB + hash embeddings"]
SQLite["SQLite mock ledger / tickets"]
end
Recruiter --> Chat
Recruiter --> MCP
Chat --> ReAct
ReAct --> LLM
ReAct --> T1 & T2 & T3
MCP --> T1 & T2 & T3
T1 --> KB
T2 --> SQLite
T3 --> SQLiteMCP 서버와 HTTP 에이전트는 하나의 도구 레지스트리를 공유합니다. 이것이 프로덕션 패턴입니다: IDE 에이전트를 위한 stdio/SSE와 제품 UI를 위한 HTTP를 통해 동일한 타입화된 기능을 노출합니다.
빠른 시작
Python 3.11+ (3.12/3.13도 가능). API 키가 필요 없습니다.
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
# tests — FakeLLM, hash embeddings, in-memory SQLite
pytest -q
# HTTP demo
cp .env.example .env
PYTHONPATH=src python -m uvicorn agentic_mcp_gateway.http_app:app --port 8080세션을 시도해 보세요:
curl -s localhost:8080/health
curl -s localhost:8080/chat -H 'content-type: application/json' \
-d '{"message":"Find payment PMT-1002 and open a ticket if it is stuck"}'MCP stdio (Claude Desktop / Cursor 스타일 클라이언트용):
PYTHONPATH=src python -m agentic_mcp_gateway.mcp_serverDocker:
docker compose up --build
# then the same curl against localhost:8080MCP 도구가 프로덕션에 매핑되는 방식
데모 도구 | 실제 플랫폼이 래핑할 것 | 추가할 가드레일 |
| Confluence, 런북, ISO 20022 노트에 대한 정책/제품 RAG | 테넌트별 ACL, 인용 필수, 오래된 문서 TTL |
| 결제 버스 또는 조사 저장소에 대한 읽기 API | 필드 수준 마스킹, 감사 로그, 쿼리 비용 제한 |
| 케이스 관리 / Jira / ServiceNow 쓰기 경로 | 멱등성 키, 메이커-체커, PII 스크러빙 |
에이전트는 작은 ReAct 루프입니다: 생각 → 도구 선택 → 관찰 → 반복, 그런 다음 답변. LLM_PROVIDER=fake를 사용하면 플래너가 결정적이므로 CI는 OpenAI를 필요로 하지 않습니다. LLM_PROVIDER=llm과 OPENAI_API_KEY를 설정하면 실제 채팅 모델로 교체됩니다; 도구 계약은 동일하게 유지됩니다.
임베딩은 기본적으로 해시된 문자 n-그램 (numpy 코사인)을 사용합니다. 이는 문서화된 데모 폴백입니다 — HashingEmbedder를 문장-트랜스포머 또는 벤더 임베딩 API로 교체해도 리트리버 인터페이스는 변경되지 않습니다.
프로젝트 구조
src/agentic_mcp_gateway/ package
tools/ retrieve / payments / tickets
agent.py ReAct + FakeLLM
mcp_server.py MCP stdio server
http_app.py FastAPI /chat
docs/kb/ sample ops knowledge
tests/ tool registry, RAG, mocked agent turn작성자
Md Tanvir Alam — github.com/tanvir-ux
MIT 라이선스. 어떤 은행이나 코어 뱅킹 벤더와도 관련이 없습니다.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables local document question-answering and retrieval via MCP, supporting multi-turn conversation, intent recognition, and tools for document search, Q&A, and summarization.5
- FlicenseNot gradedqualityAmaintenanceAgent orchestration system that runs coding-agent sessions (Claude Code, Codex) with policy mediation and exposes tools via MCP.
- FlicenseNot gradedqualityCmaintenanceA production-minded RAG service for MCP that answers questions over your documents with hybrid retrieval, PII redaction, and source citations, packaged for Docker/Kubernetes.
- FlicenseNot gradedqualityCmaintenanceAn MCP server exposing internal business operations as tools — task management (create, list, update status) and RAG-style semantic search over an internal knowledge base (leave, expense, and onboarding policies) that any MCP-compatible AI agent can call directly for grounded, non-hallucinated answers.
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Agentic search over your Dewey document collections from any MCP-compatible client.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tanvir-ux/agentic-mcp-gateway'
If you have feedback or need assistance with the MCP directory API, please join our Discord server