Kyungshin Holdings × AWSResearch Archive

Kyungshin Holdings: Shared MCP, read-only Text2SQL, and a centralized SAP authentication platform

ManufacturingEnterprise data querying and system integrationPilotText2SQLSAPMCPAgentCoreRead-onlySSO

Korean Original · AI translated and organized · AI implementation (FDE not disclosed)

Benchmark Engineering Cases · Case quick read

Case Overview

Business Problem

Production quality data is in MS-SQL, and procurement accounting is in SAP; duplicate integration leads to scattered credentials, policy change costs, and duplicate tool development.

Publicly disclosed AI solutions

Korean original · AI translation and organization. AWS introduces how Kyungshin Holdings built an enterprise Agent platform, reusing MS-SQL and SAP access paths and centrally managing authentication, tool approval, session isolation, and usage; organization-wide rollout is a phased roadmap.

Core Engineering Findings

Engineering Analysis by This Library

Shared MCP does not automatically pass on an employee's data permissions

Registry approval of tool availability does not mean the current employee can read every row of data; the ability to parse SQL does not mean access is authorized or that compute cost is controllable.

Engineering analysis · View basis

Technical Architecture

Public solution summary

AgentCore Gateway wraps the MS-SQL Lambda and the existing SAP REST API as tools; SELECT parsing and validation, a read-only account, and logging form multiple layers of constraints. SAP tokens are centrally injected by the REQUEST Interceptor, and the Agent does not hold database credentials.

View the complete architecture and reference data flow

Key engineering trade-offs

Engineering Analysis by This Library

The original text centrally handles SAP tokens, and MS-SQL uses sqlglot and a read-only account. It is recommended to additionally constrain databases, tables, functions, row/column scope, and query budgets; compare single Agent + Skills and multi-Agent on the same question set.

Centralized authentication becomes a critical dependency and requires concurrent refresh and invalidation handling; Skills depend on expert maintenance, and a single Agent reduces isolation and division of labor.

In-depth Technical Analysis

Outcomes and Verification Boundaries

Pilot

The original text states that after changing to a single Agent + Skills, some tasks went from 172 seconds to 56 seconds and from 140–190 seconds to about 30 seconds, and expert Skills reduced tool calls for the same question from 8 to 1; this is not extrapolated to overall business benefits.

Original text verified · Public cases · Benefits not independently accepted

The vendor engineering blog discloses platform construction and performance examples, but does not provide complete production coverage, evaluation samples, or independent verification; Phases 2–4 are a rollout roadmap, and it cannot be concluded from this that the entire organization has gone live.

Complete results criteria and applicable boundaries
In-depth Technical Analysis Architecture, Trade-offs, and Transfer Conditions
01

Business Background and Process

Research Analysis

Production quality data is in MS-SQL, and procurement accounting is in SAP; duplicate integration leads to scattered credentials, policy change costs, and duplicate tool development.

Role
Kyungshin internal IT developers, domain experts, employees, platform administrators, and the security team.
Reproduction scope
The following is a simulated system reproduction that was not executed; read-only SQL and simulated APIs, not connected to real enterprise credentials.
  1. 1Original text: SSO enters the platform, and user calls are logged through the Agent Gateway.
  2. 2Original text: the Agent reads Skills and calls SQL and SAP tools through the shared Gateway.
  3. 3Recommendation from this repository: verify permissions and evidence layer by layer, replay anomalies, and approve resource sharing.

Engineering Problems and Transferable Lessons

