kompa-mcp-server
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., "@kompa-mcp-serverWhat's the sentiment trend for 'summer campaign' over the last 7 days?"
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.
kompa-mcp-server
MCP (Model Context Protocol) server that exposes Kompa social-listening data — buzzes, sentiment breakdown, trendline, hot topics, unique authors — as tools any MCP client can call. Built so you can chat about Kompa data directly inside Claude (Desktop or Code) instead of a standalone chat UI.
This package is independent from the kompa-chat Next.js app — it only
reuses the same Kompa GraphQL API and login flow, ported into a plain MCP
server. It ships two entrypoints:
build/index.js— stdio transport, for local MCP clients that spawn a child process (Claude Desktop/Code via local config).build/http.js— Streamable HTTP transport, multi-tenant: one hosted connector URL can serve many customers. SeeDEPLOY.mdfor the full VPS deploy guide (systemd + Caddy + onboarding a customer).
Account & topic config
There's no separate API-key system. Each customer already has a Kompa username/password — that's what they use here too, via a tool call:
configure_account({ username, password, topicIds: ["topic-id-1", ...] })Call it once at the start of a conversation (Claude will do this
automatically once you mention your credentials/topics, or you can ask it
to explicitly). Every other tool then reuses that account and topic_ids
until you call configure_account again — no need to repeat them on
every call, though you can still pass topicIds per-call to override.
This exists instead of header-based auth because Claude's custom request
headers for connectors are currently a gated beta rollout — see the
"Auth model" note in DEPLOY.md.
For the stdio entrypoint, you can skip the tool call entirely by setting
KOMPA_USERNAME/KOMPA_PASSWORD/KOMPA_DEFAULT_INDEXES env vars — the
account is pre-configured at startup in that case.
Tools
Tool | Description |
| Set username/password/topicIds for the rest of the conversation |
| Enum values accepted by |
| Paginated raw buzz search with filters |
| Time-bucketed volume by sentiment (trendline) |
| Total count grouped by sentiment |
| Volume grouped by channel, nested by sentiment |
| Top discussion threads ranked by volume |
| Distinct author/profile count |
All data tools accept fromDate/toDate ("YYYY-MM-DD HH:mm:ss"),
optional types, query, sentiments, and optional topicIds (falls
back to the topicIds set via configure_account).
Setup
npm install
npm run buildCopy .env.example for reference (only relevant to the stdio entrypoint
— see above).
Using it standalone (before publishing)
Point any MCP client at the built entry file directly:
{
"mcpServers": {
"kompa": {
"command": "node",
"args": ["/absolute/path/to/kompa-mcp-server/build/index.js"]
}
}
}Claude Desktop: put this block in
claude_desktop_config.json(Settings → Developer → Edit Config).Claude Code: put the same
mcpServersblock in a.mcp.jsonat your project root, or run:claude mcp add kompa -- node /absolute/path/to/kompa-mcp-server/build/index.js
Restart the client after editing config, then in chat say something like
"My Kompa account is X/Y, topic ID Z — what's the sentiment breakdown
for query 'foo' between 2026-08-01 and 2026-08-21?" — Claude calls
configure_account then the data tool.
Publishing to npm
So users can install via npx kompa-mcp-server instead of a local path:
npm login
npm publish --access publicThen the MCP config becomes:
{
"mcpServers": {
"kompa": {
"command": "npx",
"args": ["-y", "kompa-mcp-server"]
}
}
}Publishing to a Claude Code plugin marketplace
Both Claude Code and, for Team/Enterprise orgs, claude.ai itself can add a
plugin marketplace directly from a git repo — no npm publish needed here,
since marketplace-example/plugins/kompa-mcp/.claude-plugin/plugin.json
points at your hosted HTTP connector (see DEPLOY.md), not a local
package. Layout:
marketplace-example/
├── .claude-plugin/
│ └── marketplace.json
└── plugins/
└── kompa-mcp/
└── .claude-plugin/
└── plugin.json # edit the connector URL in here firstAs maintainer:
Edit the
urlinmarketplace-example/plugins/kompa-mcp/.claude-plugin/plugin.jsonto your real deployed domain (https://mcp.yourdomain.com/mcp).Push a repo containing the
marketplace-example/layout (rename the folder to whatever you want the repo root to be) to GitHub — public, or private if only your org needs it (private requires everyone installing to have repo access via their GitHub/git credentials).Share the repo URL.
As a Claude Code user installing it:
/plugin marketplace add https://github.com/<you>/<marketplace-repo>
/plugin install kompa-mcp-plugin@<marketplace-name>As a claude.ai Team/Enterprise org (no CLI, GUI only):
Org owner: Organization settings → Connectors/Plugins → Add plugin marketplace → "Add from a repository" → paste the same GitHub URL.
Members: Customize → Plugins, find
kompa-mcp-pluginlisted from your marketplace, click install/connect.
For individual Free/Pro/Max accounts with no org, this repo-based
marketplace path isn't available — use the zip-upload flow in
PLUGIN.md instead.
Notes / limitations
Login uses the same username+password flow as
kompa-chat'sauth.ts— no OAuth, no browser automation.The access token is cached in-process per username and refreshed 5 minutes before expiry.
topicIdsmust be valid Kompa project index IDs the account has access to — this server does not discover or list them for you.In HTTP mode, account/topic config lives only in that MCP session's memory — closing the conversation/session drops it, and the next session must call
configure_accountagain.
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.
Related MCP Connectors
Social media analytics, video analysis, and competitor intel for any MCP-compatible AI agent.
Cross-platform social media intelligence. Trend volume and growth signals. Free key at trendsmcp.ai
Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/khoadong07/claude-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server