Skip to main content
Glama

Kobold MCP Server

kobold_token_count

Measure the token count of text for accurate processing and compatibility with KoboldAI MCP Server, ensuring efficient integration with text generation workflows.

Instructions

Count tokens in text

Input Schema

NameRequiredDescriptionDefault
apiUrlNohttp://localhost:5001
textYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "apiUrl": { "default": "http://localhost:5001", "type": "string" }, "text": { "type": "string" } }, "required": [ "text" ], "type": "object" }

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/PhialsBasement/KoboldCPP-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server