Key Engineering Insight
Engineering ProjectionNot yet executedinsight
Special Issues
Platform SSO, Gateway machine identity, and downstream SAP special tokens are different authentication layers; reusing tools may also amplify the scope of data access.
Why Ordinary Architecture Is Not Enough
Registry approval of tool availability does not mean the current employee can read every row of data; the ability to parse SQL does not mean access is authorized or that compute cost is controllable.
Key technical choices
The original text centrally handles SAP tokens, and MS-SQL uses sqlglot and a read-only account. It is recommended to additionally constrain databases, tables, functions, row/column scope, and query budgets; compare single Agent + Skills and multi-Agent on the same question set.
Costs and trade-offs
Centralized authentication becomes a critical dependency and requires concurrent refresh and invalidation handling; Skills depend on expert maintenance, and a single Agent reduces isolation and division of labor.
Failure conditions
It fails when shared credentials exceed authority, caches cross users, dangerous functions appear in SELECT, or outdated Skills cause incorrect associations.
Transferable experience
Maintain both the tool registration permissions and the data authorization matrix; sqlglot is an input for parsing and policy, and cannot serve as database permissions or resource isolation.

Public materials support the problem background; technical supplements are engineering inferences by this library. Related original text:

Original disclosureSource verifiedfact:1Original disclosureSource verifiedfact:2
03

Technical Architecture and Data Flow

Original text / solution listed separately

Original architecture summary

AgentCore Gateway wraps the MS-SQL Lambda and the existing SAP REST API as tools; SELECT parsing and validation, a read-only account, and logging form multiple layers of constraints. SAP tokens are centrally injected by the REQUEST Interceptor, and the Agent does not hold database credentials.

The platform and database/API tool paths have been disclosed; the resource versions, isolation tests, and acceptance thresholds below are recommendations from this repository. A rollout roadmap does not equal completed deployment for all staff.

Suggested Architecture for Reproduction

The following is the research design and does not represent the complete implementation of the enterprise's internal system.

  1. 1
    Identity and tool scope

    User SSO authentication determines the callable Agents and data scope.

  2. 2
    schema and Skills

    Load the domain gold standard, verify the join granularity, and generate candidate queries.

  3. 3
    Deterministic guard

    Dual restrictions from the read-only account and the parser; APIs are called by the centralized authentication layer.

  4. 4
    Evidence and replay

    Bind SQL, tool results, and user logs; rejections and anomalies enter regression.

Suggested Data and System Interfaces

Business ObjectJoin key / criteriaSuggested SourcesPurpose in the process
Production and quality dataWork orders, batches, products, time, statistical granularityOriginal text MS-SQL; synthetic tables are recommendedschema exploration and read-only data querying
Procurement and accounting interfacesAPI version, document ID, service identifier, token expiration timeOriginal text existing SAP REST API; simulation is recommendedSelective tool exposure and authentication testing
Resource approval and usage logsUser, Agent, tool version, approval status, call traceOriginal text Registry and DynamoDB/logsGovernance reuse, attribution, and cost
04

Key design trade-offs

Research Analysis

Multi-Agent or single Agent + Skills?

Suggested choice:After comparing on the same question set, choose the minimal effective orchestration.

Basis for judgment: The original examples show that reducing orchestration and tool calls may lower latency, but this cannot be guaranteed for all tasks.

Costs and boundaries: Skills depend on domain experts for maintenance.

Does each Agent implement SAP authentication?

Suggested choice:Refresh and inject credentials at the centralized adapter layer.

Basis for judgment: Avoid scattered leakage and inconsistent updates.

Costs and boundaries: The adapter layer becomes a critical dependency and requires concurrency and expiration testing.

Engineering Failure Conditions

Exceptions and Degradation

Downstream token 401 or concurrency conflict

Centrally invalidate the cache and refresh to a limited extent; stop calls after repeated failures.

schema or Skills version drift

Pause the relevant queries and perform regression verification; do not continue using old examples.

When it is suitable for adoption, and how value is measured

Research Recommendations by This Library
Data and Organizational Prerequisites
Departmental data permissions, MS-SQL join semantics, and the SAP API list are clear; there are SSO, interface maintainers, and domain experts to proofread queries.
Division of labor among AI, rules and humans
The AI probes the controlled schema and generates queries or selects APIs; SQL parsing, read-only permissions, credential refresh, and approvals are executed by deterministic components.
Conditions not recommended for adoption
Do not expose the database to the Agent without a read-only account, downstream identity mapping, or interface contract; prompts cannot replace permission checks.
Investment and Ongoing Costs
One-time investment is in tool wrapping, authentication adaptation, and the gold standard; ongoing costs include API changes, token anomalies, resource approvals, and query regressions.
Value and evaluation criteria
Compare success rate, tool count, P50/P95, rejection quality, and cost per question on the same question set, and do not extrapolate example speedups to overall efficiency.
Suggested First Step
Construct a synthetic quality SQL database and a simulated procurement API with expired tokens, and replay the same tasks under two-user permissions.

Engineering Implementation Reference

Reference design · Not executed

This section is a reference implementation based on public materials and does not represent the case enterprise's actual internal architecture.

Reference implementationNot yet executedreference
Input Data
Synthetic MS-SQL tables and relationships, domain Skills, tool Registry, SSO authorization matrix, simulated SAP REST, and expired tokens.
System Boundaries
First validate in a synthetic, de-identified, or authorized isolated environment. The following is a simulated system reproduction that was not executed; read-only SQL and simulated APIs, not connected to real enterprise credentials.

Reference architecture and normal execution path

  1. 1

    Identity authorization layer: employee SSO mapping allows databases/tables/rows/columns and tool scope

  2. 2

    SQL tool guard: parses a single statement, restricts databases, tables, functions, and resources; executes against a read-only database

  3. 3

    SAP authentication adapter: centrally refreshes the special token, injects the service identifier, and handles 401s to a limited extent

Key modulesResponsibilitiesAPI / Tool Interaction
Identity authorization layerEmployee SSO mapping allows databases/tables/rows/columns and tool scopeIllustrative: authorize_tool(user_id,resource,scope)
SQL tool guardParse a single statement, restrict databases, tables, functions, and resources; execute against a read-only databaseOriginal text tools: get_schema_card, describe_table, get_relationships, explain_query, execute_query
SAP authentication adapterCentrally refresh the special token, inject the service identifier, and handle 401s to a limited extentOriginal text REQUEST Interceptor; illustrative: refresh_token_singleflight(service_id)

Failure paths

It fails when shared credentials exceed authority, caches cross users, dangerous functions appear in SELECT, or outdated Skills cause incorrect associations.

Stop the affected execution and return missing or conflicting evidence; after re-fetching data and re-review, form a new version.

Downstream token 401 or concurrency conflict

Centrally invalidate the cache and refresh to a limited extent; stop calls after repeated failures.

schema or Skills version drift

Pause the relevant queries and perform regression verification; do not continue using old examples.

Permission and Security Constraints

Authorize separately by user and system service; least read privilege, credential isolation, rejection logs, and cost budgets are enforced by code. Write operations are bound to approver, object, version, and idempotency key; approval does not expand permissions.

Suggested Acceptance Method

Test row/column isolation, dangerous SELECT, DDL/DML, multiple statements, expensive queries, and 401 concurrent refresh with two users in different departments; compare call counts, latency, and business accuracy on a fixed question set. This is an acceptance plan; there are no measured values from this repository.

Research Appendix Complete evidence, metric criteria and research materials
02

Original disclosure and evidence boundaries

Original text verified

Original title: 경신홀딩스의 AX 도입을 위한 에이전트 플랫폼 구축: Amazon Bedrock AgentCore로 사내 데이터를 연결하고 에이전트를 운영하기

Original summary: Korean original · AI translation and organization. AWS introduces how Kyungshin Holdings built an enterprise Agent platform, reusing MS-SQL and SAP access paths and centrally managing authentication, tool approval, session isolation, and usage; organization-wide rollout is a phased roadmap.

The original text explicitly states that MS-SQL uses a read-only account, and Lambda uses sqlglot to allow only SELECT, reject DDL/DML, and audit execution and rejections.

Original disclosureSource verifiedfact:1Original location: 3.2 · 보안 검토 ↗

SAP retains its original REST API, and the REQUEST Interceptor centrally refreshes and injects the non-standard token; the Registry only displays administrator-approved resources.

