Skip to main content

Toolkit API Overview

The Informer Toolkit API provides endpoints for managing AI toolkits that extend assistant capabilities through external tools and integrations. All routes are prefixed with /api.

Features

  • CRUD Operations - Create, read, update, and delete toolkits
  • Tool Management - Add and configure individual tools
  • MCP Integration - Model Context Protocol support for remote tools
  • Discovery - Automatic tool discovery from MCP servers
  • Configuration Parsing - Normalize various MCP config formats
  • Chat Associations - Enable/disable toolkits for specific chats
  • Drivers & Templates - Toolkit type management
  • Sharing - Control access with team-based permissions

Toolkit Types

TypeDescription
mcp-stdioMCP server running as local subprocess
mcp-remoteMCP server accessed via HTTP/SSE
informerBuilt-in Informer tools
customCustom user-defined tools

Authentication

All Toolkit API endpoints require:

  • Valid session or API token
  • AI entitlement verification (for most operations)
  • Write permission for modification operations

Common Permission Patterns

OperationPermission Required
Createtoolkits:create
ReadAI seat (read access implicit)
Updatetoolkit:write
Deletetoolkit:delete
Sharetoolkit:share

Model Context Protocol (MCP)

MCP is a standard protocol for connecting AI assistants to external tools and data sources.

MCP Server Types

  • stdio - Local process communication via stdin/stdout
  • remote - HTTP/SSE-based remote servers
  • sse - Server-Sent Events for streaming

Configuration Formats

The toolkit API normalizes various MCP configuration formats:

{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/dir"]
}
}
}

Tool Discovery

For MCP toolkits, tools can be automatically discovered:

  1. Parse Config - Normalize MCP server configuration
  2. Discover Tools - Query MCP server for available tools
  3. Store Tools - Save discovered tools to toolkit

Chat Integration

Toolkits can be enabled for specific chats:

  • Chat-Toolkit Association - Link toolkit to chat
  • Tool Availability - Tools from enabled toolkits are available in chat
  • Dynamic Enabling - Toggle toolkits on/off per chat

Error Responses

Standard HTTP status codes:

  • 200 - Success
  • 201 - Created
  • 400 - Bad request (validation error)
  • 403 - Forbidden (insufficient permissions)
  • 404 - Resource not found
  • 500 - Internal server error

Next Steps

Explore the specific endpoint categories: