### Custom Port Configuration for Astro MCP Server Source: https://tryastro.app/docs/mcp This example shows how to update the URL for the Astro MCP server if a custom port has been configured in Astro's settings. Replace PORT with your chosen port number. ```plaintext http://127.0.0.1:PORT/mcp ``` -------------------------------- ### Verify Astro MCP Server in Claude Source: https://tryastro.app/docs/mcp This command lists all configured MCP servers in Claude, allowing you to verify that the Astro MCP server has been successfully added. ```shell claude mcp list ``` -------------------------------- ### Configure VS Code for Astro MCP Server (File) Source: https://tryastro.app/docs/mcp This configuration enables VS Code to connect to the Astro MCP server by defining the server's type and URL in a JSON file. This can be set globally or per project. ```json { "servers": { "astro": { "type": "http", "url": "http://127.0.0.1:8089/mcp" } } } ``` -------------------------------- ### Configure VS Code for Astro MCP Server (Settings) Source: https://tryastro.app/docs/mcp This configuration allows VS Code to connect to the Astro MCP server by adding server details to the VS Code settings.json file. It specifies the server type and URL. ```json { "mcp.servers": { "astro": { "type": "http", "url": "http://127.0.0.1:8089/mcp" } } } ``` -------------------------------- ### Configure Claude for Astro MCP Server (File) Source: https://tryastro.app/docs/mcp This configuration adds the Astro MCP server to Claude's settings via a JSON file. It specifies the transport type and the server URL. ```json { "mcpServers": { "astro": { "transport": { "type": "http", "url": "http://127.0.0.1:8089/mcp" } } } } ``` -------------------------------- ### Add Astro MCP Server via Claude CLI Source: https://tryastro.app/docs/mcp This command adds the Astro MCP server to Claude's configuration using the HTTP transport protocol. It requires the server name and its URL. ```shell claude mcp add --transport http astro http://127.0.0.1:8089/mcp ``` -------------------------------- ### Configure Cursor for Astro MCP Server Source: https://tryastro.app/docs/mcp This configuration allows Cursor to connect to the Astro MCP server. It specifies the server's URL, which is typically localhost on port 8089. Ensure the port matches your Astro settings. ```json { "mcpServers": { "astro": { "url": "http://127.0.0.1:8089/mcp" } } } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.