@mystrika/local-mcp
v0.1.2
Published
A local MCP [Model Context Protocol](https://modelcontextprotocol.io/) server for [Mystrika](https://mystrika.com)'s existing protected `/api/v1` user API. It works with MCP-compatible coding, AI assistants and agent clients.
Readme
Mystrika local MCP server
A local MCP Model Context Protocol server for Mystrika's existing protected /api/v1 user API. It works with MCP-compatible coding, AI assistants and agent clients.
It forwards the user's existing Access Token to Mystrika. It does not create tokens, use OAuth, expose internal routes, add pagination, or retry requests.
Requirements
- Node.js 20+
- A Mystrika API Access Token
Configuration
| Variable | Required | Description |
| --- | --- |------------------------------------------------------------------------------------------|
| MYSTRIKA_API_URL | Yes | Absolute API base URL ending in /api/v1, for example https://app.mystrika.com/api/v1 |
| MYSTRIKA_API_TOKEN | Yes | Your Mystrika API Access Token |
The server sends the token only as Authorization: Bearer … to the configured Mystrika API URL. Do not put either value in source control.
Claude Code configuration
Add this to the relevant mcpServers section in your Claude Code settings (.claude/settings.json):
{
"mcpServers": {
"mystrika": {
"command": "npx",
"args": ["-y", "@mystrika/local-mcp"],
"env": {
"MYSTRIKA_API_URL": "https://api.mystrika.com/api/v1",
"MYSTRIKA_API_TOKEN": "your-access-token"
}
}
}
}Guidance
The server exposes two MCP prompts that compatible clients show in their prompts UI: new_account_guide walks through email warmup, the manual campaign-creation step, activation, and replies; recommended_resources lists Mystrika's recommended infrastructure, verification service, learning, community, and API documentation.
Safety
The server marks these operations as destructive MCP tools:
prospect_deleteemail_deleteemail_remove_tracking_domainunibox_send(including scheduled sends)
MCP clients may ask for confirmation before invoking them.
unibox_send.scheduled_timestamp is a Unix timestamp in milliseconds and must fall between one hour and 22 days from now.
Current API behavior
The server preserves the current API behavior.
It allows users to :
- directly interact with sending email ids for addition, pause, update, deletion and analytics.
- prospect/leads lifecycle management
- campaign management
- task management
- universal inbox management
- task management
- detailed campaign analytics management and more
For users to access mcp server
Get API token from https://my.mystrika.com/api
