The Amazon VPC Lattice MCP Server allows you to discover documentation and manage VPC Lattice resources through several key functions:
- List available documentation sources with their URLs and sample prompts
- Retrieve sample prompts for specific sources
- Access predefined VPC Lattice prompt templates and their details
- Execute AWS CLI commands to manage VPC Lattice resources including Service Networks, Services, Listeners, Rules, Target Groups, Targets, and resource tags
- Handle complex AWS configurations including boolean flags, arrays, and AWS profiles/region settings
Provides access to the AWS Gateway API Controller for VPC Lattice repository on GitHub, allowing users to retrieve source information and prompts related to this project.
Enables access to Kubernetes Gateway API documentation and resources, providing source information and sample prompts for working with VPC Lattice in Kubernetes environments.
Amazon VPC Lattice MCP Server
A Model Context Protocol (MCP) server for source listing, providing tools for accessing and managing AWS VPC Lattice resources and related documentation.
Features
The server provides five main tools:
list_sources
: Lists all available sources with their URLs and sample promptsget_source_prompts
: Gets sample prompts for a specific sourcelist_amazon_vpc_lattice_prompts
: Lists all available prompt templatesget_amazon_vpc_lattice_prompts
: Gets details of a specific prompt templatevpc_lattice_cli
: Execute AWS CLI VPC Lattice commands for managing VPC Lattice resources
Installation
This project is built with TypeScript and uses ES modules. Note that installing github-mcp-server is also strongly recommended to assist with development prompts.
- Clone the repository:
- Install dependencies:
- Build the server:
The build script will compile the TypeScript code and set the appropriate executable permissions.
Configuration
Add the server to your MCP settings file (located at ~/Library/Application Support/Code/User/globalStorage/asbx.amzn-cline/settings/cline_mcp_settings.json
):
Usage
Once configured, you can use the MCP tools in your conversations. Note that you should use list_amazon_vpc_lattice_prompts
to discover available prompts as these are not automatically discoverable like tools.
List Sources
Get Source Prompts
List Amazon VPC Lattice Prompts
Get Amazon VPC Lattice Prompt Details
VPC Lattice CLI
The vpc_lattice_cli
tool provides a programmatic interface to AWS VPC Lattice operations through the AWS CLI.
Features
- Supports all major VPC Lattice CLI operations
- Accepts command arguments as JavaScript objects
- Automatically converts camelCase parameters to CLI-style kebab-case
- Handles boolean flags, arrays, and complex values
- Supports AWS profiles and region configuration
- Returns parsed JSON responses
Available Commands
- Service Network: create-service-network, delete-service-network, get-service-network, list-service-networks, update-service-network
- Service: create-service, delete-service, get-service, list-services, update-service
- Listener: create-listener, delete-listener, get-listener, list-listeners, update-listener
- Rule: create-rule, delete-rule, get-rule, list-rules, update-rule
- Target Group: create-target-group, delete-target-group, get-target-group, list-target-groups, update-target-group
- Target Management: register-targets, deregister-targets, list-targets
- Resource Tags: list-tags-for-resource, tag-resource, untag-resource
Examples
List service networks:
Create a service network:
Create a service with tags:
Create a target group:
Available Sources
The server includes these sources:
- AWS Documentation (docs.aws.amazon.com)
- Key features queries
- Configuration guidance
- Best practices
- AWS Gateway API Controller for VPC Lattice (aws/aws-application-networking-k8s)
- Feature support queries
- Issue tracking
- Kubernetes Gateway API (gateway-api.sigs.k8s.io)
- Error resolution
- Best practices guidance
Development
Project Structure
The project is organized as follows:
src/index.ts
: Main server setup and initializationsrc/tools.ts
: Tool definitions and handlerssrc/data/
: Data filesprompts.ts
: Prompt templates and parameterssources.ts
: Source definitions and their prompts
package.json
: Project configuration and dependenciestsconfig.json
: TypeScript configuration.gitignore
: Git ignore rulesbuild/
: Compiled JavaScript output
Adding New Sources
To add new sources, modify the sources
array in src/data/sources.ts
:
Adding New Prompts
To add new prompt templates, modify the prompts
array in src/data/prompts.ts
:
Scripts
npm run build
: Build the server and set executable permissionsnpm run watch
: Watch mode for developmentnpm test
: Run tests (currently not implemented)
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol server that provides tools for accessing and managing AWS VPC Lattice information, allowing users to list sources and retrieve sample prompts related to AWS networking documentation.
Related MCP Servers
- -securityFlicense-qualityProvides a scalable, containerized infrastructure for deploying and managing Model Context Protocol servers with monitoring, high availability, and secure configurations.Last updated -
- -securityFlicense-qualityA Model Context Protocol server that integrates with AWS CodePipeline, allowing users to manage pipelines through Windsurf and Cascade using natural language commands.Last updated -4TypeScript
- -securityFlicense-qualityA Model Context Protocol server allowing Claude AI to interact with AWS resources through natural language, enabling users to query and manage AWS services without using the traditional AWS Console or CLI.Last updated -TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol server that fetches up-to-date, version-specific documentation and code examples from libraries directly into LLM prompts, helping developers get accurate answers without outdated or hallucinated information.Last updated -2121,11312,861JavaScriptMIT License