Veeva Vault MCP Plugin

Veeva Vault MCP Plugin

Provides two MCP servers: one for searching public Vault documentation and another for read-only access to customer Vaults via OAuth/OIDC.

Category
访问服务器

README

Veeva Cursor plugin

Use official Veeva Vault platform documentation and optional read-only customer Vault access from Cursor.

What it provides

The plugin ships two MCP servers:

  1. vault-docs-mcp — public documentation search at https://docs.veevavault.dev/mcp. No authentication.
  2. vault-readonly-mcp — local stdio MCP that authenticates to a customer Vault with OAuth/OIDC and exposes read-only tools.

The docs server searches Vault Platform developer docs, API reference, SDK and VAPIL Javadocs, and Vault Help. It does not authenticate to a customer Vault.

The customer Vault server can discover OAuth profiles, open a browser login with PKCE, exchange an IdP access token for a Vault session, run read-only VQL, and retrieve object/document metadata. It does not create, update, or delete Vault data, and it does not download source files or renditions.

Prerequisites for customer Vault auth

Customer administrators must configure:

  1. An OAuth/OIDC application in the company identity provider.
  2. A Vault OAuth 2.0 / OpenID Connect profile with Authorization Server metadata.
  3. Client ID Mapping between the Vault application client ID and the IdP client ID.
  4. A loopback redirect URI using http://127.0.0.1:<port>/callback. The plugin chooses an ephemeral port, so the IdP must allow loopback redirects with a dynamic port when possible.

SAML-only security policies without OAuth profiles are out of scope for this release. Username/password Vault auth is also out of scope.

Plugin configuration

Set these plugin variables in Cursor Dashboard → Plugins → Configure, or export them for local development:

Variable Required Purpose
VAULT_OAUTH_APP_CLIENT_ID Yes Application Client ID from Vault Client ID Mapping
VAULT_DNS No Preferred Vault hostname, for example myvault.veevavault.com
VAULT_OAUTH_SCOPES No Default openid profile offline_access
VAULT_API_VERSION No Default v26.1

Cursor's public plugin schema may lag the documented variables feature. After importing into a Team Marketplace, confirm the Configure UI substitutes these values into mcp.json.

Add it to a Cursor team

  1. Open Cursor Dashboard > Plugins.
  2. Under Team Marketplaces, select Add Marketplace.
  3. Select Import from Repo and enter https://github.com/armin-demo/veeva-plugin.
  4. Review the detected plugin and add it to the marketplace.
  5. Configure marketplace access, installation mode, optional auto-refresh, and the Vault OAuth variables above.

This single-plugin repository does not need a marketplace.json.

Load it for local development

git clone https://github.com/armin-demo/veeva-plugin.git
cd veeva-plugin
npm install
mkdir -p ~/.cursor/plugins/local
ln -s "$(pwd)" ~/.cursor/plugins/local/veeva

Reload Cursor, open Customize, and confirm both MCP servers appear.

Verify the connections

Open Agent chat and enter /mcp.

For docs search, ask:

Create Document API request parameters

For customer Vault access:

  1. Call discover_vault_auth with your Vault username.
  2. Call login_vault_oauth and complete the browser login.
  3. Call vault_connection_status, then a read tool such as run_vql.

Docs query tips are in Formatting MCP Queries.

Docs MCP tools

  • search_developer_docs
  • search_api_reference
  • search_sdk_javadocs
  • search_vapil_javadocs
  • search_vault_help_docs

Customer Vault MCP tools

  • discover_vault_auth
  • login_vault_oauth
  • vault_connection_status
  • logout_vault
  • run_vql
  • get_object_metadata
  • get_object_record
  • get_document_metadata
  • get_document_version_metadata
  • list_api_versions

Vault sessions stay in process memory only. Tool responses never include session IDs, access tokens, or Authorization headers.

Extend the plugin

Component Location
Skill skills/<name>/SKILL.md
Subagent agents/<name>.md
Rule rules/<name>.mdc
Command commands/<name>.md
Hook configuration hooks/hooks.json
Shared asset assets/
Customer Vault MCP servers/vault-readonly/

See CONTRIBUTING.md for formats, build steps, and secrets rules.

Develop and validate

Requires Node.js 18 or newer:

npm install
npm test
npm run validate

The customer Vault MCP entrypoint is a self-contained bundle at servers/vault-readonly/dist/index.js, so marketplace installs do not require npm install on the user machine. Rebuild and commit that bundle after source changes.

License and trademarks

The code in this repository is available under the MIT License. This is an unofficial community plugin and is not endorsed by Veeva Systems. Veeva and Vault are trademarks of their respective owner.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选