solace-admin-read-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@solace-admin-read-mcpWhich queues have messages backed up?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
solace-admin-read-mcp
Read-only MCP server for Solace PubSub+ brokers and Event Portal. Give Claude direct access to your queue depths, client connections, VPN stats, event schemas, and more.
What you can ask Claude
Once connected, try prompts like:
"List all queues and tell me which ones have messages backed up"
"What topics are routed to the
orders.fulfillmentqueue?""Who is connected to the broker right now?"
"Show me all events in the Payments domain and their schemas"
"What does the OrderCreated schema look like?"
Claude will call the right tools, combine results across SEMP and Event Portal, and give you a coherent answer.
Related MCP server: mssql-mcp
Available Tools
Broker Tools (SEMP v2)
All broker tools accept optional vpn and select parameters. Use select to return only specific fields and keep Claude's context lean (e.g. select: "queueName,spooledMsgCount").
Tool | What it returns |
| Every queue with its config: access type, max spool, owner, ingress/egress state |
| Live stats for one queue: spool depth, consumer count, message rates, byte counts |
| Topic subscriptions attached to a queue — essential for understanding message routing |
| Currently connected clients: name, username, IP, software version, uptime |
| Aggregate VPN health: total message counts, spool usage, connection counts |
| All topic endpoints and their configuration |
Event Portal Tools
Registered only when SOLACE_CLOUD_TOKEN is configured. All list tools accept optional domainId for filtering.
Tool | What it returns |
| All domains — the top-level grouping; use domain IDs to filter other tools |
| Modeled applications that produce/consume events |
| Deep dive into a version: produced events, consumed events, consumers |
| Design-time events (message types) with name, topic address, schema refs |
| Schema catalog (JSON Schema, Avro, Protobuf) with name and version info |
| The actual schema content for a specific version |
| Event API Products bundled for the developer portal |
Transport Modes
Mode | Use case | Auth |
| Local use with Claude Desktop or Claude Code | Process isolation, no network |
| Remote, shared, or containerized deployments | Bearer API key, per-request validation |
The HTTP transport implements the current MCP specification's Streamable HTTP protocol (not deprecated SSE).
Quick Start
Prerequisites
Node.js 20+
A Solace PubSub+ broker (Cloud or self-hosted)
A Solace Cloud token (optional, for Event Portal tools)
1. Install
git clone https://github.com/solacese/solace-admin-read-mcp.git
cd solace-admin-read-mcp
npm install
npm run build2. Configure
cp .env.example .env
# Edit .env with your credentials (see "Getting Credentials" below)3. Register with Claude
Claude Desktop (stdio):
Add to your claude_desktop_config.json (location by OS):
{
"mcpServers": {
"solace-admin": {
"command": "node",
"args": ["/absolute/path/to/solace-admin-read-mcp/dist/server.js"],
"env": {
"TRANSPORT": "stdio",
"SEMP_BASE_URL": "https://your-broker:943/SEMP/v2",
"SEMP_USERNAME": "readonly-semp-user",
"SEMP_PASSWORD": "your-password",
"SOLACE_VPN": "default",
"SOLACE_CLOUD_TOKEN": "your-token"
}
}
}
}Claude Code CLI:
claude mcp add solace-admin \
-e TRANSPORT=stdio \
-e SEMP_BASE_URL=https://your-broker:943/SEMP/v2 \
-e SEMP_USERNAME=readonly-semp-user \
-e SEMP_PASSWORD=your-password \
-e SOLACE_VPN=default \
-e SOLACE_CLOUD_TOKEN=your-token \
-- node /absolute/path/to/solace-admin-read-mcp/dist/server.jsHTTP mode (remote):
# Start the server
TRANSPORT=http MCP_API_KEY=<your-key> npm start{
"mcpServers": {
"solace-admin": {
"url": "http://localhost:3000/mcp",
"headers": {
"Authorization": "Bearer YOUR_MCP_API_KEY"
}
}
}
}Getting Credentials
SEMP v2 (Broker)
SEMP v2 is the broker's REST management API using HTTP Basic Auth.
Solace Cloud:
console.solace.cloud -> your service -> Connect tab
Expand Management credentials -> copy username, password, and host
Your
SEMP_BASE_URLishttps://<management-host>/SEMP/v2
Tip: Create a dedicated read-only user under Manage -> Access Control -> Management Users -> set authorization to Read Only.
Self-hosted:
Default URL:
http://localhost:8080/SEMP/v2orhttps://localhost:943/SEMP/v2Create a read-only user:
solace(configure)# create management-user readonly-user password <pw> solace(configure)# management-user readonly-user authorization read-only
Verify:
curl -u USER:PASS "https://your-broker:943/SEMP/v2/monitor/msgVpns/default" | jq .data.msgVpnNameEvent Portal Token (optional)
console.solace.cloud -> profile icon -> Token Management
Generate Token -> enable Event Portal Read permission
Copy immediately (shown once)
Verify:
curl -H "Authorization: Bearer YOUR_TOKEN" \
"https://api.solace.cloud/api/v2/architecture/applicationDomains" | jq '.data | length'If you skip this, the server starts without Event Portal tools and logs a clear message.
Configuration Reference
Variable | Required | Default | Description |
| No |
|
|
| Yes | -- | Broker SEMP v2 URL (e.g. |
| Yes | -- | SEMP management username |
| Yes | -- | SEMP management password |
| Yes | -- | Default message VPN name |
| No | -- | Event Portal API token (omit to disable EP tools) |
| No |
| HTTP listen port (http mode only) |
| No |
| HTTP bind address (http mode only) |
| http mode | -- | Bearer token for HTTP auth (min 32 chars) |
| No | -- | Comma-separated CORS origins (supports wildcards) |
Generate MCP_API_KEY:
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"Security
stdio mode
No network exposure. Communication is over stdin/stdout within the Claude process. No auth layer to misconfigure.
HTTP mode
Per-request Bearer token on every POST/GET/DELETE to
/mcpOrigin validation against
ALLOWED_ORIGINS(DNS rebinding protection)Rate limiting — 60 req/IP per 15 min via
express-rate-limitSecurity headers —
helmet(X-Frame-Options, HSTS, CSP, etc.)Session TTL — idle sessions are cleaned up after 30 minutes
No credential logging — Authorization headers are stripped by axios interceptors
Sanitized errors — no stack traces or internal paths in tool responses
localhost only by default — bind to
0.0.0.0only behind a TLS reverse proxy
Read-only by design
This server only calls GET endpoints. No queues are created, modified, or deleted. No messages are published. The SEMP user should be read-only to enforce this at the broker level too.
Development
npm run dev # stdio mode
npm run dev:http # HTTP modeTest with the MCP inspector:
npx @modelcontextprotocol/inspector http://localhost:3000/mcpConfig File Locations
OS | Path |
macOS |
|
Windows |
|
Linux |
|
Troubleshooting
Error | Cause | Fix |
| Env vars not passed to the process | Pass via |
SEMP 401 | Wrong username/password | Use Management credentials (not messaging) |
SEMP 403 | User lacks read permission | Set authorization to |
EP 401 | Token expired or incomplete | Regenerate in Token Management |
EP 403 | Missing Event Portal Read scope | Regenerate with that scope enabled |
| Key too short or missing | Generate with |
No tools in Claude Desktop | Config not reloaded | Restart Claude Desktop; validate JSON syntax |
| Not built | Run |
HTTP 429 | Rate limit hit | Wait 15 min or increase |
CORS rejection | Origin not in allowlist | Add to |
|
| Expected if you only need broker tools |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/solacese/solace-admin-read-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server