VS Code stores MCP settings in an mcp.json file, and you can set the token as a secret input instead of writing it in plain view.
If you work with VS Code and GitHub Copilot Agent Mode, you can connect Fine Structure as a remote MCP server. This gives Copilot access to Fine Structure's tools without you manually copying files, schemas, or error history.
Where to put the file: You can use .vscode/mcp.json for a specific workspace or a User MCP configuration for the whole machine.
Storing the token: VS Code supports input variables, so the token can be saved as a secret and never appear in the file.
Verifying the connection: From the Command Palette you can run MCP: List Servers or open the MCP configuration.
Create an MCP token and then return to VS Code. If you're not sure, choose Read only to test the connection before editing.
{
"inputs": [
{
"type": "promptString",
"id": "fineStructureToken",
"description": "Fine Structure MCP token",
"password": true
}
],
"servers": {
"fineStructure": {
"type": "http",
"url": "https://finestructure.ai/api/mcp",
"headers": {
"Authorization": "Bearer ${input:fineStructureToken}"
}
}
}
}Why this is good: The secret input helps you avoid storing tokens inside Git. This matters especially for teams or client projects.