How to Use the MTA MCP in VS Code Copilot
Give your team live MTA data inside VS Code Copilot. Check service status and track trains with one shared config.
Works with every AI agent you already use
…and any MCP-compatible client
Connect MTA MCP to VS Code Copilot
Create your Vinkius account to connect MTA to VS Code Copilot and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
One config file for the whole team
Add this MCP Server to a `.vscode/mcp.json` file and commit it to your repository. Instantly, every developer on your team gets access to the MTA tools inside Copilot Chat. There's no individual setup or key management. Now, anyone on the team can ask Copilot about transit status. It's perfect for engineering teams in New York who need to coordinate in-office days or for companies building internal tools that rely on transit information.
Is my commute screwed? Ask Copilot.
Before you pack up for the day, you can quickly check your commute. Just ask Copilot, "Are there any delays on the LIRR?" or "Check the status of the 4/5/6 lines." Your agent uses `get_service_alerts` to give you a quick, clean summary of any problems. It's faster than pulling out your phone and opening an app. You can even ask it to use `get_lirr_feed` or `get_subway_feed` to see if your specific train is running on time. It's a practical perk for any developer commuting in the city.
Bring MTA data into your project
Your team can use these tools to pull live transit data for internal projects. Need to build a dashboard that shows service status? Have Copilot's agent call `get_service_alerts` and format the output. The agent can use `get_stations` to list subway station data or `get_bus_vehicles` to get bus locations. Because this is an MCP server, you don't have to worry about managing API keys or authentication for each developer. The Vinkius server handles the connection to the MTA API, so your team can focus on getting the data they need.
Set up MTA MCP in VS Code Copilot
Prerequisites
- VS Code 1.99 or later with GitHub Copilot extension
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP configuration
Open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and run "MCP: Add Server". Select HTTP (Streamable) as the server type. VS Code will create.vscode/mcp.jsonin your workspace. - 2
Add the MTA MCP
Paste the JSON snippet shown on the right into your
.vscode/mcp.json. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Switch to Agent mode
Open Copilot Chat (
Cmd+Shift+I/Ctrl+Shift+I) and switch to Agent mode using the dropdown. MCP tools are only available in Agent mode — they do not appear in Edit or Ask modes. - 4
Verify the connection
In the Copilot Chat input, type
#to list available tools. You should see the MTA tools listed. Try asking: "List my recent MTA transactions" and Copilot will invoke them automatically.
{
"mcpServers": {
"mta-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by MTA. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about MTA MCP in VS Code Copilot
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the MTA MCP today
We host it, we monitor it, we maintain it. You just paste one token.