serena-vbnet
Visual Basic .NET language support for Serena MCP Server
Enable AI-assisted development for VB.NET codebases with full language intelligence:
- ✅ Symbol extraction (Module, Class, Sub, Function, Property)
- ✅ Go-to-definition
- ✅ Find references
- ✅ Code completion
- ✅ Diagnostics
Quick Start
# Install Serena and VB.NET plugin
pip install serena-agent serena-vbnet
# Setup VB.NET support (one-time)
serena-vbnet setup
# Use with your VB.NET project
cd my-vbnet-project
serena project generate-yml
# Edit .serena/project.yml: set "language: vbnet"
serena start-mcp-server
claude mcp add serena -- serena start-mcp-server
That's it! Your VB.NET project now has AI-assisted development capabilities through Claude Code, Cursor, or other tools that support MCP.
Prerequisites
- Python 3.11 or later
- Serena MCP Server:
pip install serena-agent
Use with AI Tools
Claude Code:
- Configure MCP server in
.mcp.json - Serena automatically provides VB.NET intelligence
Cursor / other IDEs:
- Connect to Serena via MCP protocol
- Get code completion, go-to-definition, find-references for VB.NET
CLI Commands
serena-vbnet setup # Install and configure VB.NET support
serena-vbnet verify # Verify installation
serena-vbnet info # Show installation information
serena-vbnet update # Update to latest version
serena-vbnet uninstall # Remove VB.NET support
serena-vbnet --help # Show all commands
What Makes This Work
Microsoft's Roslyn LanguageServer has full VB.NET support in source code, but the distributed NuGet packages don't include VB.NET workspace services.
This plugin uses a custom-built Roslyn LanguageServer with VB.NET enabled. Pre-built binaries are available for all platforms, or you can build from source.
See Why a custom build? for technical details.
Features
Symbol Extraction
Extracts VB.NET-specific constructs:
Module(similar to static class)Class/Interface/StructureSub(void method) /Function(method with return value)Property/FieldEnum/Event/Delegate
Code Intelligence
- Go-to-definition: Jump to symbol declarations
- Find references: Find all usages of symbols
- Code completion: IntelliSense for VB.NET
- Diagnostics: Real-time compiler errors and warnings
Project Support
Recognizes VB.NET projects:
.vbsource files.vbprojproject files.slnsolution files
Example Project Structure
my-vbnet-app/
├── .serena/
│ └── project.yml # Set "language: vbnet"
├── MyApp.sln
├── MyApp/
│ ├── MyApp.vbproj
│ ├── Program.vb
│ ├── Module1.vb
│ └── Class1.vb
└── Tests/
├── Tests.vbproj
└── UnitTests.vb
Troubleshooting
"Serena not found"
pip install serena-agent
"Language server not installed"
serena-vbnet setup --force
Build from source failing
Ensure .NET 8 SDK is installed:
dotnet --version # Should show 8.0.x or later
Download from: https://dot.net
Verification
serena-vbnet verify
This checks:
- Language server installation
- VB.NET assemblies present
- Serena configuration
Architecture
serena-vbnet (PyPI Plugin)
↓
Downloads from: roslyn-vbnet-languageserver (GitHub Releases)
↓
Installs to: ~/.serena/language_servers/roslyn_vbnet/
↓
Patches: Serena's ls_config.py
↓
Serena recognizes: .vb files and provides VB.NET intelligence
Contributing
Contributions welcome! Please:
- Report issues on GitHub Issues
- Submit PRs for improvements
- Help improve documentation
Related Projects
- roslyn-vbnet-languageserver - Build automation for Roslyn LS with VB.NET
- Serena MCP Server - AI-assisted development framework
- Roslyn - .NET Compiler Platform (upstream)
License
MIT License - See LICENSE
Support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Serena Docs: oraios.github.io/serena
Acknowledgments
- Microsoft for the excellent Roslyn compiler platform
- Serena team for the MCP server framework
- VB.NET community for keeping the language alive
Made with ❤️ for the VB.NET community
Metadata
Release files for serena-vbnet 1.0.29
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| serena_vbnet-1.0.29.tar.gz | 27.4 kB | With provenance | Details for serena_vbnet-1.0.29.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| serena_vbnet-1.0.29-py3-none-any.whl | Python 3 | none | any | Details for serena_vbnet-1.0.29-py3-none-any.whl |
Total release size: 54.8 kB
Release files / serena_vbnet-1.0.29.tar.gz
| Download URL | serena_vbnet-1.0.29.tar.gz |
|---|---|
| Size | 27.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
187b79621270ebd7887d433936496682a1e6197cda7d31c9665688df3830b3a2
|
|
BLAKE2b-256 checksum How to use checksums |
f9c821fc117665384721b6de8ce4e85297f73cdf070dde511bf011c172d0ae6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.
Transparency logRelease files / serena_vbnet-1.0.29-py3-none-any.whl
| Download URL | serena_vbnet-1.0.29-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64fa80151cd27a94a71efbac977ca82b33a8a145f3a1d2c96611d257e0e224ec
|
|
BLAKE2b-256 checksum How to use checksums |
c9502ca4f7663d2638d471e5aaf012d4e4625695421db283446a1ea369c2c1fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.
Transparency logSecurity for serena-vbnet 1.0.29
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for serena_vbnet-1.0.29.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.