{"id":23316,"library":"awslabs-aws-msk-mcp-server","title":"AWS Labs MSK MCP Server","description":"An AWS Labs Model Context Protocol (MCP) server for Amazon MSK (Managed Streaming for Apache Kafka). Provides tools for interacting with MSK clusters, topics, and consumer groups via the MCP interface. Current version: 0.0.17. Release cadence: early stage, irregular.","status":"active","version":"0.0.17","language":"python","source_language":"en","source_url":"https://github.com/awslabs/aws-msk-mcp-server","tags":["aws","msk","kafka","mcp","server"],"install":[{"cmd":"pip install awslabs-aws-msk-mcp-server","lang":"bash","label":"pip install"}],"dependencies":[{"reason":"MCP protocol implementation","package":"mcp","optional":false},{"reason":"AWS SDK for Python","package":"boto3","optional":false}],"imports":[{"note":"The main server class is named 'server' and is exposed as a module-level instance.","wrong":"from awslabs_aws_msk_mcp_server import MSKMCPServer","symbol":"MSKMCPServer","correct":"from awslabs_aws_msk_mcp_server import server"},{"note":"The ASGI app for MCP is exported as 'app'.","wrong":"","symbol":"app","correct":"from awslabs_aws_msk_mcp_server import app"}],"quickstart":{"code":"from awslabs_aws_msk_mcp_server import server, app\nimport asyncio\n\nasync def main():\n    # Configure with environment variables:\n    # AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, MSK_CLUSTER_ARN\n    # Run the server\n    await server.run()\n\nif __name__ == \"__main__\":\n    asyncio.run(main())","lang":"python","description":"Basic server startup. Requires AWS credentials and MSK cluster ARN via environment variables."},"warnings":[{"fix":"Change `app.run()` to `server.run()` and import `server` from the package.","message":"Version 0.0.17 renames the main entry point from `run` to `server.run`. Scripts using `app.run()` will break.","severity":"breaking","affected_versions":"<0.0.17"},{"fix":"Use underscores when importing: `from awslabs_aws_msk_mcp_server import ...`","message":"The package name uses hyphens (awslabs-aws-msk-mcp-server), but imports use underscores (awslabs_aws_msk_mcp_server). Common mistake: using hyphens in import statements.","severity":"gotcha","affected_versions":"all"},{"fix":"Use `from awslabs_aws_msk_mcp_server import server` and call `server.run()`.","message":"The `MSKMCPServer` class is deprecated in favor of module-level `server` object. Direct instantiation may be removed in future versions.","severity":"deprecated","affected_versions":">=0.0.15"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use underscores: `import awslabs_aws_msk_mcp_server`","cause":"Using hyphens in import statement instead of underscores.","error":"ModuleNotFoundError: No module named 'awslabs-aws-msk-mcp-server'"},{"fix":"Import the module-level `server` object instead: `from awslabs_aws_msk_mcp_server import server`","cause":"Trying to import a class that no longer exists (renamed/removed in recent version).","error":"AttributeError: module 'awslabs_aws_msk_mcp_server' has no attribute 'MSKMCPServer'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}