Can I create an Agent & still use MCP SQLcl Server? Yes!

This is just a quick and dirty post to answer a question I’ve been receiving lately. “Hey, instead of using Copilot, or Claude, or Windsurf, or Klein, or…can we create our own agent?”

YES, yes, you can.

Proof that any fool (me, not you dear reader!) can code an AI Agent, and connect it to their Oracle AI Database via our MCP Server, Oracle SQLcl –

MCP SQLcl Server Logs – conveniently stored in your database

With not too much python code, I can get a chat prompt that allows me to ask natural language questions to interact with my Oracle database.

Party

Prefer Java? Then you can follow Anders’ example complete with code!

Anders is a developer advocate at Oracle. He is a ‘real developer’ – you can believe that his code is much more enterprise ready than mine!

Click on the image to read the blog post. Click here to go directly to the source code.

Neither Anders nor I did a local LLM. In my python project, I use the Claude Console API key to access and use their Claude Sonnet 4 model. Anders uses OpenAI’s gpt-40-mini model.

If you are building your own AI Agent, you will probably WANT to run your LLM locally – this will ensure your data doesn’t leave your environment. Remember, MCP doesn’t care what model or agency you use…

I won’t show my code yet

I put it together in under an hour, and it wasn’t brilliant.

However, here are my system commands –

Party

My python get_schema_info method uses hard-coded SQL statements to get information about the schema, NOT using the new schema information MCP tool. That will be my next step to get this code, shareable.

This is my mcp server configuration –

JSON

So yes, it’s local, it will work fine with my local python agent running in my terminal.

Testing my MCP Server

Here’s a python stub to see if I can see/access the MCP Server –

python

And running my test program: voila!

Party

Looking for more content on how to complete tasks with our MCP Server?

See Chris’ post on blogs.oracle.com –

Berita Terkini

Berita Terbaru

Daftar Terbaru

News

Berita Terbaru

Flash News

RuangJP

Pemilu

Berita Terkini

Prediksi Bola

Togel Deposit Pulsa

Technology

Otomotif

Berita Terbaru

Daftar Judi Slot Online Terpercaya

Slot yang lagi gacor

Teknologi

Berita terkini

Berita Pemilu

Berita Teknologi

Hiburan

master Slote

Berita Terkini

Pendidikan

Resep

Jasa Backlink

One Piece Terbaru