tines-mcp-server
Enables interaction with the Tines security automation platform, allowing management of stories, actions, credentials, and more via natural language.
README
Tines MCP Server
A Model Context Protocol (MCP) server for interacting with the Tines security automation platform.
Features
- Stories: List, create, update, delete, import/export stories
- Actions: Create, update, delete, and run actions within stories
- Credentials: Manage text and OAuth credentials
- Teams & Folders: Organize your Tines workspace
- Events: View story execution history
- Global Resources: Manage shared resources across stories
Security
- API tokens are stored in
.envfile (never committed to git) - All API calls use HTTPS
- Error messages are sanitized to prevent token leakage
- Input validation on all parameters
Setup
1. Clone the Repository
git clone https://github.com/YOUR_USERNAME/tines-mcp-server.git
cd tines-mcp-server
2. Install Dependencies
pip install -r requirements.txt
3. Configure Credentials
Copy the example environment file:
cp .env.example .env
Edit .env with your Tines credentials:
TINES_TENANT=your-company.tines.com
TINES_API_TOKEN=your-api-token-here
To get your API token:
- Log in to Tines
- Go to your Profile (top-right corner)
- Navigate to API Tokens
- Create a new token with appropriate permissions
- Copy the token immediately (it won't be shown again)
4. Configure Claude Desktop
Add this to your Claude Desktop config file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"tines": {
"command": "python",
"args": ["/path/to/tines-mcp-server/server.py"]
}
}
}
Note: Update the path to match your actual installation location.
5. Restart Claude Desktop
After configuring, restart Claude Desktop to load the MCP server.
Available Tools
Stories
| Tool | Description |
|---|---|
list_stories |
List all stories |
get_story |
Get story details |
create_story |
Create a new story |
update_story |
Update a story |
delete_story |
Delete a story |
export_story |
Export story as JSON |
import_story |
Import story from JSON |
Actions
| Tool | Description |
|---|---|
list_actions |
List actions in a story |
get_action |
Get action details |
create_action |
Create a new action |
update_action |
Update an action |
delete_action |
Delete an action |
run_action |
Manually trigger an action |
Credentials
| Tool | Description |
|---|---|
list_credentials |
List all credentials |
get_credential |
Get credential details |
create_text_credential |
Create a text credential |
create_oauth_credential |
Create an OAuth credential |
delete_credential |
Delete a credential |
Teams & Folders
| Tool | Description |
|---|---|
list_teams |
List all teams |
get_team |
Get team details |
list_folders |
List all folders |
get_folder |
Get folder details |
create_folder |
Create a new folder |
Events
| Tool | Description |
|---|---|
list_events |
List story events |
get_event |
Get event details |
Global Resources
| Tool | Description |
|---|---|
list_global_resources |
List all global resources |
get_global_resource |
Get resource details |
create_global_resource |
Create a resource |
update_global_resource |
Update a resource |
delete_global_resource |
Delete a resource |
Utilities
| Tool | Description |
|---|---|
list_action_types |
List available action types |
Drafts (Change Control)
For stories with Change Control enabled, use these tools to create, test, and publish changes safely:
| Tool | Description |
|---|---|
list_drafts |
List all drafts for a story |
get_draft |
Get draft details |
create_draft |
Create a new draft from live story |
delete_draft |
Discard a draft |
publish_draft |
Publish draft to live |
list_draft_actions |
List actions in a draft |
create_draft_action |
Add action to draft |
update_draft_action |
Update action in draft |
delete_draft_action |
Remove action from draft |
run_draft_action |
Test an action in draft |
Workflow for Change Control:
create_draft- Create a draft from the live storycreate_draft_action/update_draft_action- Make your changesrun_draft_action- Test your changespublish_draft- Push changes to live (ordelete_draftto discard)
Common Action Types
When creating actions, use these type strings:
| Type | Description |
|---|---|
Agents::HTTPRequestAgent |
Make HTTP requests |
Agents::EventTransformationAgent |
Transform event data |
Agents::TriggerAgent |
Scheduled trigger |
Agents::WebhookAgent |
Receive webhooks |
Agents::SendToStoryAgent |
Send data to another story |
Agents::EmailAgent |
Send emails |
Agents::IMAPAgent |
Receive emails |
Agents::JavaScriptAgent |
Run JavaScript code |
Agents::PythonAgent |
Run Python code |
Example Usage
Once configured, you can ask Claude to:
- "List all my Tines stories"
- "Create a new story called 'Phishing Response'"
- "Add an HTTP Request action to story ID 123"
- "Show me the events for story 456"
- "Export story 789 so I can back it up"
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.