Sebedisa Glazecalc ho tswa ho mothusi wa hao wa AI
Bathusi ba AI jwaloka Claude, GitHub Copilot, Cursor le Gemini ba ka sebedisa dipalo tsa Glazecalc ka kotloloho, ka Model Context Protocol (MCP).
Seo e ka se etsang
Ntle le akhaonto, mothusi a ka batla metswako ka hara laeborari, a bala unity formula ya recipe, a e lekola kgahlanong le meedi bakeng sa ho tjhesa ha yona, a sisinya tse nkelang sebaka bakeng sa metswako e emisitsweng, a etsa recipe botjha ho tswa metswakong eo o e bolelang, a fetola pakeng tsa di-cone le motjheso, mme a batla le ho bala ditataiso. Ha ho letho leo a le romelang le bolokwang; jwaloka bakeng sa leqephe le leng le le leng, rekoto ya web server e rekota aterese ya IP ya kopo e nngwe le e nngwe, nako le aterese (le ka mohla eseng se rometsweng), matsatsi a 14.
A ka boela a etsa recipe bakeng sa unity formula kapa oxide analysis eo o e fang yona, ho tswa metswakong eo o e bolelang, mme a bolela hore na e atamela haufi hakae, oxide ka oxide. Ka akhaonto ya hao e hokahantswe, a ka sebedisa metswako eo o nang le yona matsohong.
Ditlhahlobo tsa meedi ke ditemoso ho tswa meeding e phatlaladitsweng, tse tshwanang le ka hara app, eseng bopaki ba hore glaze e bolokehile bakeng sa dijo. Leka glaze e nngwe le e nngwe ka ho e tjhesa, mme o ise di-glaze tsa dibaka tsa dijo hore di lekwe bakeng sa ho qhibidiha ha tshepe (leaching).
Ho e dumella ho fetola direkoto tsa hao
Token e entsweng ho "Ho bala le ho fetola" e boetse e dumella mothusi wa hao ho boloka recipe eo a e badileng le wena, ka Glazecalc e bala unity formula ya yona, ho fetola e nngwe ya di-recipe tsa hao kapa metswako, ho eketsa bukeng ya hao, ho tshwaya metswako e le teng matsohong, le ho isa rekoto ho Tse lahlilweng. Ha e hlakole letho ka ho sa feleng le ka mohla: eng kapa eng eo e e isang ho Tse lahlilweng e ka kgutliswa matsatsi a 30, mme phetoho e nngwe le e nngwe e boloka rekoto jwaloka ha e ne e le, hore o kgone ho e etsolla webosaeteng. Seo token e nngwe le e nngwe e se entseng se boloketswe wena, leqepheng la Di-app tse hokahantsweng le ho Khoasolla dintlha tsa ka.
Etsa token e ka fetolang direkoto tsa hao feela bakeng sa mothusi kapa script eo o e tshepang, mme o e kope ho bolela seo e tla se fetola pele e etsa jwalo. E fe nako e kgutshwane ka ho fetisisa e tla sebetsa (token e jwalo e nka boholo ba matsatsi a 90), boloka token ya ho bala feela bakeng sa tsohle tse ding, mme o e hlakole hang ha mosebetsi o fedile. Khoasolla dintlha tsa hao ho tswa leqepheng la akhaonto ya hao pele haeba o batla kopi jwaloka ha e le.
Ho hokahanya akhaonto ya hao
Ho na le ditsela tse pedi tsa ho dumella mothusi ho fihlella direkoto tsa hao ka bowena. Ka bobedi di qala e le tsa ho bala feela.
Aterese
Fa mothusi wa hao aterese ena, o sebedisa Streamable HTTP transport:
http://localhost/mcpHo kenya Glazecalc ho mothusi wa hao
Claude Code
Ka hara terminal:
claude mcp add --transport http glazecalc http://localhost/mcpKa access token, ho bala direkoto tsa hao ka bowena le tsona:
claude mcp add --transport http glazecalc http://localhost/mcp \
--header "Authorization: Bearer YOUR_TOKEN"VS Code
Ka hara .vscode/mcp.json ka foldareng, kapa ditlhophisong tsa hao tsa mosebedisi. VS Code e kopa token hang mme e e boloka e patilwe; siya headers le inputs ka ntle ho sebedisa feela disebediswa tse sa hlokeng akhaonto:
{
"servers": {
"glazecalc": {
"type": "http",
"url": "http://localhost/mcp",
"headers": {
"Authorization": "Bearer ${input:glazecalc-token}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "glazecalc-token",
"description": "Glazecalc access token",
"password": true
}
]
}Cursor
Ka hara ~/.cursor/mcp.json, kapa .cursor/mcp.json ka projekeng. Siya headers ka ntle ho sebedisa feela disebediswa tse sa hlokeng akhaonto:
{
"mcpServers": {
"glazecalc": {
"url": "http://localhost/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}Gemini CLI
Ka hara ~/.gemini/settings.json. Siya headers ka ntle ho sebedisa feela disebediswa tse sa hlokeng akhaonto:
{
"mcpServers": {
"glazecalc": {
"httpUrl": "http://localhost/mcp",
"headers": {
"Authorization": "Bearer YOUR_TOKEN"
}
}
}
}Claude, ChatGPT le di-app tse ding
Kenya custom connector ka aterese e ka hodimo. Ha app e botsa, kena ho Glazecalc mme o kgethe seo e ka se etsang, jwaloka ha ho hlalositswe ka hodimo.
Bolella dintlha tsa hao tsa studio
Kenya bokgoni ba Glazecalc studio notes ho app ya hao ya AI ka boyona, ebe o bua kapa o tlanya ha o ntse o sebetsa. E fetola seo o se buang ho ba di-recipe, direkoto tsa ho tjhesa, diphetho tsa di-test tile le dintlha, e o balla e nngwe le e nngwe morao, mme e e boloka akhaontong ya hao feela ha o re ee. Lentswe ke la app ya hao ka boyona: Glazecalc ha e le utlwe le ka mohla.
E hloka hore Glazecalc e hokahangwe ka "Hape e dumelle ho fetola direkoto tsa ka" e tshwailweng, kapa token e ka "Ho bala le ho fetola". Haeba o kgethile ho Di-app tse hokahantsweng ho dumella diphetoho, ho boloka ho hong le ho hong ho emela tumello ya hao moo le teng.
Claude (webo le desktop): bulela code execution ditlhophisong, ebe ho Customize, Skills, kgetha +, Create skill, Upload a skill, mme o kgethe ZIP. Kenya Glazecalc e le connector le yona. Claude Code: e ntshe ka hara ~/.claude/skills/, mme o kenye Glazecalc jwaloka ha ho bontshitswe ka hodimo. ChatGPT, moo moralo wa hao o fanang ka bokgoni: kenya ZIP e le skill, mme o kenye Glazecalc e le app.
Ho bathusi ba bang, kgetha prompt ya Glazecalc "Dictate studio notes": e tshwere ditaelo tse tshwanang.
Ho emisa phihlello
Aterese e nngwe le e nngwe e ka etsa dikopo tse 60 ka motsotso le 2,000 ka letsatsi; akhaonto e sebedisang token, 300 ka motsotso le 20,000 ka letsatsi. Ho nkela sebaka le ho tshwantsha di lekanyeditswe ho 10 ka motsotso. Diphetoho tse entsweng ka di-token di lekanyeditswe ho 60 ka motsotso le 5,000 ka letsatsi bakeng sa akhaonto e nngwe le e nngwe, mme token e nngwe le e nngwe e ka isa direkoto tse 100 ka hora ho Tse lahlilweng.