Original disclosureSource verifiedfact:2Original location: 3.3 / 4.3 ↗
Metric Definitions

The original text states that after changing to a single Agent + Skills, some tasks went from 172 seconds to 56 seconds and from 140–190 seconds to about 30 seconds, and expert Skills reduced tool calls for the same question from 8 to 1; this is not extrapolated to overall business benefits.

Disclosure Boundaries

The vendor engineering blog discloses platform construction and performance examples, but does not provide complete production coverage, evaluation samples, or independent verification; Phases 2–4 are a rollout roadmap, and it cannot be concluded from this that the entire organization has gone live.

Delivery process

AI implementation (FDE not disclosed)

The named enterprise platform architecture and internal developer materials have been verified, but there is no clear FDE or customer co-creation delivery organization; the platform has been built, while full deployment coverage, acceptance, and handover are not disclosed. Delivery method basis

Delivery process verification for this case has not yet been supplemented. Existing delivery method description: The named enterprise platform architecture and internal developer materials have been verified, but there is no clear FDE or customer co-creation delivery organization; the platform has been built, while full deployment coverage, acceptance, and handover are not disclosed.

Metrics and Measurement Definitions

Retain original criteria

"Source verified" only means the public disclosure can be located; it does not mean business results have undergone independent third-party acceptance. Unknown items remain "not disclosed in the original text."

Changes in sample task execution time

Benchmark/performance sample

172 → 56 seconds

Original disclosureSource verifiedmetric:1
Baseline
Original multi-Agent structure 172 seconds
Comparison Period
Not disclosed in the original text
Measurement Scope
Architectural comparison for some of the same tasks, not single SQL database execution duration
Limitations
Samples, measurement methods, and complete comparisons are not disclosed; source disclosure is not equivalent to independent third-party acceptance.
Source:3.2 · 에이전트 동작 과정

Another type of sample execution time

Benchmark/performance sample

140–190 → about 30 seconds

Original disclosureSource verifiedmetric:2
Baseline
Original multi-Agent structure 140–190 seconds
Comparison Period
Not disclosed in the original text
Measurement Scope
Some tasks; question sets and percentiles are not provided
Limitations
Samples, measurement methods, and complete comparisons are not disclosed; source disclosure is not equivalent to independent third-party acceptance.
Source:3.2 · 에이전트 동작 과정

Tool call count for the same question

Benchmark/performance sample

8 → 1 calls

Original disclosureSource verifiedmetric:3
Baseline
8 calls for the same question without expert Skills
Comparison Period
Not disclosed in the original text
Measurement Scope
After introducing domain expert Skills; not all requests
Limitations
Samples, measurement methods, and complete comparisons are not disclosed; source disclosure is not equivalent to independent third-party acceptance.
Source:3.2 · 에이전트 동작 과정
Research Verification Materials

Engineering Verification Status

Type, scope, and execution are recorded separately

Verification has no automatic progression; passing limited synthetic samples does not prove the model, the complete system, or customer production acceptance. Public business outcomes are shown only according to the original evidence.

This section is an engineering reference design, and there is no end-to-end execution record in this library yet.

Reference design · Not yet executed

Verification scope
First validate in a synthetic, de-identified, or authorized isolated environment. The following is a simulated system reproduction that was not executed; read-only SQL and simulated APIs, not connected to real enterprise credentials.
Input Data
Synthetic MS-SQL tables and relationships, domain Skills, tool Registry, SSO authorization matrix, simulated SAP REST, and expired tokens.
Expected output
Test row/column isolation, dangerous SELECT, DDL/DML, multiple statements, expensive queries, and 401 concurrent refresh with two users in different departments; compare call counts, latency, and business accuracy on a fixed question set. This is an acceptance plan; there are no measured values from this repository.
Actual output
Not yet executed, no actual output
Execution Time
Not yet executed; collection time is not used as a substitute
Limitations and failure notes
This section is an engineering reference design, and there is no end-to-end execution record in this library yet.

Test Plan · Not yet executed

