Virto Commerce Docs Are Now Available in Context7

Virto Commerce documentation is now available in Context7:

https://context7.com/virtocommerce/vc-docs

This is a small-looking update with a very practical impact. If you use Claude Code, Cursor, or another MCP-compatible AI coding assistant, you can now ask it to work with the current Virto Commerce documentation instead of relying only on model memory.

For day-to-day development, that matters.

Why this is useful

AI assistants are good at giving direction. They can explain architecture, draft code, and help move through unfamiliar areas faster. But when the task depends on current product documentation, model memory is often not enough.

Virto Commerce development often involves details that should come from the docs:

  • installing Platform and modules with vc-build;

  • working with vc-package.json;

  • creating or updating module manifests;

  • building VC-Shell custom apps;

  • using composables such as useSettings and usePermissions;

  • registering menu items and widgets;

  • configuring appsettings.json;

  • setting up Storefront themes locally;

  • checking GraphQL Storefront API examples.

These are not abstract questions. They are the normal, practical things developers need while building.

Without current documentation in context, an AI assistant can still give an answer that looks reasonable, but misses an important detail: an outdated command, a wrong import, an old pattern, or a generic ASP.NET Core, an open-source web development framework | .NET example where a Virto Commerce-specific one is needed.

Context7 helps close that gap.

What Context7 adds

Context7 connects AI coding tools to up-to-date documentation. For Virto Commerce, it can fetch relevant snippets from the official virtocommerce/vc-docs repository and bring them into the assistant’s context during the conversation.

So instead of asking:

How do I create a Virto Commerce custom app?

you can ask:

Use Context7 with /virtocommerce/vc-docs. Show the current way to create a Virto Commerce custom app that adds a menu item and checks permissions.

That extra instruction gives the assistant a better foundation. It can look at the relevant documentation first, then generate a more accurate answer.

At the time of writing, the Context7 entry for Virto Commerce contains more than 790k documentation tokens and over 2,700 code snippets. It covers a broad set of developer topics, including Platform setup, module installation, VC-Shell, custom apps, Storefront, deployment, and configuration.

A familiar before-and-after

Before Context7, the workflow often looked like this:

  1. Ask the AI assistant for help.

  2. Get a confident first draft.

  3. Open the documentation anyway.

  4. Notice that one or two details are not quite current.

  5. Correct the prompt or patch the generated code manually.

That is manageable, but it interrupts the flow. The assistant helps, yet the developer still has to keep checking whether the answer matches the current docs.

With Context7, the workflow becomes simpler:

  1. Ask the assistant to use Context7 with /virtocommerce/vc-docs.

  2. Let it retrieve the relevant Virto Commerce documentation.

  3. Review an answer that starts much closer to the current platform reality.

It does not remove the need for engineering review. It simply improves the starting point, which is exactly where AI assistance is most valuable.

Practical prompts to try

Here are a few examples that map to real Virto Commerce development work.

Use Context7 with `/virtocommerce/vc-docs`.
Show how to install Virto Commerce Platform and modules from a vc-package.json manifest.

Use Context7 with `/virtocommerce/vc-docs`.
Create a VC-Shell custom app example that registers a menu item and checks user permissions.

Use Context7 with `/virtocommerce/vc-docs`.
Explain the current Virto Commerce module manifest structure and show a minimal example.

Use Context7 with `/virtocommerce/vc-docs`.
Review this appsettings.json connection string for a local SQL Server setup.

Use Context7 with `/virtocommerce/vc-docs`.
Show the current local setup flow for the Vue B2B Storefront theme.

The useful part is not that these prompts are complicated. It is that they ask the assistant to begin from the same documentation a developer would open manually.

Setting it up in Cursor

In Cursor, open:

Settings → Cursor Settings → MCP → Add new global MCP server

Add Context7 as an MCP server:

{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
}
}
}
}

An API key is recommended for higher rate limits.

You can also add a rule so Cursor uses Context7 automatically for Virto Commerce questions:

When I ask about Virto Commerce APIs, module development, VC-Shell, Storefront setup, platform configuration, or documentation-backed code examples, use Context7. Prefer the `/virtocommerce/vc-docs` library for Virto Commerce questions.

Setting it up in Claude Code

For Claude Code, Context7 provides a setup command:

npx ctx7 setup --claude

For remote machines, headless environments, or SSH sessions, use an existing API key:

npx ctx7 setup --claude --api-key YOUR_API_KEY

After setup, you can ask directly:

Use Context7 with `/virtocommerce/vc-docs` and show the current Virto Commerce module template setup.

or:

Use Context7 with `/virtocommerce/vc-docs` and explain how to configure a custom authentication provider in VC-Shell.

Why it improves the developer loop

The main benefit is not that AI writes everything for us. The benefit is more practical: it reduces the distance between a question, the documentation, and a useful first answer.

For experienced Virto Commerce developers, this means fewer interruptions while checking syntax, commands, and examples.

For developers who are new to the platform, it means the assistant can guide them using current Virto Commerce terminology and documented patterns.

For teams, it means AI-generated drafts are more likely to start from the same source of truth everyone already trusts: the official docs.

Recommended prompt pattern

A simple pattern works well:

Use Context7 with `/virtocommerce/vc-docs`.
I am working with Virto Commerce.
Task: <describe what you want to build or understand>.
Use the current documented APIs and keep the answer focused on the relevant code or configuration.

Example:

Use Context7 with `/virtocommerce/vc-docs`.
I am working with Virto Commerce.
Task: create a custom VC-Shell page that registers a menu item and checks whether the user has permission to open it.
Use the current documented APIs and keep the answer focused on the relevant code or configuration.

Final note

Virto Commerce is powerful because it is modular and extensible. That flexibility is one of its strengths, but it also means developers need accurate context: the right command, the right API, the right extension point, and the right current pattern.

Having virtocommerce/vc-docs available in Context7 gives Claude, Cursor, and other AI coding tools a direct path to that context.

Less time spent correcting outdated examples. More time spent building.

1 Like