arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.02698cs.SEcs.CR
收藏

企业身份集成用于AI辅助开发者服务:架构、实现与案例研究

Enterprise Identity Integration for AI-Assisted Developer Services: Architecture, Implementation, and Case Study

Manideep Reddy Chinthareddy

AI总结:

本文提出了一种整合OAuth 2.0和OIDC的架构,用于在AI辅助开发者服务中实现企业身份集成,通过原型验证其可行性并评估相关风险。

摘要:

AI辅助的开发者服务正越来越多地嵌入到现代IDE中,但企业必须确保这些工具在现有的身份、访问控制和治理要求内运行。模型上下文协议(MCP)使AI助手能够检索结构化的内部上下文,但其规范仅提供了一个最小的授权模型,并缺乏指导如何将企业SSO集成进来。本文提出了一种实用的架构,将OAuth 2.0和OpenID Connect(OIDC)整合到MCP启用的开发者环境中。它描述了IDE扩展如何获取和展示令牌,MCP服务器如何通过身份提供商验证这些令牌,以及如何通过作用域和声明来实施最小特权访问。使用Visual Studio Code、基于Python的MCP服务器和符合OIDC标准的身份提供商的原型实现展示了可行性。案例研究评估了认证延迟、令牌验证开销、操作考虑因素以及AI特定的风险。该方法为采用AI辅助开发者工具的企业提供了一种可部署的模式,同时保持身份保障和可审计性。

英文摘要:

AI-assisted developer services are increasingly embedded in modern IDEs, yet enterprises must ensure these tools operate within existing identity, access control, and governance requirements. The Model Context Protocol (MCP) enables AI assistants to retrieve structured internal context, but its specification provides only a minimal authorization model and lacks guidance on integrating enterprise SSO. This article presents a practical architecture that incorporates OAuth 2.0 and OpenID Connect (OIDC) into MCP-enabled developer environments. It describes how IDE extensions obtain and present tokens, how MCP servers validate them through an identity provider, and how scopes and claims can enforce least-privilege access. A prototype implementation using Visual Studio Code, a Python-based MCP server, and an OIDC-compliant IdP demonstrates feasibility. A case study evaluates authentication latency, token-validation overhead, operational considerations, and AI-specific risks. The approach provides a deployable pattern for organizations adopting AI-assisted developer tools while maintaining identity assurance and auditability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