by Silex Partners
Model Context Protocol ServerSPARK MCP is a Model Context Protocol server that gives AI assistants direct access to SPARK financial product data — structured products, managed portfolios, and their event histories — via a secure, standards-based interface.
Connect any MCP-compatible client (Claude Desktop, Cursor, Windsurf, etc.) and your AI assistant can instantly query live product data without any custom integration.
Obtain credentials
Use Silex SPARK's account to get your OAuth credentials for the MCP SPARK Server.
Configure your MCP client
Add the server URL to your client's MCP configuration. The server endpoint is
POST /mcp — most clients discover the rest automatically
via the /.well-known/ metadata endpoints.
Authenticate with OAuth 2.0
The server uses OAuth 2.0. Your client will be redirected
to complete the authorization flow. Once authenticated, your token is
automatically attached to every request.
Start querying
Ask your AI assistant natural-language questions about SPARK products. It will
automatically pick the right tool and fetch the data for you.
Your AI assistant has access to these five capabilities:
Try asking your AI assistant:
"Show me the first 10 structured products available in SPARK."
"What are the details for the product with ISIN XS1234567890?"
"List all the coupon events for product ISIN XS9876543210."
You are reading the agent-oriented documentation. This server implements the Model Context Protocol (MCP) over HTTP with OAuth 2.0 Bearer token authentication via Keycloak.
POST /mcp Content-Type: application/json Authorization: Bearer <token>
All MCP traffic (initialize, tools/list, tools/call) goes to this single endpoint.
Standard OAuth 2.0 protected resource discovery is available:
GET /.well-known/oauth-authorization-server GET /.well-known/openid-configuration GET /.well-known/oauth-protected-resource/mcp
To obtain a token, register a client at POST /oauth/register (dynamic client registration), then exchange credentials at POST /oauth/token (proxied to Keycloak).
GET /mcp/health → 200 { "status": "ok" }
Unauthorized requests receive 401 with a WWW-Authenticate header per RFC 9728. All tool responses follow the MCP protocol envelope — errors are returned as MCP error objects, not HTTP error codes.