MCPcopy Index your code
hub / github.com/v2fly/v2ray-core

github.com/v2fly/v2ray-core @v5.49.0 sqlite

repository ↗ · DeepWiki ↗ · release v5.49.0 ↗
10,673 symbols 37,152 edges 1,256 files 1,872 documented · 18% 27 cross-repo links
README

V2Ray

Project V

Project V is a set of network tools that helps you to build your own computer network. It secures your network connections and thus protects your privacy.

GitHub Test Badge codecov.io goreportcard Codacy Badge Downloads

Related Links

Packaging Status

If you are willing to package V2Ray for other distros/platforms, please let us know or seek for help via GitHub issues.

Packaging status

License

The MIT License (MIT)

Credits

This repo relies on the following third-party projects:

Extension points exported contracts — how you extend this code

Server (Interface)
Server is an instance of V2Ray. At any time, there must be at most one Server instance running. [7 implementers]
v2ray.go
Inbound (Interface)
An Inbound processes inbound connections. [11 implementers]
proxy/proxy.go
ResponseConfig (Interface)
ResponseConfig is the configuration for blackhole responses. [17 implementers]
proxy/blackhole/config.go
Dispatcher (Interface)
Dispatcher is a feature that dispatches inbound requests to outbound handlers based on rules. Dispatcher is required to [15 …
features/routing/dispatcher.go
Server (Interface)
Server is the interface for Name Server. [7 implementers]
app/dns/nameserver.go
Service (Interface)
Service is a Commander service. [8 implementers]
app/commander/service.go
Closable (Interface)
Closable is the interface for objects that can release its resources. v2ray:api:beta [175 implementers]
common/interfaces.go
Account (Interface)
Account is a user identity used for authentication. [8 implementers]
common/protocol/account.go

Core symbols most depended-on inside this repo

Base
called by 1162
common/errors/errors.go
$funcType
called by 1076
release/extra/browserforwarder/index.js
Must
called by 1008
common/common.go
ToTypedMessage
called by 851
common/serial/typed_message.go
$clone
called by 710
release/extra/browserforwarder/index.js
WriteToLog
called by 493
common/errors/errors.go
Error
called by 414
common/buf/copy.go
String
called by 357
common/log/log.go

Shape

Method 5,933
Function 2,830
Struct 1,500
Interface 255
TypeAlias 100
FuncType 55

Languages

Go99%
TypeScript1%

Modules by API surface

app/dns/config.pb.go157 symbols
app/router/config.pb.go145 symbols
app/webrtc/config.pb.go124 symbols
transport/internet/rrpit/rrpitTransport/config.pb.go123 symbols
app/proxyman/config.pb.go110 symbols
app/proxyman/command/command.pb.go104 symbols
transport/internet/rrpit/rriptMonoDirectionSession/monoSession.go102 symbols
app/router/command/command.pb.go94 symbols
app/webrtc/webrtc.go91 symbols
release/extra/browserforwarder/index.js86 symbols
transport/internet/config.pb.go82 symbols
app/router/routercommon/common.pb.go82 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

github.com/adrg/xdgv0.5.3 · 1×
github.com/aead/cmacv0.0.0-2016071912080 · 1×
github.com/ajg/formv1.5.1 · 1×
github.com/andybalholm/brotliv1.0.6 · 1×
github.com/apernet/quic-gov0.59.1-0.2026021709 · 1×
github.com/boljen/go-bitmapv0.0.0-2015100110594 · 1×
github.com/desertbit/timerv0.0.0-2018010715543 · 1×
github.com/dgryski/go-metrov0.0.0-2021121717270 · 1×
github.com/ebfe/bcrypt_pbkdfv0.0.0-2014021207582 · 1×

For agents

$ claude mcp add v2ray-core \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact