mcp-agent-to-vsc
Provides a tool to send prompts to OpenAI's API and retrieve responses.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-agent-to-vscRead package.json and use AI to list dependencies"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP - Agent to VSC
Local MCP server that connects an MCP-capable VS Code agent such as Cline to OpenAI and workspace file tools.
Flow
Cline / VS Code -> MCP (stdio) -> local Node.js server -> OpenAI API
Related MCP server: Code MCP Server
Tools
ask_ai— send prompts to OpenAIread_file— read workspace fileswrite_file— write workspace fileslist_files— list workspace files/directoriesworkspace_info— inspect configuration
Install
Requirements: Node.js 20+.
npm installSet OPENAI_API_KEY in the environment. Never commit the real key.
PowerShell:
$env:OPENAI_API_KEY="sk-..."
npm startCline
Add this server to Cline's MCP settings:
{
"mcpServers": {
"mcp-agent-to-vsc": {
"command": "node",
"args": ["C:\\path\\to\\mcp-agent-to-vsc\\server.mjs"],
"env": {
"OPENAI_API_KEY": "YOUR_API_KEY",
"OPENAI_MODEL": "gpt-5.6",
"WORKSPACE_ROOT": "C:\\path\\to\\your\\workspace"
}
}
}
}For local VS Code MCP configuration, see .vscode/mcp.json.
Security
The server restricts file access to WORKSPACE_ROOT. Keep your API key in an environment variable or an ignored .env file.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP Server that enables LLMs to interact with the local filesystem.1816211MIT
- AlicenseCqualityDmaintenanceAn experimental MCP server that enables AI assistants to interact with VS Code workspaces through file operations, code execution, and Git management. It also provides tools for Docker integration, project scaffolding, and secure command execution using project-specific configurations.76223MIT
- Alicense-qualityCmaintenanceLocal MCP server bridging ChatGPT Web to local tools for file, shell, git, test, and process management with secure policy controls.MIT
- Alicense-qualityCmaintenanceExperimental MCP server for local LLM orchestration with filesystem tools (read, write, list, delete files) and a CLI agent that communicates via Ollama.9ISC
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/relr-prog/mcp-agent-to-vsc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server