Verification scope
The following is a simulated system reproduction that was not executed; read-only SQL and simulated APIs, not connected to real enterprise credentials.
Input Data
Synthetic, public, or authorized data; specific experimental inputs are still to be prepared.
Expected output
DDL/DML are rejected, and the correct query semantics can be verified.;No cross-user leakage, limited refresh of invalid credentials, and rejection of unauthorized calls.
Actual output
Not yet executed, no actual output
Execution Time
Not yet executed; collection time is not used as a substitute
Limitations and failure notes
Phased reproduction and evaluation are planned and cannot be used to prove that an actual system is already running.
05

Phased reproduction path

The complete solution has not yet been executed

Use synthetic, public or authorized data. The following is a follow-up plan; if there is a rule check above, it only proves the samples it explicitly lists and does not mean complete reproduction has been completed.

  1. 1

    SQL security and gold standard

    Build a question set covering cross-table, empty set, wrong semantics, and malicious SQL.

    Planned deliverables:Plan: read-only tools, gold standard, and rejection logs.

    Suggested acceptance conditions:DDL/DML are rejected, and the correct query semantics can be verified.

  2. 2

    Authentication and isolation

    Simulate token expiration, 401 conflicts, two users, and unapproved resources.

    Planned deliverables:Plan: Interceptor replay and access matrix.

    Suggested acceptance conditions:No cross-user leakage, limited refresh of invalid credentials, and rejection of unauthorized calls.

06

Evaluation and Failure Handling

Proposed Solution to Be Verified

The evaluation targets are recommended thresholds and need to be adjusted based on risk and baseline; there are currently no measured results.

MetricsMeasurement MethodSuggested Judgment Conditions
Execution and business correctnessCompare SQL executability with the manual gold standard at the same time, covering duplicate joins and aggregation ambiguity.Recommendation: report separately; do not treat successful execution as a correct answer.
Permission isolationTwo users in different departments, unapproved tools, and DDL/DML counterexamples.Recommendation: zero unauthorized reads and writes.
Orchestration costCompare call counts, P50/P95, and cost of single/multi-Agent with fixed models and question sets.Recommendation: retain a quality comparison before choosing the faster option.

Questions to confirm in the next round

  • How many departments and employees does the platform actually cover, and which features are still on the roadmap?
  • How do row-level data permissions propagate from users to machine tool authentication?
  • How should acceptance, handover, and domain Skills maintenance responsibilities be arranged?

Verification Records and Items to Be Confirmed

2026-10-09

Lightweight content integrity review: source scope, important values, subjects, phases, components, and prototype/production boundaries.

Key assertions verified against the original text

  • Review percentages/orders of magnitude, currency, time windows, enterprises and teams, project phases, technical components, and prototype/production boundaries; no independent acceptance of internal enterprise implementation or business benefits was performed.
  • 172→56 seconds and 140–190→about 30 seconds are Agent task execution times, not single database query execution times.
  • sqlglot syntax/AST control, read-only permissions, data authorization, and query budgets are kept separate; it is not assumed that organization-wide deployment has been completed.
  • Key point of this case's scope: the vendor engineering blog discloses platform construction and performance examples, but does not provide complete production coverage, evaluation samples, or independent verification; Phases 2–4 are a rollout roadmap, and it cannot be concluded from this that the entire organization has gone live.
View all assertions · 7 items
Original disclosure · Source verified · web-ecd9bf442c6a2efbe2dba710:fact:1

Complete assertion: The original text explicitly states that MS-SQL uses a read-only account, and Lambda uses sqlglot to allow only SELECT, reject DDL/DML, and audit execution and rejections.

Verification method
Original materials verification
Last Verified
2026-10-09
Applicable boundaries
Source disclosures have been recorded; this lightweight review is not equivalent to item-by-item re-acceptance. Business benefits are self-reported by the source and have not undergone independent third-party acceptance.
Related cases
Kyungshin Holdings: Shared MCP, read-only Text2SQL, and a centralized SAP authentication platform
Source location:3.2 · 보안 검토
Original disclosure · Source verified · web-ecd9bf442c6a2efbe2dba710:fact:2

Complete assertion: SAP retains its original REST API, and the REQUEST Interceptor centrally refreshes and injects the non-standard token; the Registry only displays administrator-approved resources.

Verification method
Original materials verification
Last Verified
2026-10-09
Applicable boundaries
Source disclosures have been recorded; this lightweight review is not equivalent to item-by-item re-acceptance. Business benefits are self-reported by the source and have not undergone independent third-party acceptance.
Related cases
Kyungshin Holdings: Shared MCP, read-only Text2SQL, and a centralized SAP authentication platform
Source location:3.3 / 4.3
Original disclosure · Source verified · web-ecd9bf442c6a2efbe2dba710:metric:1

Complete assertion: Changes in sample task execution time: 172 → 56 seconds

Verification method
Original materials verification
Last Verified
2026-10-09
Applicable boundaries
Samples, measurement methods, and complete comparisons are not disclosed; source disclosure is not equivalent to independent third-party acceptance. Architectural comparison for some of the same tasks, not single SQL database execution duration
Related cases
Kyungshin Holdings: Shared MCP, read-only Text2SQL, and a centralized SAP authentication platform
Source location:3.2 · 에이전트 동작 과정
Original disclosure · Source verified · web-ecd9bf442c6a2efbe2dba710:metric:2

Complete assertion: Another type of sample execution time: 140–190 → about 30 seconds

Verification method
Original materials verification
Last Verified
2026-10-09
Applicable boundaries
Samples, measurement methods, and complete comparisons are not disclosed; source disclosure is not equivalent to independent third-party acceptance. Some tasks; question sets and percentiles are not provided
Related cases
Kyungshin Holdings: Shared MCP, read-only Text2SQL, and a centralized SAP authentication platform
Source location:3.2 · 에이전트 동작 과정
Original disclosure · Source verified · web-ecd9bf442c6a2efbe2dba710:metric:3

Complete assertion: Tool call count for the same question: 8 → 1

Verification method
Original materials verification
Last Verified
2026-10-09
Applicable boundaries
Samples, measurement methods, and complete comparisons are not disclosed; source disclosure is not equivalent to independent third-party acceptance. After introducing domain expert Skills; not all requests
Related cases
Kyungshin Holdings: Shared MCP, read-only Text2SQL, and a centralized SAP authentication platform
Source location:3.2 · 에이전트 동작 과정
Engineering Projection · Not yet executed · web-ecd9bf442c6a2efbe2dba710:insight

Complete assertion: Shared MCP does not automatically pass on an employee's data permissions

Verification method
No experimental validation yet
Last Verified
Not yet verified or executed
Applicable boundaries
Engineering inference by this repository; based on public disclosures and existing research, and does not represent the customer's internal solution or an executed experiment.
Related cases
Kyungshin Holdings: Shared MCP, read-only Text2SQL, and a centralized SAP authentication platform
Source location:3.2 · 보안 검토Source location:3.3 / 4.3
Reference implementation · Not yet executed · web-ecd9bf442c6a2efbe2dba710:reference

Complete assertion: Engineering implementation reference: Shared MCP does not automatically pass on an employee's data permissions

Verification method
No experimental validation yet
Last Verified
Not yet verified or executed
Applicable boundaries
The reference interfaces are all illustrative, not connected to real enterprise systems, and no complete reproduction experiment was executed; existing synthetic experiment records are retained separately.
Related cases
Kyungshin Holdings: Shared MCP, read-only Text2SQL, and a centralized SAP authentication platform
Source location:3.2 · 보안 검토

Review record: web-ecd9bf442c6a2efbe2dba710:audit:20261009 · Full-library review records

Original research judgment and attribution

Shared tools and centralized authentication are more conducive to governance than per-Agent integration, but identity propagation, database permissions, and resource approvals must be verified separately.

Research compilation and solution analysis: Zuren Zhao · AI-assisted compilation. Original case delivery belongs to the original enterprises and service providers.