VFS

v1.0.0Developer Toolsstable

Reduce AI agent token usage by 98% via Virtual Function Signatures. MCP server for Cursor & Claude Desktop. Supports Go, TypeScript, Python, Rust, Java, Swift, Kotlin, C# and more.

ai-agentsgovibe-coding
Share:
137
Stars
0
Downloads
0
Weekly
0/5

What is VFS?

VFS is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to reduce ai agent token usage by 98% via virtual function signatures. mcp server for cursor & claude desktop. supports go, typescript, python, rust, java, swift, kotlin, c# and more.

Reduce AI agent token usage by 98% via Virtual Function Signatures. MCP server for Cursor & Claude Desktop. Supports Go, TypeScript, Python, Rust, Java, Swift, Kotlin, C# and more.

This server falls under the Developer Tools and Coding Agents categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Reduce AI agent token usage by 98% via Virtual Function Sign

Use Cases

Reduce token usage by 98% for AI agents using virtual function signatures.
Support code understanding across Go, TypeScript, Python, Rust, and more.
TrNgTien

Maintainer

LicenseMIT
Languagec
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx vfs

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use VFS

VFS (Virtual Function Signatures) is an MCP server that dramatically reduces AI agent token consumption by providing only function signatures and type information instead of full source files when an AI needs to understand a codebase. It supports 17 programming languages including Go, TypeScript, Python, Rust, Java, Swift, Kotlin, and C#. Security and development teams use it to let AI assistants navigate large monorepos efficiently without exhausting context windows.

Prerequisites

  • Go 1.21+ installed (for building from source) or use pre-built binaries from GitHub Releases
  • An MCP-compatible client such as Claude Desktop or Cursor
  • A codebase in any of the 17 supported languages to index
  • Docker (optional, for containerized deployment)
1

Install the vfs binary

Build and install the vfs binary from source using the Go toolchain. Alternatively, download a pre-built release binary for your OS from the GitHub Releases page.

go install ./cmd/vfs
2

Verify the installation

Confirm vfs is installed and accessible on your PATH by checking the version.

vfs --version
3

Start the MCP server

Launch vfs in MCP server mode using stdio transport so your MCP client can connect to it. The `vfs up` command starts it as a background process.

vfs up
4

Configure your MCP client

Add vfs to your Claude Desktop or Cursor MCP configuration. The server runs as a stdio process pointing to your project directory.

{
  "mcpServers": {
    "vfs": {
      "command": "vfs",
      "args": ["mcp"]
    }
  }
}
5

Test token savings with a search

Use the search tool to locate function signatures by name or pattern, and check cumulative savings with the stats command.

# Search for a function pattern
vfs . -f HandleLogin

# View token savings analytics
vfs stats

VFS Examples

Client configuration

Claude Desktop configuration to run the VFS MCP server in stdio mode.

{
  "mcpServers": {
    "vfs": {
      "command": "vfs",
      "args": ["mcp"]
    }
  }
}

Prompts to try

Example prompts to use with the VFS MCP server in Claude Desktop or Cursor.

- "Show me all exported functions in the /src/auth directory"
- "Find function signatures matching 'Handler' in the project"
- "What functions are available in the payments module?"
- "List all supported programming languages"
- "Extract signatures from /src/api/routes.ts"

Troubleshooting VFS

vfs command not found after go install

Ensure your Go bin directory is on your PATH. Run `export PATH=$PATH:$(go env GOPATH)/bin` and add it to your shell profile (~/.bashrc or ~/.zshrc).

Functions from a specific file are not showing up

Verify the file uses one of the 17 supported languages and that the functions are exported (e.g., capitalized in Go, or use `export` keyword in TypeScript). Run `vfs list_languages` to confirm language support.

MCP client cannot connect to vfs server

Ensure the vfs binary path in your MCP config is absolute or that vfs is on the system PATH accessible to the client process. Use `which vfs` to get the full path and specify it explicitly in the `command` field.

Frequently Asked Questions about VFS

What is VFS?

VFS is a Model Context Protocol (MCP) server that reduce ai agent token usage by 98% via virtual function signatures. mcp server for cursor & claude desktop. supports go, typescript, python, rust, java, swift, kotlin, c# and more. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install VFS?

Follow the installation instructions on the VFS GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with VFS?

VFS works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is VFS free to use?

Yes, VFS is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "vfs": { "command": "npx", "args": ["-y", "vfs"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use VFS?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides